You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/01/19 21:39:34 UTC
[jira] [Commented] (SM-2416) Missing HttpWagon while upgrading to
Karaf 2.4.1
[ https://issues.apache.org/jira/browse/SM-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282970#comment-14282970 ]
Krzysztof Sobkowiak commented on SM-2416:
-----------------------------------------
The problem occurs only if some artifacts necessary to build the assembly are missing. To reproduce this problem one of the artifacts should be removed, e.g.:
{code}
rm -rf ~/.m2/repository/org/apache/karaf/assemblies/features/standard/2.4.1/
{code}
The {{wagon-http-lightweight}} should be also removed from the dependencies of {{features-maven-plugin}} in {{apache-servicemix}} assembly pom file to reproduce the problem.
> Missing HttpWagon while upgrading to Karaf 2.4.1
> ------------------------------------------------
>
> Key: SM-2416
> URL: https://issues.apache.org/jira/browse/SM-2416
> Project: ServiceMix
> Issue Type: Bug
> Components: assemblies
> Affects Versions: 5.3.1, 5.4.0
> Reporter: Krzysztof Sobkowiak
> Fix For: 5.3.x, 5.4.x
>
> Attachments: WagonProblem.txt
>
>
> While upgrading to Karaf 2.4.1 I have found following problem:
> Probably upgrade to Pax Url 2.3.0 causes following problem while building the assembly (see attached file for full stacktrace)
> {code}
> java.lang.ClassNotFoundException: org.apache.maven.wagon.providers.http.HttpWagon
> {code}
> Adding {{wagon-http-lightweight}} as dependency of {{features-maven-plugin}} (like in Karaf 2.x) solves the problem, but {{wagon-http-lightweight}} is already in dependencies of {{features-maven-plugin}}.
> W should find the problem and remove the workaround in ServiceMix after it is fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)