Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for PluginDescriptor (0.27 sec)

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

    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    
    /**
     * MojoNotFoundException
     */
    public class MojoNotFoundException extends Exception {
        private String goal;
    
        private PluginDescriptor pluginDescriptor;
    
        public MojoNotFoundException(String goal, PluginDescriptor pluginDescriptor) {
            super(toMessage(goal, pluginDescriptor));
    
            this.goal = goal;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
            } catch (LookupException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException;
    
        PluginDescriptor getPluginDescriptorForPrefix(String prefix);
    
        Plugin getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project);
    
        PluginDescriptor verifyPlugin(
                Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/PluginXmlFactory.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    
    /**
     * Reads and writes a {@link PluginDescriptor} object to/from XML.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PluginDescriptor> request) throws XmlWriterException {
            nonNull(request, "request");
            PluginDescriptor content = nonNull(request.getContent(), "content");
            Path path = request.getPath();
            OutputStream outputStream = request.getOutputStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Verifies that subclasses from generated model classes are possible.
     */
    class ExtendedPluginDescriptorTest {
    
        /**
         * A subclass of the generated class {@link PluginDescriptor} that adds an additional field.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.project.CycleDetectedException;
    import org.apache.maven.project.DuplicateProjectException;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectSorter;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    
    /**
     * Represents a maven plugin runtime
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    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;
    import org.eclipse.aether.graph.DependencyNode;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

     */
    class PluginDescriptorBuilderTest {
    
        private PluginDescriptor build(String resource) throws IOException, PlexusConfigurationException {
            try (InputStream is = getClass().getResourceAsStream(resource)) {
                return new PluginDescriptorBuilder().build(is, null);
            }
        }
    
        @Test
        void testBuildReader() throws Exception {
            PluginDescriptor pd = build("/plugin.xml");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top