Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getRoleHint (0.16 sec)

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

                mojo = mojoInterface.cast(injector.getInstance(
                        Key.of(mojoDescriptor.getImplementationClass(), mojoDescriptor.getRoleHint())));
    
            } catch (Exception e) {
                throw new PluginContainerException(mojoDescriptor, pluginRealm, "Unable to lookup Mojo", e);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        @Override
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRoleHint() {
            return getId();
        }
    
        /**
         * @return the id of the mojo, based on the goal name
         */
        public String getId() {
            return getPluginDescriptor().getId() + ":" + getGoal();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
Back to top