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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Artifact
private static final String
private final MavenProject
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateArtifactAttachmentException
(MavenProject project, Artifact artifact) -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
constructMessage
(MavenProject project, Artifact artifact) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DEFAULT_MESSAGE
- See Also:
-
artifact
-
project
-
-
Constructor Details
-
DuplicateArtifactAttachmentException
-
-
Method Details
-
constructMessage
-
getProject
-
getArtifact
-