faresd / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

mvn appengine:devserver : The plugin com.google .appengine:appengine-maven-plugin:1.9.6 requires Maven version 3.1.0 #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. follow the instruction to build the guestbook 
2. on the command line  type mvn appengine:devserver
3.

What is the expected output? What do you see instead?

The appengine runs locally to view the guestbook application 
from 
https://developers.google.com/appengine/docs/java/gettingstarted/ui_and_code

What version of the product are you using? On what operating system?

1.9.6
Please provide any additional information below.
the pom specification for the appengine-mavne-plugin specify the exact 
maven version to use 

<prerequisites>
        <maven>3.1.0</maven>
</prerequisites>

I am using maven 3.2.2   and it is still complaining as below

Failed to execute goal 
com.google.appengine:appengine-maven-plugin:1.9.6:devserver (default-cli) on 
project guestbook: The plugin com.google
.appengine:appengine-maven-plugin:1.9.6 requires Maven version 3.1.0 ->

It should work on a min version of  3.1.0 and not exact same version as 
explained in maven pom specification below:
http://maven.apache.org/pom.html#Prerequisites
"The POM may have certain prerequisites in order to execute correctly. For 
example, perhaps there was a fix in Maven 2.0.3 that you need in order to 
deploy using sftp. Here is where you give the prerequisites to building. If 
these are not met, Maven will fail the build before even starting. The only 
element that exists as a prerequisite in POM 4.0 is the maven element, which 
takes a minimum version number."

It seems this is a maven issue  and not  an issue for this plugin.

There is a closed jira in regards to maven 3.10 in relation to the 
<prerequisites> <maven> tag usage 

at https://jira.codehaus.org/browse/MNG-5501

It is closed 

Regards,
Alan Mehio

Original issue reported on code.google.com by alan.mehio@googlemail.com on 5 Jul 2014 at 9:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The solution was to upgrade to the latest maven version.

Regards,
Alan Mehio

Original comment by alan.mehio@googlemail.com on 10 Feb 2015 at 2:17