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:
java.io.Serializable
public class DuplicateProjectException extends MavenExecutionException
Signals a collision of two or more projects with the same g:a:v during a reactor build.- Author:
- Benjamin Bentmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateProjectException(java.lang.String message, java.util.Map<java.lang.String,java.util.List<java.io.File>> collisions)
Creates a new exception with specified details.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.io.File>>
getCollisions()
Gets the POM files of the projects that collided.-
Methods inherited from class org.apache.maven.MavenExecutionException
getPomFile
-
-
-
-
Constructor Detail
-
DuplicateProjectException
public DuplicateProjectException(java.lang.String message, java.util.Map<java.lang.String,java.util.List<java.io.File>> collisions)
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
.
-
-