Maven help Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


=Overview=
=Overview=
The help plugin is used to get information the system, project or a particular plugin.


=Goals=
=Goals=


!!{{help:active-profiles}}
==help:active-profiles==


!!{{help:effective-pom}}
==help:effective-pom==


Displays the effective POM for the current build, with the active profiles factored in.
Displays the effective POM for the current build, with the active profiles factored in.


!!{{help:effective-settings}}
==help:effective-settings==


Prints out the calculated settings for the project, given any profile enhancement and the inheritance of the global settings into the user-level settings.
Prints out the calculated settings for the project, given any profile enhancement and the inheritance of the global settings into the user-level settings.


!!{{help:describe}}
==help:describe==


Describes the attributes of a plugin.
Describes the attributes of a plugin.


{{{
<pre>
    mvn help:describe -Dplugin=help
mvn help:describe -Dplugin=help
    mvn help:describe -Dplugin=help -Dfull
mvn help:describe -Dplugin=help -Dfull
}}}
</pre>
 
To get information about a single goal, use {{__-Dmojo__}}:


{{{
To get information about a single goal, use <tt>-Dmojo</tt>:
    mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull
}}}


__Referenced by:__\\
<pre>
[{INSERT com.ecyrd.jspwiki.plugin.ReferringPagesPlugin WHERE max=20, maxwidth=50}]
mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull
</pre>

Latest revision as of 18:30, 21 December 2016

External

Internal

Overview

The help plugin is used to get information the system, project or a particular plugin.

Goals

help:active-profiles

help:effective-pom

Displays the effective POM for the current build, with the active profiles factored in.

help:effective-settings

Prints out the calculated settings for the project, given any profile enhancement and the inheritance of the global settings into the user-level settings.

help:describe

Describes the attributes of a plugin.

mvn help:describe -Dplugin=help
mvn help:describe -Dplugin=help -Dfull

To get information about a single goal, use -Dmojo:

mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull