org.apache.maven.plugin.changes
Class ProjectUtils

java.lang.Object
  extended by org.apache.maven.plugin.changes.ProjectUtils

public class ProjectUtils
extends Object

A utility class for working with Project objects.

Since:
2.4
Version:
$Id: ProjectUtils.html 816603 2012-05-08 12:53:30Z hboutemy $
Author:
Dennis Lundberg

Constructor Summary
ProjectUtils()
           
 
Method Summary
static boolean validateIfIssueManagementComplete(org.apache.maven.project.MavenProject project, String issueManagementSystem, String mojoResult, org.apache.maven.plugin.logging.Log log)
          Check if the issue management system has been properly configured in the Maven project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectUtils

public ProjectUtils()
Method Detail

validateIfIssueManagementComplete

public static boolean validateIfIssueManagementComplete(org.apache.maven.project.MavenProject project,
                                                        String issueManagementSystem,
                                                        String mojoResult,
                                                        org.apache.maven.plugin.logging.Log log)
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
log - A log
Returns:
true if the <issueManagement> element of the POM is complete, otherwise false


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.