karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3531) SimpleMavenResolver does not handle wrap: prefix in mvn urls
Date Tue, 03 Oct 2017 11:20:00 GMT

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

Jean-Baptiste Onofré resolved KARAF-3531.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.11
                   4.1.3
                   4.2.0

> 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
>             Fix For: 4.2.0, 4.1.3, 4.0.11
>
>
> 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.4.14#64029)

Mime
View raw message