You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri Sankaran <Sr...@sas.com> on 2008/01/30 20:09:21 UTC

Where is plugin configuration information?

Can you please point me to where I can find a listing of a plugin's
configurable properties?  

For example, I wanted the war plugin to use ${basedir}/build as the output
directory (instead of the default target directory) but was unable to find
out how to do so by reading the 
http://maven.apache.org/plugins/maven-war-plugin/ documentation .  I finally
had to go look at the 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
source   to "figure out" that I could set project.build.directory or
configure the outputDirectory for the plugin.

With Maven1, the plugin's site has a section called "Plugin properties" for
such information.  There doesn't seem to be such a setup for M2.  Am I
correct?  I am looking for something like 
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html what is
there  for the test mojo of the surefire plugin.

Sri

-- 
View this message in context: http://www.nabble.com/Where-is-plugin-configuration-information--tp15189569s177p15189569.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Where is plugin configuration information?

Posted by Erez Nahir <er...@gmail.com>.
BTW, you can also type
mvn help:describe -DgroupId=<pluginGroupId> -DartifactId=<pluginArtifactId>
-Dversion=<pluginVersion> -Dfull=true

my 2c,

Erez

On Jan 30, 2008 10:07 PM, Sri Sankaran <Sr...@sas.com> wrote:

>
> D'oh!  Thanks.
>
> I just noticed that this also accessible by following the "Goals" link on
> the nav bar.
>
> Sri
>
>
> Stefan Reuter wrote:
> >
> > Sri Sankaran wrote:
> >> Can you please point me to where I can find a listing of a plugin's
> >> configurable properties?
> >>
> >> For example, I wanted the war plugin to use ${basedir}/build as the
> >> output
> >> directory (instead of the default target directory) but was unable to
> >> find
> >> out how to do so by reading the
> >> http://maven.apache.org/plugins/maven-war-plugin/ documentation .
> >
> > http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
> >
> > It's a bit hidden under
> >
> > Project Documentation
> > #  Project Reports
> >     * Plugin documentation
> >
> > in the left navigation
> >
> > =Stefan
> >
> > --
> > reuter network consulting
> > Neusser Str. 110
> > 50760 Koeln
> > Germany
> > Telefon: +49 221 1305699-0
> > Telefax: +49 221 1305699-90
> > E-Mail:  stefan.reuter@reucon.com
> > Jabber:  stefan.reuter@reucon.com
> > WWW:     http://www.reucon.com
> >
> > Steuernummern 215/5140/1791 USt-IdNr. DE220701760
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Where-is-plugin-configuration-information--tp15189569s177p15190740.html
> Sent from the Maven - Users mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Where is plugin configuration information?

Posted by Sri Sankaran <Sr...@sas.com>.
D'oh!  Thanks.

I just noticed that this also accessible by following the "Goals" link on
the nav bar.

Sri


Stefan Reuter wrote:
> 
> Sri Sankaran wrote:
>> Can you please point me to where I can find a listing of a plugin's
>> configurable properties?  
>> 
>> For example, I wanted the war plugin to use ${basedir}/build as the
>> output
>> directory (instead of the default target directory) but was unable to
>> find
>> out how to do so by reading the 
>> http://maven.apache.org/plugins/maven-war-plugin/ documentation .
> 
> http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
> 
> It's a bit hidden under
> 
> Project Documentation
> #  Project Reports
>     * Plugin documentation
> 
> in the left navigation
> 
> =Stefan
> 
> -- 
> reuter network consulting
> Neusser Str. 110
> 50760 Koeln
> Germany
> Telefon: +49 221 1305699-0
> Telefax: +49 221 1305699-90
> E-Mail:  stefan.reuter@reucon.com
> Jabber:  stefan.reuter@reucon.com
> WWW:     http://www.reucon.com
> 
> Steuernummern 215/5140/1791 USt-IdNr. DE220701760
> 
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Where-is-plugin-configuration-information--tp15189569s177p15190740.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Where is plugin configuration information?

Posted by Stefan Reuter <st...@reucon.com>.
Sri Sankaran wrote:
> Can you please point me to where I can find a listing of a plugin's
> configurable properties?  
> 
> For example, I wanted the war plugin to use ${basedir}/build as the output
> directory (instead of the default target directory) but was unable to find
> out how to do so by reading the 
> http://maven.apache.org/plugins/maven-war-plugin/ documentation .

http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

It's a bit hidden under

Project Documentation
#  Project Reports
    * Plugin documentation

in the left navigation

=Stefan

-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  stefan.reuter@reucon.com
Jabber:  stefan.reuter@reucon.com
WWW:     http://www.reucon.com

Steuernummern 215/5140/1791 USt-IdNr. DE220701760