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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 4.0.6
    • Fix Version/s: 4.1.0, 4.0.6
    • Component/s: karaf
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: