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

Guillaume Nodet commented on KARAF-3531:
----------------------------------------

I think this should be fixed in Karaf 4.x branch.
The karaf maven plugin should now copy the wrapped bundle into system/generated 
and point to that one instead.

> SimpleMavenResolver does not handle wrap: prefix in mvn urls
> ------------------------------------------------------------
>
>                 Key: KARAF-3531
>                 URL: https://issues.apache.org/jira/browse/KARAF-3531
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.3
>            Reporter: Ed Warnicke
>
> If you have a dependency on:
> <!-- karaf standard features -->
>     <dependency>
>       <groupId>org.apache.karaf.features</groupId>
>       <artifactId>standard</artifactId>
>       <version>${karaf.version}</version>
>       <type>xml</type>
>       <classifier>features</classifier>
>     </dependency>
> Note: compile scope... this will cause a radical overpopulation of 
> startup.properties which will result in a listing with a wrap: prefix which 
> will
> then cause a failure of karaf startup because the SimpleMavenResolver does 
> not have any logic to deal with a wrap:mvn:<groupId>/<artifactId> (because it 
> presumes all mvn urls are prefixed with mvn:).  As a result you will get a 
> failure on first karaf startup, and on subsequent startups you will get a 
> partial resolution case.
> Suggested solution: check for the wrap: prefix in SimpleMavenResolver and 
> handle it correctly.



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

Reply via email to