public final class ProjectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
validateIssueManagement(MavenProject project,
String issueManagementSystem,
String mojoResult)
Check if the issue management system has been properly configured in the Maven project.
|
public static String validateIssueManagement(MavenProject project, String issueManagementSystem, String mojoResult)
project
- The Maven projectissueManagementSystem
- The name of the issue management system that is requiredmojoResult
- What the calling mojo produces, used in the error messagesnull
if the <issueManagement> element of the POM is complete, otherwise a String
containing the reason of the failed validation.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.