Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Mojos (0.02 sec)

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

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    import java.util.Map;
    
    /**
     * Interface to allow <code>Mojos</code> to communicate with each others <code>Mojos</code>, other than
     * project's source root and project's attachment.<br>
     * The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            // which uses role:roleHint for identity...and roleHint == goalPrefix:goal.
            // role does not vary for Mojos.
            List<MojoDescriptor> mojos = getMojos();
    
            if (mojos != null && mojos.contains(mojoDescriptor)) {
                int indexOf = mojos.indexOf(mojoDescriptor);
    
                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            InputLocation location = DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION;
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

                buffer.append(" in plugin ").append(pluginDescriptor.getId());
    
                buffer.append(" among available goals ");
                List<MojoDescriptor> mojos = pluginDescriptor.getMojos();
                if (mojos != null) {
                    for (Iterator<MojoDescriptor> it = mojos.iterator(); it.hasNext(); ) {
                        MojoDescriptor mojo = it.next();
                        if (mojo != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/test/resources/plugin.xml

      <artifactId>maven-jar-plugin</artifactId>
      <version>2.3-SNAPSHOT</version>
      <goalPrefix>jar</goalPrefix>
      <isolatedRealm>false</isolatedRealm>
      <inheritedByDefault>true</inheritedByDefault>
      <mojos>
        <mojo>
          <goal>jar</goal>
          <description>mojo-description</description>
          <requiresDependencyResolution>runtime</requiresDependencyResolution>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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;
    
    /**
     * This interface forms the contract required for Mojos to interact with the Maven infrastructure.
     * It features an {@link #execute()} method, which triggers the Mojo's build-process behavior,
     * and can throw a {@link MojoException} if error conditions occur.
     *
     * @since 4.0.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Aug 26 13:14:03 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. 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}},
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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 long wallTime;
    
        /**
         * The total amount of time spent for to run mojos in milliseconds.
         */
        private final long execTime;
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top