Package org.apache.maven.project
Class DuplicateArtifactAttachmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.project.DuplicateArtifactAttachmentException
- All Implemented Interfaces:
Serializable
This exception is thrown if an application attempts to attach
two of the same artifacts to a single project.
- Author:
- pgier, jdcasey TODO Make this a checked exception, and modify the API of MavenProjectHelper. Currently, this modification would create compatibility problems for existing plugins.
- See Also:
-
Constructor Summary
ConstructorDescriptionDuplicateArtifactAttachmentException
(MavenProject project, Artifact artifact) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateArtifactAttachmentException
-
-
Method Details
-
getProject
-
getArtifact
-