mirror of https://github.com/apache/maven.git
PR: MNG-1285
Submitted By: John Tolentino Reviewed By: John Casey Applied documentation section of the patch, and renamed the package name for the mojos. Thanks to John T. for the patch! git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb070c258b
commit
06e29ef4d7
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugins.projecthelp;
|
||||
package org.apache.maven.plugins.help;
|
||||
|
||||
import org.apache.maven.model.Profile;
|
||||
import org.apache.maven.plugin.AbstractMojo;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugins.projecthelp;
|
||||
package org.apache.maven.plugins.help;
|
||||
|
||||
/*
|
||||
* Copyright 2001-2005 The Apache Software Foundation.
|
||||
|
@ -128,7 +128,7 @@ public class DescribeMojo
|
|||
/**
|
||||
* The current project, if there is one. This is listed as optional, since
|
||||
* <br/>
|
||||
* the projecthelp plugin should be able to function on its own. If this
|
||||
* the help plugin should be able to function on its own. If this
|
||||
* <br/>
|
||||
* parameter is empty at execution time, this mojo will instead use the
|
||||
* <br/>
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugins.projecthelp;
|
||||
package org.apache.maven.plugins.help;
|
||||
|
||||
import org.apache.maven.model.Model;
|
||||
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugins.projecthelp;
|
||||
package org.apache.maven.plugins.help;
|
||||
|
||||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
Maven Project Help Plugin :: Active Profiles Mojo
|
||||
Maven Help Plugin :: Active Profiles Mojo
|
||||
---
|
||||
John Casey
|
||||
---
|
||||
|
|
|
@ -63,31 +63,31 @@ Describe Mojo
|
|||
plugin by its prefix, like this:
|
||||
|
||||
+---+
|
||||
-Dplugin=projecthelp
|
||||
-Dplugin=help
|
||||
+---+
|
||||
|
||||
*Examples
|
||||
|
||||
[[1]] To display a brief summary of the entire projecthelp plugin, using the
|
||||
[[1]] To display a brief summary of the entire help plugin, using the
|
||||
prefix for plugin lookup:
|
||||
|
||||
+---+
|
||||
m2 projecthelp:describe -Dplugin=projecthelp
|
||||
mvn help:describe -Dplugin=help
|
||||
+---+
|
||||
|
||||
[[2]] To display a full summary of only the describe mojo, again using the
|
||||
prefix to lookup the plugin:
|
||||
|
||||
+---+
|
||||
m2 projecthelp:describe -Dplugin=projecthelp -Dmojo=describe -Dfull=true
|
||||
mvn help:describe -Dplugin=help -Dmojo=describe -Dfull=true
|
||||
+---+
|
||||
|
||||
[[3]] To display the most information available for the entire projecthelp
|
||||
[[3]] To display the most information available for the entire help
|
||||
plugin, and avoid any confusion about which plugin might be resolved
|
||||
for a particular prefix:
|
||||
|
||||
+---+
|
||||
m2 projecthelp:describe -Dfull=true \
|
||||
mvn help:describe -Dfull=true \
|
||||
-DgroupId=org.apache.maven.plugins \
|
||||
-DartifactId=maven-projecthelp-plugin
|
||||
-DartifactId=maven-help-plugin
|
||||
+---+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
Maven Project Help Plugin :: Effective POM Mojo
|
||||
Maven Help Plugin :: Effective POM Mojo
|
||||
---
|
||||
John Casey
|
||||
---
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
Maven Project Help Plugin :: Effective Settings Mojo
|
||||
Maven Help Plugin :: Effective Settings Mojo
|
||||
---
|
||||
John Casey
|
||||
---
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
*/
|
||||
-->
|
||||
|
||||
<project name="Maven Project Help Plugin">
|
||||
<project name="Maven Help Plugin">
|
||||
<bannerLeft>
|
||||
<name>Maven Project Help</name>
|
||||
<name>Maven Help</name>
|
||||
<src>http://maven.apache.org/images/apache-maven-project.png</src>
|
||||
<href>http://maven.apache.org/</href>
|
||||
</bannerLeft>
|
||||
|
|
Loading…
Reference in New Issue