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

Transitive Dependencies in a profile are not used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.0
    • None
    • Plugins and Lifecycle
    • None
    • Windows XP using Maven 2.0.

    Description

      I have a jar project file that defines a dependency inside a certain profile. If I then include that project inside of another war project, the dependencies defined in the jar project's profile isn't getting transferred over to the war.

      Ie we have this:
      A depends on SQL or Oracle depending on profile
      B depends on A.
      If sql profile is active, I would expect that when I build B, it pulls
      the transitive dependancy on sql from A.

      Attachments

        1. mng1388.pom
          0.3 kB
          Robert Scholte

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbradicich Damian Bradicich
              Votes:
              26 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated: