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

2016-07-03 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 maven-w