Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for Mojos (0.14 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

        private List<LifecycleMojo> mojos;
    
        public LifecyclePhase() {}
    
        public LifecyclePhase(String goals) {
            set(goals);
        }
    
        public List<LifecycleMojo> getMojos() {
            return mojos;
        }
    
        public void setMojos(List<LifecycleMojo> mojos) {
            this.mojos = mojos;
        }
    
        public void set(String goals) {
            mojos = new ArrayList<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. 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.
     *
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. 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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. 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(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  8. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  9. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (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;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top