You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alan Mehio (JIRA)" <ji...@codehaus.org> on 2014/07/05 11:33:10 UTC

[jira] (MNG-5660) prerequisites element in pom does not work on maven 3.2.2

Alan Mehio created MNG-5660:
-------------------------------

             Summary: prerequisites element in pom does not work on maven 3.2.2
                 Key: MNG-5660
                 URL: https://jira.codehaus.org/browse/MNG-5660
             Project: Maven
          Issue Type: Bug
          Components: Command Line, Errors
    Affects Versions: 3.2.2
         Environment: java 1.7

            Reporter: Alan Mehio
            Priority: Minor


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."

look at the project   
https://code.google.com/p/appengine-maven-plugin/

and its usage  

https://developers.google.com/appengine/docs/java/gettingstarted/ui_and_code

and the command line which cause the issue

"mvn appengine:devserver"


error message :

 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 -> [Help 1]

the pom file from the  google app engine maven plugin

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

.....








--
This message was sent by Atlassian JIRA
(v6.1.6#6162)