- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getRoles (0.04 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
{ Contributor target = new Contributor(); target.setRoles( Arrays.asList( "first", "second", "third" ) ); Contributor source = new Contributor(); source.setRoles( Arrays.asList( "first", "second", "third" ) ); modelMerger.mergeContributor_Roles( target, source, true, null ); assertThat( target.getRoles(), contains( "first", "second", "third" ) ); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java
} /** * getter */ public MetadataGraphNode getEntry() { return entry; } /** * getter */ public Collection<MetadataGraphNode> getNodes() { return nodes; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java
this.role = role; this.roleHint = null; } 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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
*/ public void setMojoConfiguration(PlexusConfiguration mojoConfiguration) { this.mojoConfiguration = mojoConfiguration; } /** {@inheritDoc} */ public String getRole() { return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE; } /** {@inheritDoc} */ public String getRoleHint() { return getId(); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0)