| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| ~ 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.apache.axis2.examples</groupId> | |
| <artifactId>samples</artifactId> | |
| <version>2.0.2-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>java_first_jaxws</artifactId> | |
| <packaging>war</packaging> | |
| <name>JAXWS - Starting from Java Example</name> | |
| <inceptionYear>2004</inceptionYear> | |
| <scm> | |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection> | |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection> | |
| <url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url> | |
| <tag>HEAD</tag> | |
| </scm> | |
| <dependencies> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-kernel</artifactId> | |
| <version>2.0.2-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-jaxws</artifactId> | |
| <version>2.0.2-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-codegen</artifactId> | |
| <version>2.0.2-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-adb</artifactId> | |
| <version>2.0.2-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.sun.xml.ws</groupId> | |
| <artifactId>jaxws-rt</artifactId> | |
| <version>4.0.5</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> | |
| <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> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>3.5.1</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.9.0</version> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |