Ge@@ru created KARAF-5465:
-----------------------------
Summary: 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
Components: karaf-tooling
Affects Versions: 4.0.9
Reporter: Ge@@ru
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>ews-fetcher</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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)