Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for getPluginDescriptor (0.15 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    mojoExecution.getMojoDescriptor().getPluginDescriptor().getGroupId());
            assertEquals(
                    "maven-resources-plugin",
                    mojoExecution.getMojoDescriptor().getPluginDescriptor().getArtifactId());
            assertEquals(
                    "0.1", mojoExecution.getMojoDescriptor().getPluginDescriptor().getVersion());
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

     * <tr><td><code>plugin</code></td>            <td>(since Maven 3)</td>
     *                             <td>{@link MojoExecution#getMojoDescriptor()}.{@link MojoDescriptor#getPluginDescriptor()
     *                                 getPluginDescriptor()}</td></tr>
     * <tr><td><code>plugin.*</code></td>          <td></td>               <td></td></tr>
     * <tr><td><code>*</code></td>                 <td></td>               <td>user properties</td></tr>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

                return Objects.equals(getPluginDescriptor(), other.getPluginDescriptor())
                        && Objects.equals(getGoal(), other.getGoal());
            }
    
            return false;
        }
    
        /** {@inheritDoc} */
        @Override
        public int hashCode() {
            return Objects.hash(getGoal(), getPluginDescriptor());
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            MavenSession session = legacySupport.getSession();
    
            PluginDescriptor pluginDescriptor;
            try {
                pluginDescriptor = pluginManager.getPluginDescriptor(
                        plugin, session.getCurrentProject().getRemotePluginRepositories(), session.getRepositorySession());
    
                pluginManager.setupPluginRealm(pluginDescriptor, session, null, null, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Object result = new PluginParameterExpressionEvaluator(session, exec).evaluate("${plugin}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getMojoDescriptor().getPluginDescriptor(),
                    result,
                    "${plugin} expression does not return plugin descriptor.");
        }
    
        @Test
        void testPluginArtifactsExpressionReference() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
                message += ": " + e.getMessage();
    
                throw new PluginConfigurationException(mojoDescriptor.getPluginDescriptor(), message, e);
            } catch (ComponentLookupException e) {
                throw new PluginConfigurationException(
                        mojoDescriptor.getPluginDescriptor(),
                        "Unable to retrieve component configurator " + configuratorId + " for configuration of mojo "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                        InvalidPluginDescriptorException, PluginVersionResolutionException {
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
    
            String forkedLifecycle = mojoDescriptor.getExecuteLifecycle();
    
            if (forkedLifecycle == null || forkedLifecycle.isEmpty()) {
                return;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        InvalidPluginDescriptorException {
            return mavenPluginManager.getPluginDescriptor(plugin, repositories, session);
        }
    
        // ----------------------------------------------------------------------
        // Mojo execution
        // ----------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            InputSource defaultBindings = new InputSource();
            defaultBindings.setModelId(DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID);
    
            final Plugin plugin = mojoDescriptor.getPluginDescriptor().getPlugin();
            plugin.setLocation("version", new InputLocation(12, 34, defaultBindings));
            MojoExecution result = new MojoExecution(plugin, goal, executionId);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top