If you don’t configure a specific version in your pom for one of the standard 
plugins, Maven will use the version specified in the default lifecycle bindings.

For example Maven 3.3.3, defaults to maven-compiler-plugin 3.1:

https://github.com/apache/maven/blob/maven-3.3.3/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml#L117

The default bindings are not always updated to the most recent releases, it 
depends how long they’ve been available and whether there’s a pressing need to 
update.

Also since people might use different versions of Maven to build your project, 
best practise is to always define the versions of plugins in your pom:

https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Introduction
 (see “important note”)

which makes builds more reproducible in the future.

HTH  

On Wednesday, 5 August 2015 at 16:11, Ron Wheeler wrote:

> Can you see where the compiler plugin is added to your build?
> Parent pom, project pom
>  
> Does this help.
> https://maven.apache.org/pom.html#Plugin_Management
>  
> On 05/08/2015 10:58 AM, sreya...@yahoo.com.INVALID 
> (mailto:sreya...@yahoo.com.INVALID) wrote:
> > I downloaded the latest version of Maven from their site and am using it in 
> > Eclipse. But it seems my maven-compiler-plugin is out of date ie. version 
> > 3.1 while according to this page the most recent version is 3.3. First of 
> > all if I am using the latest version of maven why do I have to use an 
> > outdated plugin ? Secondly why is it out of date ? I looked up the 
> > Super-POM and nothing about the compiler plugin was referenced there.
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> > Regards
> > Sreyan Chakravarty
> >  
>  
>  
>  
> --  
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwhee...@artifact-software.com (mailto:rwhee...@artifact-software.com)
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>  
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org 
> (mailto:users-unsubscr...@maven.apache.org)
> For additional commands, e-mail: users-h...@maven.apache.org 
> (mailto:users-h...@maven.apache.org)
>  
>  


Reply via email to