- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for setArtifactId (0.19 sec)
-
maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
} @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception { final Parent parent = new Parent(); parent.setGroupId("org.apache"); parent.setArtifactId("apache"); parent.setVersion("0"); UnresolvableModelException e = assertThrows( UnresolvableModelException.class,
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 9.4K bytes - Viewed (0) -
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-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
model.setArtifactId(artifactId); model.setVersion(version); model.setBuild(new Build()); project = new MavenProject(model); } public ProjectBuilder setGroupId(String groupId) { project.setGroupId(groupId); return this; } public ProjectBuilder setArtifactId(String artifactId) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 11.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
model.setArtifactId(artifactId); model.setVersion(version); model.setBuild(new Build()); project = new MavenProject(model); } public ProjectBuilder setGroupId(String groupId) { project.setGroupId(groupId); return this; } public ProjectBuilder setArtifactId(String artifactId) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 11.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-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());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Apr 14 17:14:22 UTC 2024 - 16.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-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
void mergeDifferentGAV() throws Exception { // 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());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 14.1K 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)