Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Mojos (0.01 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            InputLocation location = new InputLocation(-1, -1, inputSource);
            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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. 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);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/site/apt/offline-mode.apt

    
    * Implications for Mojo Execution
    
    ** Deployment mojos
    
      The concept of deployment is dependent on the availability of a some
      remote repository. Just as above, if that repository is not using
      file:// (which is highly likely to be the case), or the repository is
      not on a local filesystem, deployment will fail when offline.
    
    ** Testing mojos
    
      This can be a problem if the tests are more than simple unit tests;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

                @since Maven 4.0.0-alpha-3
              </description>
              <type>String</type>
            </field>
            <field xdoc.separator="blank">
              <name>mojos</name>
              <version>1.0.0+</version>
              <association>
                <type>MojoDescriptor</type>
                <multiplicity>*</multiplicity>
              </association>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  7. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. 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 "
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top