- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for setArtifactId (0.08 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
void setUp() { Dependency dependency1 = new Dependency(); dependency1.setArtifactId("dep1"); Dependency dependency2 = new Dependency(); dependency2.setArtifactId("dep2"); project = new Project(); project.setModelVersion("4.0.0"); project.setGroupId("org.apache.maven"); project.setArtifactId("maven-core"); project.setName("Maven");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 16.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
Parent parent = new Parent(); parent.setGroupId("test-group"); parent.setVersion("1000"); parent.setArtifactId("test-artifact"); Model model = new Model(); model.setParent(parent); model.setArtifactId("real-artifact"); MavenProject project = new MavenProject(model);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K 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());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 16.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
// groupId // artifactId // version // goal // plugin = new Plugin(); plugin.setGroupId(tok[0]); plugin.setArtifactId(tok[1]); plugin.setVersion(tok[2]); goal.append(tok[3]); // This won't be valid, but it constructs something easy to read in the error messageRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
@Override public void setGroupId(String groupId) { artifact.setGroupId(groupId); } /** {@inheritDoc} */ @Override public void setArtifactId(String artifactId) { artifact.setArtifactId(artifactId); } /** {@inheritDoc} */ @Override public boolean isSnapshot() { return artifact.isSnapshot(); } /** {@inheritDoc} */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 9.9K bytes - Viewed (0) -
compat/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: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
dependency.setArtifactId(artifactId); dependency.setVersion(version); dependency.setType("jar"); dependency.setScope("compile"); return factory.createDependencyArtifact(dependency); } private MojoExecution newMojoExecution() { PluginDescriptor pd = new PluginDescriptor(); pd.setArtifactId("my-plugin");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java
/** * Sets the artifact id of the plugin. * * @param artifactId The artifact id of the plugin. * @return This request, never {@code null}. */ PluginVersionRequest setArtifactId(String artifactId); /** * Gets the POM whose build plugins are to be scanned for the version. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java
Plugin plugin = new Plugin(); plugin.setGroupId("org.apache.maven.test.MavenExecutionPlan"); plugin.setArtifactId("stub-plugin-" + phaseName); descriptor.setPlugin(plugin); descriptor.setArtifactId("artifact." + phaseName); mojoDescriptor.setPluginDescriptor(descriptor); mojoDescriptor.setThreadSafe(threadSafe); return mojoDescriptor;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
String orgArtifactId = model.getArtifactId(); String intArtifactId = interpolate(orgArtifactId); if (orgArtifactId != intArtifactId) { model.setArtifactId(intArtifactId); } // Version String orgVersion = model.getVersion(); String intVersion = interpolate(orgVersion);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 43.1K bytes - Viewed (0)