Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getPluginDescriptor (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

        private final List<Parameter> parameters;
    
        private final MojoDescriptor mojo;
    
        public PluginParameterException(MojoDescriptor mojo, List<Parameter> parameters) {
            super(
                    mojo.getPluginDescriptor(),
                    "The parameters " + format(parameters) + " for goal " + mojo.getRoleHint() + " are missing or invalid");
    
            this.mojo = mojo;
    
            this.parameters = parameters;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

        public String getGroupId() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getPluginDescriptor().getGroupId();
            }
    
            return plugin.getGroupId();
        }
    
        public String getArtifactId() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getPluginDescriptor().getArtifactId();
            }
    
            return plugin.getArtifactId();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

            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)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    return delegate.getMojoDescriptor().getPluginDescriptor().getPluginDescriptorV4();
                }
    
                @Override
                public List<Lifecycle> getLifecycles() {
                    try {
                        return Collections.unmodifiableList(new ArrayList<>(delegate.getMojoDescriptor()
                                .getPluginDescriptor()
                                .getLifecycleMappings()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. 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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

            this.goal = goal;
            this.pluginDescriptor = pluginDescriptor;
        }
    
        public String getGoal() {
            return goal;
        }
    
        public PluginDescriptor getPluginDescriptor() {
            return pluginDescriptor;
        }
    
        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
            StringBuilder buffer = new StringBuilder(256);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. 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) {
    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