You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/09/12 08:07:33 UTC
[jira] [Assigned] (SLING-3883) Merging partial bundle list with
properties fails
[ https://issues.apache.org/jira/browse/SLING-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned SLING-3883:
---------------------------------------
Assignee: Carsten Ziegeler
> 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
> Assignee: Carsten Ziegeler
> 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)