|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.tools.plugin.util.PluginUtils
public final class PluginUtils
Convenience methods to play with Maven plugins.
| Field Summary | |
|---|---|
static Map<String,String> |
MAVEN_COMPONENTS
Expression associated with class types to recognize Maven objects as components. |
| Method Summary | |
|---|---|
static String[] |
findSources(String basedir,
String include)
|
static String[] |
findSources(String basedir,
String include,
String exclude)
|
static void |
sortMojoParameters(List<org.apache.maven.plugin.descriptor.Parameter> parameters)
Sorts the specified mojo parameters by name. |
static void |
sortMojos(List<org.apache.maven.plugin.descriptor.MojoDescriptor> mojoDescriptors)
Sorts the specified mojo descriptors by goal name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Map<String,String> MAVEN_COMPONENTS
| Method Detail |
|---|
public static String[] findSources(String basedir,
String include)
basedir - not nullinclude - not null
public static String[] findSources(String basedir,
String include,
String exclude)
basedir - not nullinclude - not nullexclude - could be null
public static void sortMojos(List<org.apache.maven.plugin.descriptor.MojoDescriptor> mojoDescriptors)
mojoDescriptors - The mojo descriptors to sort, may be null.MojoDescriptor.getGoal()public static void sortMojoParameters(List<org.apache.maven.plugin.descriptor.Parameter> parameters)
parameters - The mojo parameters to sort, may be null.Parameter.getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||