karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Hauser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4626) Feature build fails when version-ranges are enabled and a transitive dependency needs system properties
Date Fri, 15 Jul 2016 13:11:20 GMT
Roland Hauser created KARAF-4626:
------------------------------------

             Summary: Feature build fails when version-ranges are enabled and a transitive
dependency needs system properties
                 Key: KARAF-4626
                 URL: https://issues.apache.org/jira/browse/KARAF-4626
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 4.0.5, 4.1.0
            Reporter: Roland Hauser


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message