Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 65 for mojos (0.02 seconds)

  1. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            location.setLocation(0, location);
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
    
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
                    if (gs == null) {
                        logger.warn(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            }
        }
    
        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);
            }
        }
    
        public void executeAfter(BuildStep stepToExecuteBefore) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/site/apt/offline-mode.apt

          as above.
    
    ** Control over mojos in the lifecycle
    
      When binding a mojo to the project's lifecycle instance, check the mojo
      descriptor's requiredConnectivity field.
    
      * If <<<(offline == true) && (requiresOnline != true)>>>, bind
        the mojo to the lifecycle.
    
        In this case, the client is <<offline>>, and the mojo does not require
        online status.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field>
              <name>implementation</name>
              <version>1.0.0+</version>
              <type>String</type>
              <description>
                The Mojo's fully-qualified class name (or script path in the case of non-Java Mojos).
              </description>
            </field>
            <field>
              <name>language</name>
              <version>1.0.0+</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                }
            }
            return plugins;
        }
    
        /**
         * Get set of mojos used but not marked @threadSafe
         *
         * @return the set of mojo descriptors
         */
        public Set<MojoDescriptor> getNonThreadSafeMojos() {
            Set<MojoDescriptor> mojos = new HashSet<>();
            for (ExecutionPlanItem executionPlanItem : planItem) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    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 "
                            + "reactor to prevent race conditions. This mojo execution will be blocked "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  8. 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;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/site/apt/index.apt

     -----
     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}},
    
     * {{{./apidocs/org/apache/maven/plugin/logging/Log.html}<<<Log>>> interface}} provides easy logging for the goal.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
Back to Top