Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for messageBuilderFactory (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

     */
    @Singleton
    @Named("init")
    public class Init extends GoalSupport {
        private static final String NONE = "__none__";
    
        @Inject
        public Init(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger) {
            this(messageBuilderFactory, logger, -1);
        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger, int terminalWidth) {
            this.logger = Objects.requireNonNull(logger, "logger cannot be null");
            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            // default width
            new ExecutionEventLogger(messageBuilderFactory, logger, -1).projectStarted(event);
            Mockito.verify(logger).info("----------------------------[ maven-plugin ]----------------------------");
    
            // terminal width: 30
            new ExecutionEventLogger(messageBuilderFactory, logger, 30).projectStarted(event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @param messageBuilderFactory the factory for creating message builders
         * @return a new Builder instance
         */
        @Nonnull
        static Builder mvn(
                @Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory) {
            return mvn(Arrays.asList(args), logger, messageBuilderFactory);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    bind(ILoggerFactory.class).toInstance(context.loggerFactory);
                    bind(CoreExports.class).toInstance(exports);
                    bind(MessageBuilderFactory.class).toInstance(context.invokerRequest.messageBuilderFactory());
                }
            };
        }
    
        protected LoggerManager createLoggerManager() {
            return new Slf4jLoggerManager();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                return null;
            }
        }
    
        protected ExecutionListener determineExecutionListener(C context) {
            ExecutionListener listener = new ExecutionEventLogger(context.invokerRequest.messageBuilderFactory());
            if (context.eventSpyDispatcher != null) {
                listener = context.eventSpyDispatcher.chainListener(listener);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            } else if (context.interactive && !logFile) {
                return new SimplexTransferListener(new ConsoleMavenTransferListener(
                        context.invokerRequest.messageBuilderFactory(),
                        context.terminal.writer(),
                        context.invokerRequest.options().verbose().orElse(false)));
            } else {
                return new Slf4jMavenTransferListener();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top