| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright 2005-2014 Red Hat, Inc. |
| |
| Red Hat licenses this file to you under the Apache License, version |
| 2.0 (the "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| implied. See the License for the specific language governing |
| permissions and limitations under the License. |
| |
| --> |
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>stratos-dependencies-fabric8</artifactId> |
| <version>4.1.5</version> |
| </parent> |
| |
| <artifactId>kubernetes-api</artifactId> |
| <version>2.2.16</version> |
| <packaging>bundle</packaging> |
| <name>Fabric8 :: Kubernetes API</name> |
| <description> |
| This is a wrapper bundle for Fabric8 Kubernetes API for exposing proper bundle import |
| & export statements and packaging apache cxf dependencies which cannot be imported into |
| carbon runtime as separate bundles at the moment. |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-base</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.module</groupId> |
| <artifactId>jackson-module-jaxb-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>kubernetes-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>cxf-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>kubernetes-model</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-yaml</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>net.oauth.core</groupId> |
| <artifactId>oauth</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ws.xmlschema</groupId> |
| <artifactId>xmlschema-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>fabric8-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>dnsjava</groupId> |
| <artifactId>dnsjava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty.websocket</groupId> |
| <artifactId>websocket-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </dependency> |
| <!-- testing --> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!-- lets force the codegen to run first --> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>kubernetes-codegen</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <inherited>false</inherited> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Name>${project.artifactId}</Bundle-Name> |
| <Export-Package> |
| io.fabric8.kubernetes.api.*;version=${kubernetes.api.version}, |
| io.fabric8.kubernetes.api.model.*;version=${kubernetes.api.version}, |
| io.fabric8.kubernetes.internal.*;version=${kubernetes.api.version} |
| </Export-Package> |
| <Import-Package> |
| !javax.xml.bind.annotation.adapters, |
| *;resolution:=optional |
| </Import-Package> |
| <DynamicImport-Package>*</DynamicImport-Package> |
| <Embed-Dependency> |
| jackson-annotations,jackson-core,jackson-databind,jackson-jaxrs-base,jackson-jaxrs-json-provider, |
| jackson-module-jaxb-annotations,jackson-dataformat-yaml,javax.annotation-api,javax.ws.rs-api, |
| jetty-io,jetty-util,json,oauth,xmlschema-core,fabric8-utils,cxf-utils, |
| cxf-rt-rs-client,cxf-rt-transports-http,cxf-rt-frontend-jaxrs,cxf-core,dnsjava |
| </Embed-Dependency> |
| <Embed-Transitive>true</Embed-Transitive> |
| <Embed-Directory>lib</Embed-Directory> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>io.fabric8.kubernetes.api.Example</mainClass> |
| <classpathScope>test</classpathScope> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |