diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index ae8ef277..9aa8e5ae 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -29,17 +29,9 @@ under the License. What is a Mojo

- See the Maven FAQ: What is a Mojo. -

-
- - - Why mvn help:active-profiles won't show the active profiles under Maven 2.1? - -

- See MPH-38 for more info. + See the Maven FAQ: What is a Mojo.

- \ No newline at end of file + diff --git a/src/site/markdown/examples/describe-configuration.md b/src/site/markdown/examples/describe-configuration.md index c3d112c9..24e22e28 100644 --- a/src/site/markdown/examples/describe-configuration.md +++ b/src/site/markdown/examples/describe-configuration.md @@ -66,7 +66,7 @@ You can use the `goal` parameter of the `describe` goal to show or display relat For example, when you execute the following command: -```unknown +```sh # mvn help:describe -Dgoal=describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-help-plugin ``` @@ -74,9 +74,9 @@ This would display brief information about the `describe` goal only. ## The `cmd` Parameter -You could also ask for a single Maven command, i.e. a goal or a phase or a lifecycle. It is the command when you call Maven, i.e.: +You can also ask for a single Maven goal, phase, or lifecycle: -```unknown +```sh # mvn -help usage: mvn [options] [] [] @@ -85,7 +85,7 @@ usage: mvn [options] [] [] The following are some examples: -```unknown +```sh # mvn help:describe -Dcmd=clean ... [INFO] [help:describe] @@ -167,9 +167,10 @@ For more information, run 'mvn help:describe [...] -Ddetail' ... ``` -If you don't provide a paremeter a list is added with the mojos of the plugin and their descriptions: + If you don't provide a parameter, a list is added with the mojos of the plugin and their + descriptions: -```unknown +```sh # mvn help:describe -Dplugin=help ... [INFO] org.apache.maven.plugins:maven-help-plugin:2.1-SNAPSHOT @@ -237,7 +238,7 @@ For more information, run 'mvn help:describe [...] -Ddetail' The `detail` parameter also displays information about the goal's implementation, their parameters and component requirements, among others. -```unknown +```sh # mvn help:describe -Dplugin=help -Ddetail=true ``` @@ -245,6 +246,6 @@ The `detail` parameter also displays information about the goal's implementation This `describe` goal can use the optional `output` parameter to redirect the output to a file. Here is an example of that: -```unknown +```sh # mvn help:describe -Dplugin=help -Ddetail=true -Doutput=/path/to/file ``` diff --git a/src/site/site.xml b/src/site/site.xml index 3306ecc4..4bdc825f 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -41,7 +41,7 @@ under the License. - +