public class DuplicateProjectException extends MavenExecutionException
Constructor and Description |
---|
DuplicateProjectException(String message,
Map<String,List<File>> collisions)
Creates a new exception with specified details.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<File>> |
getCollisions()
Gets the POM files of the projects that collided.
|
getPomFile
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateProjectException(String message, Map<String,List<File>> collisions)
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
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.