Created
July 23, 2015 20:51
-
-
Save bimargulies/89582c7edb30214773b0 to your computer and use it in GitHub Desktop.
karaf 4.0.0 pom attempt
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" standalone="no"?> | |
<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> | |
<parent> | |
<artifactId>anvils-prototype</artifactId> | |
<groupId>com.basistech.ws</groupId> | |
<version>0.0.1-SNAPSHOT</version> | |
</parent> | |
<artifactId>karaf-rest-service</artifactId> | |
<packaging>kar</packaging> | |
<name>karaf-rest-service</name> | |
<description>Rosette SDK component(s) as a restful service in a | |
Karaf container. | |
</description> | |
<properties> | |
<cxf.version>3.1.1</cxf.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.cxf.karaf</groupId> | |
<artifactId>apache-cxf</artifactId> | |
<version>${cxf.version}</version> | |
<classifier>features</classifier> | |
<type>xml</type> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.core</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.basistech</groupId> | |
<artifactId>adm-model-osgi</artifactId> | |
<version>${bt-adm-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.basistech</groupId> | |
<artifactId>adm-json-osgi</artifactId> | |
<version>${bt-adm-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.basistech.osgi</groupId> | |
<artifactId>rosette-osgi-api</artifactId> | |
<version>${rosette-osgi-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.basistech.osgi</groupId> | |
<artifactId>rosette-osgi-api-impl</artifactId> | |
<version>${rosette-osgi-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.dataformat</groupId> | |
<artifactId>jackson-dataformat-yaml</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.basistech.rbl</groupId> | |
<artifactId>rbl-osgi</artifactId> | |
<version>7.13.102.c57.0</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>${project.artifactId}</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.karaf.tooling</groupId> | |
<artifactId>karaf-maven-plugin</artifactId> | |
<extensions>true</extensions> | |
</plugin> | |
<plugin> | |
<groupId>com.basistech</groupId> | |
<artifactId>bbh-maven-plugin</artifactId> | |
<version>1.0.0</version> | |
<executions> | |
<execution> | |
<id>osgi-version</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>osgi-version</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<archive> | |
<addMavenDescriptor>true</addMavenDescriptor> | |
</archive> | |
<instructions> | |
<Bundle-Version>${osgi-version}</Bundle-Version> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-java2wadl-plugin</artifactId> | |
<version>3.0.1</version> | |
<executions> | |
<execution> | |
<id>parsejavadoc</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>parsejavadoc</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>process-classes</id> | |
<phase>process-classes</phase> | |
<goals> | |
<goal>java2wadl</goal> | |
</goals> | |
<configuration> | |
<classResourceNames> | |
<classResourceName>com.basistech.raas.annotatorservice.AnnotatorService | |
</classResourceName> | |
</classResourceNames> | |
<docProvider>org.apache.cxf.maven_plugin.javatowadl.ResourceMapJavaDocProvider</docProvider> | |
<attachWadl>false</attachWadl> | |
</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