Package org.apache.maven
Class DuplicateProjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.MavenExecutionException
org.apache.maven.DuplicateProjectException
- All Implemented Interfaces:
- Serializable
Signals a collision of two or more projects with the same g:a:v during a reactor build.
- Author:
- Benjamin Bentmann
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the POM files of the projects that collided.Methods inherited from class org.apache.maven.MavenExecutionExceptiongetPomFileMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DuplicateProjectExceptionCreates a new exception with specified details.- Parameters:
- message- The message text, may be- null.
- collisions- The POM files of the projects that collided, indexed by their g:a:v, may be- null.
 
 
- 
- 
Method Details- 
getCollisionsGets the POM files of the projects that collided.- Returns:
- The POM files of the projects that collided, indexed by their g:a:v, never null.
 
 
-