Can I configure the version used as default for Maven plugins?

2011-09-24 Thread Jonny Andersson
Hi! I have a question that I guess already have been asked somewhere but I have not been able to find the answer myself. The question came up when I ran the command mvn deploy:deploy-file on the command line and found that the arg sources (given as -Dsources=...) wasn't recognized. It turned

Re: Can I configure the version used as default for Maven plugins?

2011-09-24 Thread Andy Glick
You would normally do this by using a pluginManagement tag in your pom and in that context declaring the plugin and setting the version to 2.7. This is particularly useful in a parent pom because the version will be inherited by all child poms. Then you would not include the version tag in the

Re: Setting addition JVM configuration with appassemble-maven-plugin

2011-09-24 Thread Dan Tran
just want to ping it again. -D On Thu, May 26, 2011 at 4:26 PM, Dan Tran dant...@gmail.com wrote: It seems 'defaultJvmSettings' [1] from example page got ignored ( ie i dont see that paras at runtime ) Any one get this working? I need to passing additional JVM config ( like

Re: Setting addition JVM configuration with appassemble-maven-plugin

2011-09-24 Thread Deng Ching
Hi Dan, Try jvmSettings instead of defaultJvmSettings for the parameter name. The example doc seems to be using the variable name in the mojo instead of the actual parameter name. Thanks, Deng On Sat, Sep 24, 2011 at 11:19 PM, Dan Tran dant...@gmail.com wrote: just want to ping it again. -D

Re: Can I configure the version used as default for Maven plugins?

2011-09-24 Thread kristian
have a look at how it is done via mvn help:effective-pom - Kristian On Sat, Sep 24, 2011 at 4:54 PM, Andy Glick andygl...@gmail.com wrote: You would normally do this by using a pluginManagement tag in your pom and in that context declaring the plugin and setting the version to 2.7. This is