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.java 1054098 2010-12-31 11:54:28Z dennisl $
Author:
Dennis Lundberg

Constructor Summary
ProjectUtils()
           
 
Method Summary
static boolean validateIfIssueManagementComplete(MavenProject project, String issueManagementSystem, String mojoResult, 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(MavenProject project,
                                                        String issueManagementSystem,
                                                        String mojoResult,
                                                        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–2014 The Apache Software Foundation. All rights reserved.