Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4626

Feature build fails when version-ranges are enabled and a transitive dependency needs system properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0, 4.0.6
    • 4.1.0, 4.0.6
    • karaf
    • None

    Description

      The build failure happens, when the POM of a transitive dependency needs system properties, for instance to activate a profile. This only happens if the karaf-maven-plugin is configured with useVersionRange=true and includeTransitiveVersionRanges=true. To fix this issue, the system properties should be set on the ProjectBuildingRequest object in GenerateDescriptorMojo#resolveProject.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              roland.hauser@bechtle.ch Roland Hauser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: