Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for MojoDescriptor (0.06 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static final MojoDescriptor TEST_COMPILE = createMojoDescriptor("test-compile");
    
        public static final MojoDescriptor PROCESS_TEST_RESOURCES = createMojoDescriptor("process-test-resources");
    
        public static final MojoDescriptor PROCESS_RESOURCES = createMojoDescriptor("process-resources");
    
        public static final MojoDescriptor COMPILE = createMojoDescriptor("compile", true);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedPluginValidator.java

                        mavenSession,
                        mojoDescriptor,
                        mojoClass,
                        logDeprecatedMojo(mojoDescriptor));
            }
    
            if (mojoDescriptor.getParameters() != null) {
                mojoDescriptor.getParameters().stream()
                        .filter(parameter -> parameter.getDeprecated() != null)
                        .filter(Parameter::isEditable)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. 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;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

        @Test
        void testMissingRequiredStringArrayTypeParameter() {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setGoal("goal");
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            pluginDescriptor.setGoalPrefix("goalPrefix");
            pluginDescriptor.setArtifactId("artifactId");
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            this.executionId = executionId;
        }
    
        public MojoExecution(MojoDescriptor mojoDescriptor) {
            this.mojoDescriptor = mojoDescriptor;
            this.executionId = null;
            this.configuration = null;
        }
    
        public MojoExecution(MojoDescriptor mojoDescriptor, String executionId, Source source) {
            this.mojoDescriptor = mojoDescriptor;
            this.executionId = executionId;
            this.configuration = null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
            MojoExecution mojoExecution = new MojoExecution(mojoDescriptor);
            Throwable exception = new PluginExecutionException(mojoExecution, null, cause);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

        }
    
        protected PluginManagerException(MojoDescriptor mojoDescriptor, String message, Throwable cause) {
            super(message, cause);
            pluginGroupId = mojoDescriptor.getPluginDescriptor().getGroupId();
            pluginArtifactId = mojoDescriptor.getPluginDescriptor().getArtifactId();
            pluginVersion = mojoDescriptor.getPluginDescriptor().getVersion();
            goal = mojoDescriptor.getGoal();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        private String pluginKey(String groupId, String artifactId, String version) {
            return groupId + ":" + artifactId + ":" + version;
        }
    
        private String pluginKey(MojoDescriptor mojoDescriptor) {
            PluginDescriptor pd = mojoDescriptor.getPluginDescriptor();
            return pluginKey(pd.getGroupId(), pd.getArtifactId(), pd.getVersion());
        }
    
        private String pluginKey(Artifact pluginArtifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:32 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top