Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for Mojo (0.06 sec)

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

     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    @ThreadSafe
    public interface Mojo {
        /** The component <code>role</code> hint for Plexus container */
        String ROLE = Mojo.class.getName();
    
        /**
         * Perform whatever build-process behavior this <code>Mojo</code> implements.<br>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * This annotation will mark your class as a Mojo, which is the implementation of a goal in a Maven plugin.
     * <p>
     * The mojo can be annotated with {@code org.apache.maven.api.di.*} annotations to
     * control the lifecycle of the mojo itself, and to inject other beans.
     * </p>
     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     *
     * The primary entry point is the {@link #execute()} method, which encapsulates
     * the behavior of the Mojo and serves as the integration point with Maven. This
     * method may throw an {@link Exception} to signal any issues that prevent
     * successful execution of the Mojo.
     *
     * <p>
     * Annotations:
     * </p>
     * <ul>
     * <li>{@link Experimental}: Indicates that this interface or its implementation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

        private final MojoDescriptor mojo;
    
        public PluginParameterException(MojoDescriptor mojo, List<Parameter> parameters) {
            super(
                    mojo.getPluginDescriptor(),
                    "The parameters " + format(parameters) + " for goal " + mojo.getRoleHint() + " are missing or invalid");
    
            this.mojo = mojo;
    
            this.parameters = parameters;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

        /**
         * Looks up the mojo for the specified mojo execution and populates its parameters from the configuration given by
         * the mojo execution. The mojo/plugin descriptor associated with the mojo execution provides the class realm to
         * look up the mojo from. <strong>Warning:</strong> The returned mojo instance must be released via
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
            this(session, project, mojoExecution, mojo, null);
        }
    
        public MojoExecutionEvent(
                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/test/resources/plugin.xml

              <role-hint>jar</role-hint>
              <field-name>jarArchiver</field-name>
            </requirement>
          </requirements>
        </mojo>
        <mojo>
          <goal>war</goal>
          <threadSafe>true</threadSafe>
        </mojo>
      </mojos>
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-plugin-api</artifactId>
          <type>jar</type>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     * the execute method.<br>
     * The implementation should have a <code>Mojo</code> annotation with the name of the goal:
     * <pre>
     *   &#64;Mojo( name = "&lt;goal-name&gt;" )
     * </pre>
     * <p>
     * There are also a number of attributes which can be used to control how and when the
     * <code>Mojo</code> is executed:
     * </p>
     * <table border="1">
    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. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java

    class ValidatingConfigurationListener implements ConfigurationListener {
        private final Object mojo;
    
        private final ConfigurationListener delegate;
    
        private final Map<String, Parameter> missingParameters;
    
        ValidatingConfigurationListener(Object mojo, MojoDescriptor mojoDescriptor, ConfigurationListener delegate) {
            this.mojo = mojo;
            this.delegate = delegate;
            this.missingParameters = new HashMap<>();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top