You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/05/03 13:12:00 UTC

[jira] [Commented] (KARAF-5731) karaf.maven.plugin assembly fails to find feature that is present and previously loaded

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

Jean-Baptiste Onofré commented on KARAF-5731:
---------------------------------------------

It seems that the problem is around the version range in the Camel features XML. Let me try to reproduce to double check.

> karaf.maven.plugin assembly fails to find feature that is present and previously loaded
> ---------------------------------------------------------------------------------------
>
>                 Key: KARAF-5731
>                 URL: https://issues.apache.org/jira/browse/KARAF-5731
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-build
>    Affects Versions: 4.2.0
>            Reporter: Steve Chapman
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>         Attachments: builderror.txt, debugbuilderror.txt, pom.xml
>
>
> Following the karaf manual to create a custom karaf distribution with camel pre-installed. I have followed the documented custom distribution example here [https://karaf.apache.org/manual/latest/#_custom_distributions] simply replacing spring/4.2.0 with camel/2.20.3. But the build fails with error "could not find matching feature for spring/[4.1,5) even though spring feature at version 4.2.0 is present.
> When I change the pom to add spring/4.2.0 and not camel/2.20.3 it builds without errors.
> I have tried all types of variations with spring and camel levels older and newer and also with leaving both spring and camel features in the build together.
> pom.xml attached.
> builderror.txt is console output for a non debug 'mvn install'
> debugbuilderror.txt is console output for a 'mvn clean install' with debug.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)