You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/08/09 09:26:20 UTC

[jira] [Resolved] (KARAF-4626) Feature build fails when version-ranges are enabled and a transitive dependency needs system properties

     [ https://issues.apache.org/jira/browse/KARAF-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-4626.
-----------------------------------------
    Resolution: Fixed

> 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.1.0, 4.0.6
>            Reporter: Roland Hauser
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.6
>
>
> 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)