Skip to content

Instantly share code, notes, and snippets.

@matejf

matejf/pom.xml

Created Nov 16, 2017
Embed
What would you like to do?
Creating Karaf feature repository with CXF 3.2.0 feature - pax-cdi-features issue.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>features</groupId>
<artifactId>features-repo</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<executions>
<execution>
<id>add-features-to-repo</id>
<phase>generate-resources</phase>
<goals>
<goal>features-add-to-repository</goal>
</goals>
<configuration>
<descriptors>
<!-- List the URLs of required feature repositories here -->
<descriptor>mvn:org.apache.karaf.features/enterprise/4.0.10/xml/features</descriptor>
<!--<descriptor>mvn:org.apache.cxf.karaf/apache-cxf/3.1.14/xml/features</descriptor>-->
<descriptor>mvn:org.apache.cxf.karaf/apache-cxf/3.2.0/xml/features</descriptor>
</descriptors>
<features>
<!-- List features you want in the offline repo here -->
<feature>cxf</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.