Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-204

two dependencies with the same groupId and artifactId can not be released

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-5
    • 2.0-beta-6
    • None
    • None
    • linux, maven2, java1.5/1.4

    Description

      I have pom which has something like

      <dependency>
      <groupId>de.tipitaka</groupId>
      <artifactId>utils</artifactId>
      <version>1.0-SNAPSHOT</version>
      </dependency>
      <dependency>
      <groupId>de.tipitaka</groupId>
      <artifactId>utils</artifactId>
      <version>1.0-SNAPSHOT</version>
      <classifier>sources</classifier>
      </dependency>

      and the maven-release-manager only increases the version at the first of these dependencies.

      the attached patch against the trunk of maven-release-manager fixes the problem and works with my porject.

      Attachments

        1. patch.txt
          3 kB
          kristian meier

        Activity

          People

            evenisse Emmanuel Venisse
            m.kristian kristian meier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: