Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for MojoDescriptor (0.08 seconds)

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

        /**
         * Default constructor.
         */
        public MojoDescriptor() {
            this.parameters = new ArrayList<>();
            setInstantiationStrategy(DEFAULT_INSTANTIATION_STRATEGY);
            setComponentFactory(DEFAULT_LANGUAGE);
        }
    
        public MojoDescriptor(PluginDescriptor pd, org.apache.maven.api.plugin.descriptor.MojoDescriptor md) {
            this();
            this.setPluginDescriptor(pd);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            Set<MojoDescriptor> descriptors = new HashSet<>(mojoExecutions.size());
    
            for (MojoExecution execution : mojoExecutions) {
                MojoDescriptor mojoDescriptor = fillMojoDescriptor(session, project, execution);
                descriptors.add(mojoDescriptor);
            }
    
            return descriptors;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        @SuppressWarnings({"unchecked", "rawtypes"})
        public List<MojoDescriptor> getMojos() {
            return (List) getComponents();
        }
    
        public void addMojo(MojoDescriptor mojoDescriptor) throws DuplicateMojoDescriptorException {
            MojoDescriptor existing = null;
            // this relies heavily on the equals() and hashCode() for ComponentDescriptor,
    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)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            for (MojoExecution mojoExecution : mojoExecutions) {
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
                scopesToResolve.addAll(toScopes(mojoDescriptor.getDependencyResolutionRequired()));
    
                scopesToCollect.addAll(toScopes(mojoDescriptor.getDependencyCollectionRequired()));
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    return plugin;
                }
            }
    
            return null;
        }
    
        public static XmlNode convert(org.apache.maven.api.plugin.descriptor.MojoDescriptor mojoDescriptor) {
            List<XmlNode> children = mojoDescriptor.getParameters().stream()
                    .filter(p -> p.getDefaultValue() != null || p.getExpression() != null)
                    .map(p -> XmlNode.newInstance(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            return cd;
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        public MojoDescriptor buildComponentDescriptor(PlexusConfiguration c, PluginDescriptor pluginDescriptor)
                throws PlexusConfigurationException {
            MojoDescriptor mojo = new MojoDescriptor();
            mojo.setPluginDescriptor(pluginDescriptor);
    
            mojo.setGoal(c.getChild("goal").getValue());
    
    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)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    }
                    if (logger.isDebugEnabled()) {
                        final Set<MojoDescriptor> unsafeGoals = executionPlan.getNonThreadSafeMojos();
                        logger.warn("The following goals are not marked as thread-safe in " + project.getName() + ":");
                        for (MojoDescriptor unsafeGoal : unsafeGoals) {
                            logger.warn("  " + unsafeGoal.getId());
                        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getGoalPrefix() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
    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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

    import org.apache.maven.execution.MavenExecutionResult;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.project.MavenProject;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cli.CLIReportingUtils.formatDuration;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

    import org.apache.maven.execution.MavenExecutionResult;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.project.MavenProject;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cling.utils.CLIReportingUtils.formatDuration;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
Back to Top