Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4182

Artifact aliases are not honored when deploying a plugin that has a dependency on another plugin with an alias

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1, 2.1.1
    • 2.1.2, 2.2
    • Plugins
    • Security Level: public (Regular issues)
    • None

    Description

      Create an aliasesin the artifact aliases file (for example in a 2.2-SNAPSHOT server image):
      org.apache.geronimo.configs/jasper//car=org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car
      org.apache.geronimo.configs/jasper/2.1/car=org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car

      Attempt to install a plugin that has a dependency on one of these aliases. For example, attempt to install the 2.1-SNAPSHOT plugin for the jsp-examples-tomcat sample in a 2.2-SNAPSHOT server. The expectation is that the alias will be invoked for the jasper dependency and no attempt will be made to install the jasper 2.1 plugin. However, the artifact query doesn't include the aliases and therefore we attempt to download and install the 2.1 jasper plugin rather than utilizing the 2.2-SNAPSHOT version of the plugin.

      Attachments

        Activity

          People

            jbohn Joseph Alan Bohn
            jbohn Joseph Alan Bohn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: