Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-602

OSGI Spec allow multiple versions of the same plugin within an installtion. to-maven mojo cannot deal with situations like that

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 2.7
    • None
    • PDE support
    • None
    • Patch

    Description

      I have noticed this when I was working on the issue:
      http://jira.codehaus.org/browse/MECLIPSE-601

      It looks like that if you have multiple versions of the same plugin, only one of them can be installed as the plugins and models maps are used with the groupId.artifactId as the key.
      So a subsequent version of the same plugin will replace the previous one leading to the last-one-wins situation.

      This might look an innocent bug however image you have two set of plugins in your installation. Then you will end up a randomly -picked list of a single entry list of the plugins in your repository that can possibly lead to unwanted version chaos. Furthermore this situation can be missed easily and can cause a big headache to the experiencing person.

      Attached path resolves the issue...

      Attachments

        1. multiple-versions.patch
          0.8 kB
          Hasan Ceylan

        Activity

          People

            Unassigned Unassigned
            hceylan@batoo.org Hasan Ceylan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: