public class ProjectUtils extends Object
Constructor and Description |
---|
ProjectUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static boolean validateIfIssueManagementComplete(org.apache.maven.project.MavenProject project, String issueManagementSystem, String mojoResult, org.apache.maven.plugin.logging.Log log)
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 logtrue
if the <issueManagement> element of the POM is complete,
otherwise false
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.