You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/08/09 09:25:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15413262#comment-15413262 ] 

ASF subversion and git services commented on KARAF-4626:
--------------------------------------------------------

Commit 61c5476199752846bcb516111345f349381c2e57 in karaf's branch refs/heads/master from [~roland.hauser@bechtle.ch]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=61c5476 ]

[KARAF-4626] Properly transfer the system properties to the request


> 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)