Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for messageBuilderFactory (0.2 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

        protected final MessageBuilderFactory messageBuilderFactory;
        protected final PrintWriter out;
    
        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintStream out) {
            this(messageBuilderFactory, new PrintWriter(out));
        }
    
        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintWriter out) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

        }
    
        public LifecycleExecutionException(
                MessageBuilderFactory messageBuilderFactory,
                MojoExecution execution,
                MavenProject project,
                Throwable cause) {
            this(createMessage(messageBuilderFactory, execution, project, cause), execution, project, cause);
        }
    
        public MavenProject getProject() {
            return project;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

    /**
     * The "decrypt" goal.
     */
    @Singleton
    @Named("decrypt")
    public class Decrypt extends ConfiguredGoalSupport {
        @Inject
        public Decrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintStream out, boolean printResourceNames) {
            this(messageBuilderFactory, new PrintWriter(out), printResourceNames);
        }
    
        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) {
            super(messageBuilderFactory, out);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         */
        @Nonnull
        default R mvn(@Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory)
                throws ParserException, IOException {
            return parse(ParserRequest.mvn(args, logger, messageBuilderFactory).build());
        }
    
        /**
         * Parses the given ParserRequest to create an InvokerRequest.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

     */
    public abstract class ConfiguredGoalSupport extends GoalSupport {
        protected ConfiguredGoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
            if (!validateConfiguration(context)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top