Karl Leopold created KARAF-3336:
-----------------------------------

             Summary: Feature apache-cxf has dependency typo
                 Key: KARAF-3336
                 URL: https://issues.apache.org/jira/browse/KARAF-3336
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 3.0.1
            Reporter: Karl Leopold


Everytime I build a feature depending on apache-cxf (with aggregateFeatures 
flag set true), I get the following  build error:
{code}
[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.1:features-create-kar 
(default-features-create-kar) on project nest-core-feature: Failed to create 
archive: Failure to find javax.el:javax.el-api:jar:3.0-b2 in 
http://repo.nrs.ipoque/content/repositories/central/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
central has elapsed or updates are forced
{code}
This is because of this feature:
{code}
    <feature name="cxf-bean-validation-java6" version="3.0.1" resolver="(obr)">
        <feature version="3.0.1">cxf-bean-validation-core</feature>
        <bundle start-level="30" 
dependency="true">mvn:javax.el/javax.el-api/3.0-b2</bundle>
        <bundle start-level="30" 
dependency="true">mvn:org.glassfish/javax.el/3.0-b1</bundle>
    </feature>

{code}
The versions are wrong: 3.0-b2 should be 3.0-b*0*2 , 3.0-b1 should be 3.0-b*0*1



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

Reply via email to