Class DuplicateArtifactAttachmentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.project.DuplicateArtifactAttachmentException
All Implemented Interfaces:
Serializable

public class DuplicateArtifactAttachmentException extends RuntimeException
This exception is thrown if an application attempts to attach two of the same artifacts to a single project. 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 Details

    • DuplicateArtifactAttachmentException

      public DuplicateArtifactAttachmentException(MavenProject project, Artifact artifact)
  • Method Details