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

Mohammad Shamsi commented on KARAF-3994:
----------------------------------------

The feature.cfg has the correct version numbers: 
{code}
featuresBoot = \
    (wrap), \
    aries-blueprint, \
    bundle, \
    config, \
    cxf-jaxrs/3.0.3, \
    deployer, \
    diagnostic, \
    feature, \
    hibernate/4.3.6.Final, \
    instance, \
    jaas, \
    jndi, \
    jpa/2.1.0, \
    kar, \
    log, \
    management, \
    package, \
    service, \
    shell, \
    shell-compat, \
    ssh, \
    system, \
    transaction, \
{code}





> karaf-maven-plugin is ignoring the feature version and installing all 
> available versions of given feature in the repository.  
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3994
>                 URL: https://issues.apache.org/jira/browse/KARAF-3994
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.1
>            Reporter: Mohammad Shamsi
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.2
>
>
> To Reproduce:
> a karaf-maven-plugin with only feature jpa/2.1.0 is installing both jpa 2.1.0 
> and 1.0.4 features (from enterprise repository). 
> {code:xml}
> <configuration>
>     <startupFeatures/>
>     <bootFeatures>
>            <feature>jpa/2.1.0</feature>
>     </bootFeatures>
>    <installedFeatures/>
> </configuration>
> {code}
> In the console, one can see the following log, which is showing both features 
> are being installed: 
> {code}
> [INFO] Feature jpa is defined as a boot feature
> [INFO] == Installing artifact 
> mvn:org.apache.felix/org.apache.felix.coordinator/1.0.0
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/2.1.0
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/2.1.0
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/2.1.0
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.support/2.1.0
> [INFO] Feature jpa is defined as a boot feature
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/1.0.4
> [INFO] == Installing artifact mvn:org.apache.aries/org.apache.aries.util/1.1.0
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/1.0.2
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/1.0.2
> [INFO] == Installing artifact 
> mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/1.0.4
> {code}



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

Reply via email to