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

Missing Error during pom validation: "You cannot have two plugin executions with the same (or missing) <id/> elements."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-2
    • Plugins and Lifecycle
    • None
    • Maven 3.0 beta1, Java 6.0.18

    Description

      Maven 2.2.1 gives an error "You cannot have two plugin executions with the same (or missing) <id/> elements.", if there are two executions for the same plugin without an id element.
      Maven 3.0 beta1 doesn't throw this usefull validation error. It uses the first configuration for both executions.

      A relatet issue, where this error has occured with an attached example: http://jira.codehaus.org/browse/MRPM-76

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            ajoe04 ajoe04
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: