org.apache.maven.model.converter
Class ModelUtils
java.lang.Object
  
org.apache.maven.model.converter.ModelUtils
public class ModelUtils
- extends Object
 
Utility class which features various methods associated with Maven model.
- Version:
 
  - $Id: ModelUtils.java 661727 2008-05-30 14:21:49Z bentmann $
 
- Author:
 
  - Dennis Lundberg
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ModelUtils
public ModelUtils()
findBuildPlugin
public static Plugin findBuildPlugin(Model model,
                                     String groupId,
                                     String artifactId)
- Try to find a build plugin in a model.
- Parameters:
 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 for
- Returns:
 - The requested build plugin if it exists, otherwise null
 
 
 
findReportPlugin
public static ReportPlugin findReportPlugin(Model model,
                                            String groupId,
                                            String artifactId)
- Try to find a report plugin in a model.
- Parameters:
 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 for
- Returns:
 - The requested report plugin if it exists, otherwise null
 
 
 
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.