Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 29 for Mojos (0.02 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     */
    package org.apache.maven.plugin;
    
    import org.apache.maven.api.annotations.ThreadSafe;
    import org.apache.maven.plugin.logging.Log;
    
    /**
     * This interface forms the contract required for <code>Mojos</code> to interact with the <code>Maven</code>
     * infrastructure.<br>
     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            } else {
                return false;
            }
        }
    
        public void skip() {
            skip.set(true);
            mojos.clear();
        }
    
        public void addMojo(MojoExecution mojo, int priority) {
            if (!skip.get()) {
                mojos.computeIfAbsent(priority, k -> new LinkedHashMap<>())
                        .put(mojo.getGoal() + ":" + mojo.getExecutionId(), mojo);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/site/apt/index.apt

    ~~ under the License.
    
     -----
     Introduction
     -----
     Hervé Boutemy
     -----
     2012-06-02
     -----
    
    Maven 3 Plugin API
    
     The API for Maven 3 plugins - composed of goals implemented by Mojos - development:
    
     * goal code extends {{{./apidocs/org/apache/maven/plugin/AbstractMojo.html}<<<AbstractMojo>>> base class}} that implements {{{./apidocs/org/apache/maven/plugin/Mojo.html}<<<Mojo>>> interface}},
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    MojoDescriptor ownerMojo = owner != null ? mojos.get(owner) : null;
                    String str = ownerMojo != null ? " The " + ownerMojo.getId() : "An";
                    String msg = str + " aggregator mojo is already being executed "
                            + "in this parallel build, those kind of mojos require exclusive access to "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

        private final MavenProject project;
    
        /**
         * The build time of the project in milliseconds.
         */
        private final Duration wallTime;
    
        /**
         * The total amount of time spent for to run mojos in milliseconds.
         */
        private final Duration execTime;
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/pom.xml

        <version>4.1.0-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-plugin-api</artifactId>
    
      <name>Maven 3 Plugin API</name>
      <description>The API for Maven 3 plugins - Mojos - development.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-xml</artifactId>
        </dependency>
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * Represents the contract for Mojos to interact with the Maven infrastructure.
     * Implementations of this interface define specific build-process behaviors
     * that are triggered during a Maven build lifecycle.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:21:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
        // TODO Optimize; or maybe just rewrite the whole way aggregating mojos are being run.
        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
         * @param taskSegment the requested task segment
         * @return a project build list for the supplied task segment
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                        MojoNotFoundException, InvalidPluginDescriptorException {
            /*
             * Initialize mapping from lifecycle phase to bound mojos. The key set of this map denotes the phases the caller
             * is interested in, i.e. all phases up to and including the specified phase.
             */
    
            Map<String, Map<PhaseId, List<MojoExecution>>> mappings =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        private boolean directInvocationOnly = false;
    
        /**  By default, the Mojo don't need reports to run */
        private boolean requiresReports = false;
    
        /**
         * By default, mojos are not threadsafe
         * @since 3.0-beta-2
         */
        private boolean threadSafe = false;
    
        private boolean v4Api = false;
    
        /**
         * Default constructor.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top