Class ProjectUtils

java.lang.Object
org.apache.maven.plugins.changes.ProjectUtils

public final class ProjectUtils extends Object
A utility class for working with Project objects.
Since:
2.4
Version:
$Id$
Author:
Dennis Lundberg
  • Method Details

    • validateIssueManagement

      public static String validateIssueManagement(org.apache.maven.project.MavenProject project, String issueManagementSystem, String mojoResult)
      Check if the issue management system has been properly configured in the Maven project.
      Parameters:
      project - The Maven project
      issueManagementSystem - The name of the issue management system that is required
      mojoResult - What the calling mojo produces, used in the error messages
      Returns:
      null if the <issueManagement> element of the POM is complete, otherwise a String containing the reason of the failed validation.