- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for DuplicateArtifactAttachmentException (0.61 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
} else { mojo = mavenPluginManager.getConfiguredMojo(Mojo.class, session, mojoExecution); } legacySupport.setSession(session); // NOTE: DuplicateArtifactAttachmentException is currently unchecked, so be careful removing this try/catch! // This is necessary to avoid creating compatibility problems for existing plugins that use // MavenProjectHelper.attachArtifact(..).Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 11.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* @param artifact the artifact to add or replace. * @deprecated Please use {@link MavenProjectHelper} * @throws DuplicateArtifactAttachmentException will never happen but leave it for backward compatibility */ public void addAttachedArtifact(Artifact artifact) throws DuplicateArtifactAttachmentException { // if already there we remove it and add again int index = attachedArtifacts.indexOf(artifact);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0)