Package org.apache.maven.plugins.changes
Class ProjectUtils
java.lang.Object
org.apache.maven.plugins.changes.ProjectUtils
A utility class for working with Project objects.
- Since:
- 2.4
- Version:
- $Id$
- Author:
- Dennis Lundberg
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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 projectissueManagementSystem
- The name of the issue management system that is requiredmojoResult
- 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.
-