RE: how do i fix this error

2015-07-23 Thread Anders Hammar
://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Thursday, July 23, 2015 10:30 AM To: Maven Users List Subject: Re: how do i fix this error http

RE: how do i fix this error

2015-07-23 Thread Magnanao, Hector
Where do I configure the plugin for java 7 ? -Original Message- From: Quentin Caillard [mailto:quentin.caill...@ariadnext.com] Sent: Wednesday, July 22, 2015 4:25 PM To: Maven Users List Subject: Re: how do i fix this error Hi, you must configure the maven compiler plugin for java 7

Re: how do i fix this error

2015-07-23 Thread Quentin Caillard
, July 22, 2015 4:25 PM To: Maven Users List Subject: Re: how do i fix this error Hi, you must configure the maven compiler plugin for java 7. It's java 5 by default. On Wed, Jul 22, 2015 at 10:40 PM, Magnanao, Hector hector.magna...@sap.com wrote: I'm converting my ant build to maven

Re: how do i fix this error

2015-07-23 Thread Anders Hammar
Caillard [mailto:quentin.caill...@ariadnext.com] Sent: Wednesday, July 22, 2015 4:25 PM To: Maven Users List Subject: Re: how do i fix this error Hi, you must configure the maven compiler plugin for java 7. It's java 5 by default. On Wed, Jul 22, 2015 at 10:40 PM, Magnanao, Hector hector.magna

RE: how do i fix this error

2015-07-23 Thread Magnanao, Hector
List Subject: Re: how do i fix this error http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html Use 1.7. /Anders On Thu, Jul 23, 2015 at 5:20 PM, Magnanao, Hector hector.magna...@sap.com wrote: Where do I configure the plugin for java 7

how do i fix this error

2015-07-22 Thread Magnanao, Hector
I'm converting my ant build to maven using the ant plugin. When I try to compile my source code, I get this similar errors. Can someone help me with the resolution ? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project

Re: how do i fix this error

2015-07-22 Thread Quentin Caillard
Hi, you must configure the maven compiler plugin for java 7. It's java 5 by default. On Wed, Jul 22, 2015 at 10:40 PM, Magnanao, Hector hector.magna...@sap.com wrote: I'm converting my ant build to maven using the ant plugin. When I try to compile my source code, I get this similar errors.