[ 
https://issues.apache.org/jira/browse/SLING-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117362#comment-14117362
 ] 

Marcel Reutegger commented on SLING-3883:
-----------------------------------------

Any feedback on this?

> Merging partial bundle list with properties fails
> -------------------------------------------------
>
>                 Key: SLING-3883
>                 URL: https://issues.apache.org/jira/browse/SLING-3883
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Maven Launchpad Plugin 2.3.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: SLING-3883.patch
>
>
> Merging a partial bundle list fails when the current list contains references 
> to properties e.g. in the POM.
> In my case I want to override a dependency and have the actual version 
> defined as a property in the POM. I get an error like this when I run my 
> build:
> {noformat}
> Caused by: java.lang.IllegalArgumentException: invalid qualifier: 
> ${oak_version}
>       at org.osgi.framework.Version.validate(Version.java:188)
>       at org.osgi.framework.Version.<init>(Version.java:154)
>       at 
> org.apache.sling.maven.projectsupport.bundlelist.BaseBundleList.add(BaseBundleList.java:93)
>       at 
> org.apache.sling.maven.projectsupport.bundlelist.BaseBundleList.merge(BaseBundleList.java:64)
>       at 
> org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo.initBundleList(AbstractUsingBundleListMojo.java:269)
>       at 
> org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo.execute(AbstractUsingBundleListMojo.java:172)
> {noformat}
> The actual version is resolved too late in 
> {{AbstractUsingBundleListMojo.initBundleList()}}.



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

Reply via email to