- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for setArtifactId (0.28 sec)
-
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 ); Dependency dep2 = new Dependency();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 5.7K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 3.7K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 4.2K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 4.7K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 3.5K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 4.2K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
// // We should get a whole slew of dependencies resolving this artifact transitively // Dependency d = new Dependency(); d.setGroupId("org.apache.maven.its"); d.setArtifactId("b"); d.setVersion("0.1"); d.setScope(Artifact.SCOPE_COMPILE); Artifact artifact = repositorySystem.createDependencyArtifact(d);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 8.8K bytes - Viewed (0)