- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for setArtifactId (0.19 sec)
-
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jan 09 20:57:17 UTC 2024 - 12.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java
} public static MojoDescriptor createMojoDescriptor(Plugin plugin) { final PluginDescriptor descriptor = new PluginDescriptor(); descriptor.setGroupId(plugin.getGroupId()); descriptor.setArtifactId(plugin.getArtifactId()); descriptor.setPlugin(plugin); descriptor.setVersion(plugin.getVersion()); final MojoDescriptor mojoDescriptor = new MojoDescriptor();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 3.5K 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) -
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-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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Feb 09 17:47:51 UTC 2023 - 4K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
} } public AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler) { this(parent, type, null, artifactHandler); } public void setArtifactId(String artifactId) { throw new UnsupportedOperationException( "Cannot change the artifactId for an attached artifact." + " It is derived from the main artifact."); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 6.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java
if (session != null) { PluginDescriptor desc = new PluginDescriptor(); desc.setGroupId(PluginDescriptor.getDefaultPluginGroupId()); desc.setArtifactId(PluginDescriptor.getDefaultPluginArtifactId("toolchains")); MavenProject current = session.getCurrentProject(); if (current != null) { // TODO why is this using the context
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.6K 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)