- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for setVersion (0.13 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
public ProjectBuilder setArtifactId(String artifactId) { project.setArtifactId(artifactId); return this; } public ProjectBuilder setVersion(String version) { project.setVersion(version); return this; } // Dependencies //
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-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-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
} } } // // CI friendly versions // void handleCiFriendlyVersion(TransformerContext context, Model model) { String version = model.getVersion(); String modVersion = replaceCiFriendlyVersion(context, version); model.setVersion(modVersion);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
resolve(result, infos, RELEASE); } if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) { VersionRequest subRequest = new VersionRequest(); subRequest.setArtifact(artifact.setVersion(result.getVersion())); if (result.getRepository() instanceof RemoteRepository) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
source.setArtifactId("source-artifact"); source.setGroupId("source-group"); source.setVersion("2.0"); assertFalse(target.merge(source)); assertEquals("myArtifact", target.getArtifactId()); assertEquals("myGroup", target.getGroupId()); assertEquals("1.0-SNAPSHOT", target.getVersion()); } /*--- END test common metadata ---*/
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-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K 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()); this.setInheritedByDefault(original.isInheritedByDefault()); this.setName(original.getName());
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-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
public String getArtifactId() { return artifact.getArtifactId(); } /** {@inheritDoc} */ public String getVersion() { return artifact.getVersion(); } /** {@inheritDoc} */ public void setVersion(String version) { artifact.setVersion(version); } /** {@inheritDoc} */ public String getScope() { return artifact.getScope(); }
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-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
SnapshotVersion sv = new SnapshotVersion(); sv.setClassifier(artifact.getClassifier()); sv.setExtension(artifact.getExtension()); sv.setVersion(getVersion()); sv.setUpdated(lastUpdated); versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv); } Versioning versioning = recessive.getVersioning();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
public void mergeVersion() { Model target = new Model(); target.setVersion( "TARGET" );; Model source = new Model(); source.setVersion( "SOURCE" ); modelMerger.merge( target, source, true, null ); assertThat( target.getVersion(), is( "SOURCE" ) ); target.setVersion( "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)