Class DuplicateProjectException

All Implemented Interfaces:
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:
  • Constructor Details

    • DuplicateProjectException

      public DuplicateProjectException(String message, Map<String,List<File>> collisions)
      Creates 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

    • getCollisions

      public Map<String,List<File>> 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.