| <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"> |
| |
| <!-- |
| |
| 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-wsdl-first</artifactId> |
| <version>4.1.0-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.apache.servicemix.examples.cxf-wsdl-first</groupId> |
| <artifactId>wsdl-first-cxfse-su</artifactId> |
| <packaging>jbi-service-unit</packaging> |
| <name>ServiceMix :: Samples :: WSDL first :: CXF SE</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-cxf-se</artifactId> |
| <version>${servicemix-cxf-se-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.xml.ws</groupId> |
| <artifactId>jaxws-api</artifactId> |
| <version>2.1-1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.annotation</groupId> |
| <artifactId>jsr250-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.xml.soap</groupId> |
| <artifactId>saaj-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.xml.stream</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jsr173_api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.jws</groupId> |
| <artifactId>jsr181-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.jws</groupId> |
| <artifactId>jsr181</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${cxf.version}</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <configuration> |
| <sourceRoot>${basedir}/target/jaxws</sourceRoot> |
| <wsdlOptions> |
| <wsdlOption> |
| <wsdl>${basedir}/src/main/resources/person.wsdl</wsdl> |
| <extraargs> |
| <extraarg>-verbose</extraarg> |
| </extraargs> |
| </wsdlOption> |
| |
| </wsdlOptions> |
| |
| </configuration> |
| <goals> |
| <goal>wsdl2java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>jbi-maven-plugin</artifactId> |
| <version>${servicemix-jbi-plugin-version}</version> |
| <extensions>true</extensions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |