Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getPluginDescriptor (0.29 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (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} */
        public int hashCode() {
            return Objects.hash(getGoal(), getPluginDescriptor());
        }
    
        /**
         * @return the invocation lifecycle of the Mojo
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. 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 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

                MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);
                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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                logger.info(buffer.toString());
    
                logger.info("");
            }
        }
    
        private void append(MessageBuilder buffer, MojoExecution me) {
            String prefix = me.getMojoDescriptor().getPluginDescriptor().getGoalPrefix();
            if (prefix == null || prefix.isEmpty()) {
                prefix = me.getGroupId() + ":" + me.getArtifactId();
            }
            buffer.mojo(prefix + ':' + me.getVersion() + ':' + me.getGoal());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

         *
         * @param requiredMavenVersion Maven version required by the plugin
         * @since 3.0.2
         */
        // used by maven-core's org.apache.maven.plugin.internal.DefaultMavenPluginManager#getPluginDescriptor(...)
        // and PluginDescriptorBuilder since 4.0.0-alpha-3
        public void setRequiredMavenVersion(String requiredMavenVersion) {
            this.requiredMavenVersion = requiredMavenVersion;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top