Somehow your project is overriding Maven's desire to use 3.1.
settings.xml?

Ron


On 25/06/2014 1:19 PM, John Glass wrote:
There is no parent pom referenced from my project's.
Here's my POM:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
  <modelVersion>4.0.0</modelVersion>

  <groupId>mygroup</groupId>
  <artifactId>myartifact</artifactId>
  <version>0.0.1</version>
  <packaging>jar</packaging>

</project>


On Wednesday, June 25, 2014 7:09 PM, Ron Wheeler <[email protected]> wrote:


Are you sure that you are not overriding the version in your parent
POM's dependency management section?

Ron

On 25/06/2014 12:48 PM, John Glass wrote:
> I'm using maven 3.2.1 and when I run maven with -X I notice that version 2.5.1 of the compiler plugin is used:
>
>> [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
> However, if I run
>
>      mvn help:describe -Dplugin=compiler
>
> I get:
>
> Name: Maven Compiler Plugin
> Description: The Compiler Plugin is used to compile the sources of yourproject.
> Group Id: org.apache.maven.plugins
> Artifact Id: maven-compiler-plugin
> Version: 3.1
> Goal Prefix: compiler
>
> What is the rationale for Maven using 2.5.1?
>
> John

>


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected] <mailto:[email protected]>
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]>






--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

Reply via email to