Created
November 16, 2017 11:34
-
-
Save matejf/55ee928a37a6affb90f040a9fad50bae to your computer and use it in GitHub Desktop.
Creating Karaf feature repository with CXF 3.2.0 feature - pax-cdi-features issue.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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