- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getRoleHint (1.53 sec)
-
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
injector.bindInstance(org.apache.maven.api.plugin.Log.class, log); 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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 46.5K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
} /** {@inheritDoc} */ public String getRole() { return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE; } /** {@inheritDoc} */ public String getRoleHint() { return getId(); } /** * @return the id of the mojo, based on the goal name */ public String getId() { return getPluginDescriptor().getId() + ":" + getGoal();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 21.7K bytes - Viewed (0)