- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for SetGroupID (0.12 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
/* Dependency dep1 = new Dependency(); dep1.setGroupId( "test" ); dep1.setArtifactId( "test-artifact" ); dep1.setVersion( "1" ); dep1.setType( "jar" ); Exclusion exc = new Exclusion(); exc.setGroupId( "test" ); exc.setArtifactId( "test-artifact3" ); dep1.addExclusion( exc );
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
model.setModelVersion("4.0.0"); model.setGroupId(groupId); model.setArtifactId(artifactId); model.setVersion(version); model.setBuild(new Build()); project = new MavenProject(model); } public ProjectBuilder setGroupId(String groupId) { project.setGroupId(groupId); return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
// // ---------------------------------------------------------------------- public PluginDescriptor() {} public PluginDescriptor(PluginDescriptor original) { this.setGroupId(original.getGroupId()); this.setArtifactId(original.getArtifactId()); this.setVersion(original.getVersion()); this.setGoalPrefix(original.getGoalPrefix());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
public void mergeGroupId() { Model target = new Model(); target.setGroupId( "TARGET" ); Model source = new Model(); source.setGroupId( "SOURCE" ); modelMerger.merge( target, source, true, null ); assertThat( target.getGroupId(), is( "SOURCE" ) ); target.setGroupId( "TARGET" ); modelMerger.merge( target, source, false, null );
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/project/artifact/ActiveProjectArtifact.java
} /** {@inheritDoc} */ public void selectVersion(String version) { artifact.selectVersion(version); } /** {@inheritDoc} */ public void setGroupId(String groupId) { artifact.setGroupId(groupId); } /** {@inheritDoc} */ public void setArtifactId(String artifactId) { artifact.setArtifactId(artifactId); } /** {@inheritDoc} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
request.setPom(project.getModel()); try { PluginPrefixResult result = pluginPrefixResolver.resolve(request); Plugin plugin = new Plugin(); plugin.setGroupId(result.getGroupId()); plugin.setArtifactId(result.getArtifactId()); return plugin; } catch (NoPluginFoundForPrefixException e) { return null; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
// merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here! Metadata source = new Metadata(); source.setArtifactId("source-artifact"); source.setGroupId("source-group"); source.setVersion("2.0"); assertFalse(target.merge(source)); assertEquals("myArtifact", target.getArtifactId()); assertEquals("myGroup", target.getGroupId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId()); } @Test void testGetDependencyConflictIdNullGroupId() { artifact.setGroupId(null); assertEquals(null + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId()); } @Test void testGetDependencyConflictIdNullClassifier() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
init( af ); } */ } // ------------------------------------------------------------------ // public void init( ArtifactMetadata af ) // { // setGroupId( af.getGroupId() ); // setArtifactId( af.getArtifactId() ); // setVersion( af.getVersion() ); // setType( af.getType() ); // setScope( af.getScope() );
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java
String version; String classifier; String type; String scope; transient Object datum; public String getGroupId() { return groupId; } public void setGroupId(String groupId) { this.groupId = groupId; } public String getArtifactId() { return artifactId; } public void setArtifactId(String artifactId) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)