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/08/12 06:06:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-5731:
----------------------------------------
    Fix Version/s: 4.2.1

> 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
>             Fix For: 4.2.1
>
>         Attachments: builderror.txt, debugbuilderror.txt, pom.xml, 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)