| <?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"> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.servicemix.examples</groupId> |
| <artifactId>cxf</artifactId> |
| <version>4.5.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>cxf-jaxrs-blueprint</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Features :: Examples :: CXF JAX-RS OSGI Blueprint</name> |
| <description>CXF Example using JAX-RS and Blueprint</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.jsr311-api-1.1.1</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Description>${project.description}</Bundle-Description> |
| <Import-Package> |
| javax.wsdl, |
| javax.xml.bind, |
| javax.xml.bind.annotation, |
| javax.ws.rs, |
| javax.ws.rs.core, |
| org.apache.commons.httpclient, |
| org.apache.commons.httpclient.methods, |
| org.osgi.service.blueprint |
| </Import-Package> |
| <Export-Package> |
| org.apache.servicemix.examples.cxf.jaxrs |
| </Export-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>org.apache.servicemix.examples.cxf.jaxrs.client.Client</mainClass> |
| <includePluginDependencies>false</includePluginDependencies> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |