public class ModelUtils extends Object
Constructor and Description |
---|
ModelUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.maven.model.Plugin |
findBuildPlugin(org.apache.maven.model.Model model,
String groupId,
String artifactId)
Try to find a build plugin in a model.
|
static org.apache.maven.model.ReportPlugin |
findReportPlugin(org.apache.maven.model.Model model,
String groupId,
String artifactId)
Try to find a report plugin in a model.
|
public static org.apache.maven.model.Plugin findBuildPlugin(org.apache.maven.model.Model model, String groupId, String artifactId)
model
- Look for the build plugin in this modelgroupId
- The groupId for the build plugin to look forartifactId
- The artifactId for the build plugin to look forpublic static org.apache.maven.model.ReportPlugin findReportPlugin(org.apache.maven.model.Model model, String groupId, String artifactId)
model
- Look for the report plugin in this modelgroupId
- The groupId for the report plugin to look forartifactId
- The artifactId for the report plugin to look forCopyright © 2002-2012 Apache Software Foundation. All Rights Reserved.