| <!-- |
| ~ 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> |
| <parent> |
| <groupId>org.apache.axis2.examples</groupId> |
| <artifactId>samples</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </parent> |
| <artifactId>java_first_jaxws</artifactId> |
| <name>JAXWS - Starting from Java Example</name> |
| <packaging>war</packaging> |
| <inceptionYear>2004</inceptionYear> |
| |
| <dependencies> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-kernel</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-jaxws</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-codegen</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-adb</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.ws</groupId> |
| <artifactId>jaxws-rt</artifactId> |
| <version>2.1.3</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml.ws</groupId> |
| <artifactId>jaxws-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.messaging.saaj</groupId> |
| <artifactId>saaj-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.stream.buffer</groupId> |
| <artifactId>streambuffer</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.stream</groupId> |
| <artifactId>sjsxp</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jvnet.staxex</groupId> |
| <artifactId>stax-ex</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.org.apache.xml.internal</groupId> |
| <artifactId>resolver</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jvnet</groupId> |
| <artifactId>mimepull</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.3.2</version> |
| <configuration> |
| <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- Also build the JAR during the package phase. The JAR is required |
| when deploying on axis2server. --> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <classifier>classes</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- This allows to run the sample on an embedded servlet container |
| using the following command: mvn cargo:start --> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-maven2-plugin</artifactId> |
| <version>1.8.5</version> |
| </plugin> |
| </plugins> |
| <sourceDirectory>src/main</sourceDirectory> |
| <testSourceDirectory>src/test</testSourceDirectory> |
| <resources> |
| <resource> |
| <directory>src/main</directory> |
| <includes> |
| <include>**/*.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test</directory> |
| <includes> |
| <include>**/*.xml</include> |
| <include>**/*.properties</include> |
| <include>**/*.wsdl</include> |
| </includes> |
| </testResource> |
| </testResources> |
| </build> |
| </project> |