| <?xml version="1.0"?> |
| <!-- |
| 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. |
| --> |
| <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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>cxf-rt-transports-http-netty-server</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache CXF Runtime HTTP Netty Server Transport</name> |
| <description>Apache CXF Runtime HTTP Netty Server Transport</description> |
| <url>http://cxf.apache.org</url> |
| <parent> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-parent</artifactId> |
| <version>3.3.1-SNAPSHOT</version> |
| <relativePath>../../../../parent/pom.xml</relativePath> |
| </parent> |
| <properties> |
| <cxf.module.name>org.apache.cxf.transport.http.netty.server</cxf.module.name> |
| <cxf.bundle.activator>org.apache.cxf.transport.http.netty.server.blueprint.Activator</cxf.bundle.activator> |
| <cxf.osgi.import> |
| javax.servlet*;version="[2,4)", |
| io.netty.*;version="${cxf.netty.version.range}", |
| javax.annotation;version="${cxf.osgi.javax.annotation.version}", |
| org.apache.aries*;version="${cxf.aries.version.range}";resolution:=optional, |
| org.osgi.service.blueprint*;resolution:=optional, |
| org.springframework*;resolution:="optional";version="${cxf.osgi.spring.version}", |
| javax.xml.bind*;version="${cxf.osgi.javax.bind.version}" |
| </cxf.osgi.import> |
| <cxf.osgi.export> |
| org.apache.cxf.*, |
| </cxf.osgi.export> |
| <!-- keep in sync with services exported in activator --> |
| <cxf.export.service> |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://cxf.apache.org/transports/http-netty-server/configuration" |
| </cxf.export.service> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec-http</artifactId> |
| <version>${cxf.netty.version}</version> |
| </dependency> |
| <dependency> |
| <!-- we don't implement the servlet 3.0 specification here --> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.core</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>blueprint-parser</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <!-- testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-testutils</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-testutils</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <classifier>keys</classifier> |
| </dependency> |
| <!-- Need to run some integration with jaxws frond end --> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-xjc-plugin</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| <executions> |
| <execution> |
| <id>generate-sources</id> |
| <phase>generate-sources</phase> |
| <configuration> |
| <fork>${cxf.xjcplugin.forkmode}</fork> |
| <additionalJvmArgs>${cxf.xjc.jvmArgs}</additionalJvmArgs> |
| <extensions> |
| <extension>org.apache.cxf.xjcplugins:cxf-xjc-bug986:${cxf.xjc-utils.version}</extension> |
| <extension>org.apache.cxf.xjcplugins:cxf-xjc-dv:${cxf.xjc-utils.version}</extension> |
| </extensions> |
| <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> |
| <xsdOptions> |
| <xsdOption> |
| <extensionArgs> |
| <arg>-Xbug986</arg> |
| <arg>-Xdv</arg> |
| </extensionArgs> |
| <xsd>${basedir}/src/main/resources/schemas/configuration/http-netty-server.xsd</xsd> |
| <catalog>${basedir}/src/main/build-resources/catalog.cat</catalog> |
| <deleteDirs> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/apache/cxf/wsdl</deleteDir> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/apache/cxf/configuration/security</deleteDir> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/apache/cxf/transports/http/configuration</deleteDir> |
| </deleteDirs> |
| </xsdOption> |
| </xsdOptions> |
| </configuration> |
| <goals> |
| <goal>xsdtojava</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |