You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Roland Hauser (JIRA)" <ji...@apache.org> on 2016/07/15 13:11:20 UTC
[jira] [Created] (KARAF-4626) Feature build fails when
version-ranges are enabled and a transitive dependency needs system
properties
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)