- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for setArtifactId (0.3 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
VersionRange getVersionRange(); void setVersionRange(VersionRange newRange); void selectVersion(String version); void setGroupId(String groupId); void setArtifactId(String artifactId); boolean isSnapshot(); void setResolved(boolean resolved); boolean isResolved(); void setResolvedVersion(String version);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
private static Metadata createRepositoryMetadata(PluginInfo pluginInfo) { Metadata result = new Metadata(); Plugin plugin = new Plugin(); plugin.setPrefix(pluginInfo.goalPrefix); plugin.setArtifactId(pluginInfo.artifactId); plugin.setName(pluginInfo.name); result.getPlugins().add(plugin); return result; } @Override protected void merge(Metadata recessive) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
assertEquals(0, dm.getDependencies().size()); dm.addDependency(d1); assertNotNull(dm.getDependencies()); assertEquals(1, dm.getDependencies().size()); dm.getDependencies().get(0).setArtifactId("myArtifactId"); assertEquals("myArtifactId", dm.getDependencies().get(0).getArtifactId()); dm.setDependencies(null); assertNotNull(dm.getDependencies());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
} protected static Metadata createMetadata(Artifact artifact, Versioning versioning) { Metadata metadata = new Metadata(); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId()); metadata.setVersion(artifact.getVersion()); metadata.setVersioning(versioning); return metadata; }
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-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java
if (GROUP_ID.equals(artifact.getGroupId()) && ARTIFACT_ID.equals(artifact.getArtifactId()) && VERSION.equals(artifact.getVersion())) { Model m = new Model(); m.setArtifactId(ARTIFACT_ID); m.setGroupId(GROUP_ID); m.setVersion(VERSION); Repository repository = new Repository(); repository.setId(REPO_ID); repository.setUrl(REPO_URL);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
versioning.setSnapshot(snapshot); Metadata metadata = new Metadata(); metadata.setVersioning(versioning); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId()); metadata.setVersion(artifact.getBaseVersion()); metadata.setModelVersion("1.1.0"); return metadata; } public void bind(Artifact artifact) {
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-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
return plugins; } private Plugin newPlugin(String artifactId, String... goals) { Plugin plugin = new Plugin(); plugin.setGroupId("org.apache.maven.plugins"); plugin.setArtifactId(artifactId); for (String goal : goals) { PluginExecution pluginExecution = new PluginExecution(); pluginExecution.setId("default-" + goal); pluginExecution.addGoal(goal);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
MavenProject project = session.getCurrentProject(); Exclusion exclusion = new Exclusion(); exclusion.setGroupId( "org.apache.maven.its" ); exclusion.setArtifactId( "a" ); new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME, exclusion );
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
} private static Metadata createRepositoryMetadata(Artifact artifact) { Metadata metadata = new Metadata(); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId()); Versioning versioning = new Versioning(); versioning.addVersion(artifact.getBaseVersion()); if (!artifact.isSnapshot()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0)