Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5660

prerequisites element in pom does not work on maven 3.2.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: Command Line, Errors
    • Labels:
      None
    • Environment:
      java 1.7

      Description

      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>

      .....

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alanmehio Alan Mehio
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: