Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for mojos (0.01 sec)

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

     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
         * Executes the behavior defined by this {@code Mojo}. This method is invoked
         * during the Maven build lifecycle to perform the Mojo's designated task.
         *
         * <p>Implementations should handle any task-specific logic and may communicate
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                throws PlexusConfigurationException {
            List<MojoDescriptor> mojos = new ArrayList<>();
    
            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
            for (PlexusConfiguration component : mojoConfigurations) {
                mojos.add(buildComponentDescriptor(component, pluginDescriptor));
            }
            return mojos;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Provides basic services to manage Maven plugins and their mojos. This component is kept general in its design such
     * that the plugins/mojos can be used in arbitrary contexts. In particular, the mojos can be used for ordinary build
     * plugins as well as special purpose plugins like reports.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  4. 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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 3.7K bytes
    - Viewed (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}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        }
    
        private BuildStep merge(BuildStep node1, BuildStep node2) {
            node1.predecessors.addAll(node2.predecessors);
            node1.successors.addAll(node2.successors);
            node2.mojos.forEach((k, v) -> node1.mojos.merge(k, v, this::mergeMojos));
            return node1;
        }
    
        private Map<String, MojoExecution> mergeMojos(Map<String, MojoExecution> l1, Map<String, MojoExecution> l2) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 12:11:25 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

     *
     * @since 3.9.1
     */
    @Singleton
    @Named
    class DeprecatedCoreExpressionValidator extends AbstractMavenPluginParametersValidator {
        private static final HashMap<String, String> DEPRECATED_CORE_PARAMETERS;
    
        private static final String ARTIFACT_REPOSITORY_REASON =
                "ArtifactRepository type is deprecated and its use in Mojos should be avoided.";
    
        static {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *      <td>Yes</td>
     *      <td>The name for the Mojo that users will reference from the command line to execute the Mojo directly,
     *      or inside a POM in order to provide Mojo-specific configuration.</td>
     *  </tr>
     *  <tr>
     *      <td>implementation</td>
     *      <td>none (detected)</td>
     *      <td>Yes</td>
     *      <td>The Mojo's fully-qualified class name (or script path in the case of non-Java Mojos).</td>
     *  </tr>
     *  <tr>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        /**
         * The goal name for the Mojo, that users will reference from the command line to execute the Mojo directly, or
         * inside a POM in order to provide Mojo-specific configuration.
         */
        private String goal;
    
        /**
         * Defines a default phase to bind a mojo execution to if the user does not explicitly set a phase in the POM.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. 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 =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top