You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2013/10/14 17:33:44 UTC
[jira] [Updated] (KARAF-2470) maven-karaf-plugin: dependency
ignored
[ https://issues.apache.org/jira/browse/KARAF-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür updated KARAF-2470:
--------------------------------------
Description:
Depending on the order of the dependencies a dependency does not show up in feature.xml
Given a pom with the following:
<dependencies>
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>rdf.ontologies</artifactId>
<version>0.12-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>utils</artifactId>
<version>0.2-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>3.0.0.RC1</version>
<extensions>true</extensions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<configuration>
<startLevel>20</startLevel>
<aggregateFeatures>true</aggregateFeatures>
<resolver>(obr)</resolver>
<checkDependencyChange>false</checkDependencyChange>
<includeTransitiveDependency>false</includeTransitiveDependency>
</configuration>
</plugin>
</plugins>
The org.apache.clerezza:utils dependency is not included in feature.xml unless the order of the two dependencies is inverted.
Possibly relevant rdf.ontologies depends on utils. So it might be that utils is removed as a transitive dependency even though it is explicitly in the pom.
was:
Depending on the order of the dependencies a dependency does not show up in feature.xml
Given a pom with the following:
<dependencies>
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>rdf.ontologies</artifactId>
<version>0.12-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>utils</artifactId>
<version>0.2-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>3.0.0.RC1</version>
<extensions>true</extensions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<configuration>
<startLevel>20</startLevel>
<aggregateFeatures>true</aggregateFeatures>
<resolver>(obr)</resolver>
<checkDependencyChange>false</checkDependencyChange>
<includeTransitiveDependency>false</includeTransitiveDependency>
</configuration>
</plugin>
</plugins>
The org.apache.clerezza:utils dependency is not included in feature.xml unless the order of the two dependencies are ignored.
Possibly relevant rdf.ontologies depends on utils. So it might be that utils is removed as a transitive dependency even though it is explicitly in the pom.
> maven-karaf-plugin: dependency ignored
> --------------------------------------
>
> Key: KARAF-2470
> URL: https://issues.apache.org/jira/browse/KARAF-2470
> Project: Karaf
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
>
> Depending on the order of the dependencies a dependency does not show up in feature.xml
> Given a pom with the following:
> <dependencies>
> <dependency>
> <groupId>org.apache.clerezza</groupId>
> <artifactId>rdf.ontologies</artifactId>
> <version>0.12-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>org.apache.clerezza</groupId>
> <artifactId>utils</artifactId>
> <version>0.2-SNAPSHOT</version>
> </dependency>
> </dependencies>
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>karaf-maven-plugin</artifactId>
> <version>3.0.0.RC1</version>
> <extensions>true</extensions>
> </plugin>
> </plugins>
> </pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>karaf-maven-plugin</artifactId>
> <configuration>
> <startLevel>20</startLevel>
> <aggregateFeatures>true</aggregateFeatures>
> <resolver>(obr)</resolver>
> <checkDependencyChange>false</checkDependencyChange>
> <includeTransitiveDependency>false</includeTransitiveDependency>
> </configuration>
> </plugin>
> </plugins>
> The org.apache.clerezza:utils dependency is not included in feature.xml unless the order of the two dependencies is inverted.
> Possibly relevant rdf.ontologies depends on utils. So it might be that utils is removed as a transitive dependency even though it is explicitly in the pom.
--
This message was sent by Atlassian JIRA
(v6.1#6144)