Re: How does maven choose which plugin version to use?

2016-07-04 Thread Manfred Moser
And you can use some open source organization pom from Apache or Maven itself http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache%22%20AND%20a%3A%22apache%22 http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.maven%22%20AND%20a%3A%22maven-parent%22 or a more complete one

Re: How does maven choose which plugin version to use?

2016-07-04 Thread Ron Wheeler
A quick google gets you https://maven.apache.org/pom.html#Plugin_Management You can add a plug-in management section to your parent pom to control the version used in all of your project poms. https://maven.apache.org/guides/introduction/introduction-to-the-pom.html Ron On 03/07/2016 5:45

Re: How does maven choose which plugin version to use?

2016-07-04 Thread John Patrick
l (somewhere in maven > installation folder)? > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-does-maven-choose-which-plugin-version-to-use-tp5874198p5874202.html > Se

Re: How does maven choose which plugin version to use?

2016-07-04 Thread alexd92
a plugin version instead of editing the pom? Is not possible to specify this at global level (somewhere in maven installation folder)? -- View this message in context: http://maven.40175.n5.nabble.com/How-does-maven-choose-which-plugin-version-to-use-tp5874198p5874202.html Sent from the Maven

Re: How does maven choose which plugin version to use?

2016-07-04 Thread Patrick Aikens
Actually... it's not the super-pom. It's the lifecycle definitions. See here: https://maven.apache.org/ref/3.3.9/maven-core/default-bindings.html You can see which plugins (and which goals in those plugins) are bound to which phase for a given lifecycle. For example, the jar lifecycle is:

Re: How does maven choose which plugin version to use?

2016-07-03 Thread Karl Heinz Marbaise
Hi, yes in general your assumptions are right but you should always define the plugin versions yourself which means to define them via pluingManagement. ... org.apache.maven.plugins maven-war-plugin 2.6 ...

How does maven choose which plugin version to use?

2016-07-03 Thread Alex Ditu
Hello, Can anyone provide some help regarding plugin versions? I want to use the latest version of maven-war-plugin (or at least one greater than 2.3); so i decided to install the latest version of maven, 3.3.9. But when I execute "mvn help:effective-pom" I see it still uses 2.3 version of