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 2020/10/08 14:36:00 UTC
[jira] [Deleted] (KARAF-5465) features-maven-plugin: Descriptor of
the project is not added on system repository with goal
add-features-to-repo
[ https://issues.apache.org/jira/browse/KARAF-5465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré deleted KARAF-5465:
----------------------------------------
> features-maven-plugin: Descriptor of the project is not added on system repository with goal add-features-to-repo
> -----------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-5465
> URL: https://issues.apache.org/jira/browse/KARAF-5465
> Project: Karaf
> Issue Type: Bug
> Reporter: Ge@@ru
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> karaf-maven-plugin: 4.1.3
> features-maven-plugin: 2.4.4
> Pom parent is a dep-manager that has as parent:
> <parent>
> <groupId>org.apache.servicemix.parent</groupId>
> <artifactId>features-parent</artifactId>
> <version>7.0.1</version>
> </parent>
> {code:xml}
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>add-features-to-repo</id>
> <goals>
> <goal>add-features-to-repo</goal>
> </goals>
> <phase>generate-resources</phase>
> <configuration>
> <karafVersion>${karaf.version}</karafVersion>
> <descriptors>
> <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.version}/xml/features</descriptor>
> <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor>
> <descriptor>mvn:org.apache.servicemix.features/servicemix-features/${servicemix.version}/xml/features</descriptor>
> <descriptor>file:${project.build.directory}/feature/feature.xml</descriptor>
> </descriptors>
> <features>
> <feature>my-features-on-local</feature>
> </features>
> <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
> <repository>target/system</repository>
> </configuration>
> </execution>
> </executions>
> <dependencies>
> <dependency>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-http-lightweight</artifactId>
> <version>2.6</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
> features.xml of descriptors with mvn: prefix are correctly inserted but not descriptors with file: prefix.
> Also jar of my-features-on-local inside local target/features/feature.xml are inserted correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)