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.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the POM files of the projects that collided.Methods inherited from class org.apache.maven.MavenExecutionException
getPomFile
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateProjectException
Creates a new exception with specified details.- Parameters:
message
- The message text, may benull
.collisions
- The POM files of the projects that collided, indexed by their g:a:v, may benull
.
-
-
Method Details
-
getCollisions
Gets 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
.
-