org.apache.maven.plugin.changes
Class ProjectUtils
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectUtils
public ProjectUtils()
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 projectissueManagementSystem
- The name of the issue management system that is requiredmojoResult
- What the calling mojo produces, used in the error messageslog
- 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.