Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MojoDescriptor (0.11 sec)

  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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. 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,
    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. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

                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) {
                            buffer.append(mojo.getGoal());
    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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            nonNull(project, "project");
            try {
                MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (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());
    
    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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    import org.apache.maven.api.xml.XmlNode;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. impl/maven-core/lifecycle-executor.txt

          </execution>
        </executions>
      </plugin>
      .
      .
      .
    </plugins>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. 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()">
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top