karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-2630) GenerateDescriptorMojo does not resolve conflicts
Date Tue, 08 Apr 2014 16:16:17 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-2630:
----------------------------------------

    Fix Version/s:     (was: 3.0.1)
                   3.0.2

> GenerateDescriptorMojo does not resolve conflicts
> -------------------------------------------------
>
>                 Key: KARAF-2630
>                 URL: https://issues.apache.org/jira/browse/KARAF-2630
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0.RC1
>            Reporter: Maarten Winkels
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.2
>
>         Attachments: karaf-2630.patch
>
>
> When a feature project has two different versions of a dependency in its graph, both
versions are included in the generated feature.xml
> e.g.:
> DependencyTree:
> {code}...
>  |     +- org.activiti:activiti-engine:jar:5.15-SNAPSHOT:compile
>  |     |  +- org.activiti:activiti-bpmn-converter:jar:5.15-SNAPSHOT:compile
>  |     |  |  +- org.activiti:activiti-bpmn-model:jar:5.15-SNAPSHOT:compile
>  |     |  |  |  +- (org.apache.commons:commons-lang3:jar:3.1:compile - omitted for duplicate)
>  |     |  |  |  \- (org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile - version
managed from 1.9.9; omitted for duplicate)
>  |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:provided - version managed from 1.7.2;
scope managed from compile; omitted for duplicate)
>  |     |  |  +- (org.slf4j:jcl-over-slf4j:jar:1.7.2:compile - omitted for duplicate)
>  |     |  |  \- (org.apache.commons:commons-lang3:jar:3.1:compile - omitted for duplicate)
>  |     |  +- org.apache.commons:commons-email:jar:1.2:compile
>  |     |  |  +- javax.mail:mail:jar:1.4.1:provided (scope managed from compile)
>  |     |  |  |  \- (javax.activation:activation:jar:1.1.1:provided - version managed
from 1.1; scope managed from compile; omitted for duplicate)
>  |     |  |  \- javax.activation:activation:jar:1.1.1:provided
>  |     |  +- org.apache.commons:commons-lang3:jar:3.1:compile
>  |     |  +- org.mybatis:mybatis:jar:3.2.2:compile
>  |     |  +- (org.springframework:spring-beans:jar:3.2.4.RELEASE:provided - version managed
from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |     |  +- joda-time:joda-time:jar:2.1:compile
>  |     |  +- org.slf4j:slf4j-api:jar:1.7.5:provided
>  |     |  \- org.slf4j:jcl-over-slf4j:jar:1.7.2:compile
>  |     |     \- (org.slf4j:slf4j-api:jar:1.7.5:provided - version managed from 1.7.2;
scope managed from compile; omitted for duplicate)
>  |     \- org.activiti:activiti-spring:jar:5.14:compile
>  |        +- (org.activiti:activiti-engine:jar:5.14:compile - omitted for conflict with
5.15-SNAPSHOT)
>  |        +- (org.springframework:spring-context:jar:3.2.4.RELEASE:provided - version
managed from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        +- (org.springframework:spring-jdbc:jar:3.2.4.RELEASE:provided - version managed
from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        +- (org.springframework:spring-tx:jar:3.2.4.RELEASE:provided - version managed
from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        +- (org.apache.commons:commons-lang3:jar:3.1:compile - omitted for duplicate)
>  |        +- org.springframework:spring-orm:jar:3.2.4.RELEASE:provided (version managed
from 3.1.2.RELEASE; scope managed from compile)
>  |        |  +- (aopalliance:aopalliance:jar:1.0:provided - scope managed from compile;
omitted for duplicate)
>  |        |  +- (org.springframework:spring-beans:jar:3.2.4.RELEASE:provided - version
managed from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        |  +- (org.springframework:spring-core:jar:3.2.4.RELEASE:provided - version
managed from 3.0.7.RELEASE; scope managed from compile; omitted for duplicate)
>  |        |  +- (org.springframework:spring-jdbc:jar:3.2.4.RELEASE:provided - version
managed from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        |  \- (org.springframework:spring-tx:jar:3.2.4.RELEASE:provided - version managed
from 3.1.2.RELEASE; scope managed from compile; omitted for duplicate)
>  |        +- commons-dbcp:commons-dbcp:jar:1.4:compile
>  |        |  \- commons-pool:commons-pool:jar:1.5.4:compile
>  |        +- (org.slf4j:slf4j-api:jar:1.7.5:provided - version managed from 1.7.2; scope
managed from compile; omitted for duplicate)
>  |        \- (org.slf4j:jcl-over-slf4j:jar:1.7.2:compile - omitted for duplicate)
> ...{code}
> generated feature.xml:
> {code}...
>         <bundle>mvn:org.activiti/activiti-engine/5.15-SNAPSHOT</bundle>
>         <bundle>mvn:org.activiti/activiti-bpmn-converter/5.15-SNAPSHOT</bundle>
>         <bundle>mvn:org.activiti/activiti-bpmn-model/5.15-SNAPSHOT</bundle>
>         <bundle>mvn:org.apache.commons/commons-lang3/3.1</bundle>
>         <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.13</bundle>
>         <bundle>mvn:org.slf4j/slf4j-api/1.7.5</bundle>
>         <bundle>mvn:org.slf4j/jcl-over-slf4j/1.7.2</bundle>
>         <bundle>mvn:org.apache.commons/commons-email/1.2</bundle>
>         <bundle>wrap:mvn:javax.mail/mail/1.4.1</bundle>
>         <bundle>wrap:mvn:javax.activation/activation/1.1.1</bundle>
>         <bundle>mvn:org.mybatis/mybatis/3.2.2</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-beans/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-core/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:commons-logging/commons-logging/1.1.1</bundle>
>         <bundle>mvn:joda-time/joda-time/2.1</bundle>
>         <bundle>mvn:org.activiti/activiti-spring/5.14</bundle>
>         <bundle>mvn:org.activiti/activiti-engine/5.14</bundle>
>         <bundle>mvn:org.activiti/activiti-bpmn-converter/5.14</bundle>
>         <bundle>mvn:org.activiti/activiti-bpmn-model/5.14</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-context/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-aop/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:aopalliance/aopalliance/1.0</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-expression/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-jdbc/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-tx/3.2.4.RELEASE</bundle>
>         <bundle>wrap:mvn:org.springframework/spring-orm/3.2.4.RELEASE</bundle>
>         <bundle>mvn:commons-dbcp/commons-dbcp/1.4</bundle>
>         <bundle>mvn:commons-pool/commons-pool/1.5.4</bundle>
> ...{code}
> so org.activiti/activiti-engine appears twice in feature.xml, once for 5.15-SNAPSHOT
and once for 5.14.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message