- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getRoleHint (0.08 seconds)
-
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java
public Requirement(String role, String roleHint) { this.role = role; this.roleHint = roleHint; } public String getRole() { return role; } public String getRoleHint() { return roleHint; } /** * Creates a shallow copy of this requirement. */ @Override public Requirement clone() { try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
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();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 21.7K bytes - Click Count (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
assertEquals("3.0.0", mp.getSince()); ComponentRequirement cr = md.getRequirements().get(0); assertEquals("org.codehaus.plexus.archiver.Archiver", cr.getRole()); assertEquals("jar", cr.getRoleHint()); assertEquals("jarArchiver", cr.getFieldName()); ComponentDependency cd = pd.getDependencies().get(0); assertEquals("org.apache.maven", cd.getGroupId());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 6K bytes - Click Count (0)