| <!-- |
| ~ 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</groupId> |
| <artifactId>axis2</artifactId> |
| <version>1.8.0-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| <artifactId>axis2-webapp</artifactId> |
| <packaging>war</packaging> |
| <name>Apache Axis2 - Web Application module</name> |
| <url>http://axis.apache.org/axis2/java/core/</url> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/webapp</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/webapp</developerConnection> |
| <url>http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp</url> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-jibx</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-spring</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-fastinfoset</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-jaxws</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-xmlbeans</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-json</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>soapmonitor</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>addressing</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>ping</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>mex</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <classifier>impl</classifier> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>scripting</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-corba</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>version</artifactId> |
| <version>${project.version}</version> |
| <type>aar</type> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- Not required for the Maven build, but necessary to avoid errors when |
| importing the project into an IDE. --> |
| <groupId>jakarta.servlet.jsp</groupId> |
| <artifactId>jakarta.servlet.jsp-api</artifactId> |
| <version>2.3.6</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-mtompolicy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-jaxws-mar</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-clustering</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-local</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-jms</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-mail</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-tcp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-udp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>axis2-transport-xmpp</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>jivesoftware</groupId> |
| <artifactId>smack</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jivesoftware</groupId> |
| <artifactId>smackx</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <!-- codegen is required for Rampart because of AXIS2-4265 --> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-codegen</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>mex</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>mtompolicy</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.taglibs</groupId> |
| <artifactId>taglibs-standard-spec</artifactId> |
| <version>1.2.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.taglibs</groupId> |
| <artifactId>taglibs-standard-impl</artifactId> |
| <version>1.2.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ws.commons.axiom</groupId> |
| <artifactId>axiom-jaxb</artifactId> |
| </dependency> |
| </dependencies> |
| <build> |
| <finalName>axis2-${project.version}</finalName> |
| <resources> |
| <resource> |
| <directory>${project.build.directory}/kernel/conf</directory> |
| <includes> |
| <include>*.properties</include> |
| <include>log4j2.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.apache.axis2:axis2-resource-bundle:${project.version}</resourceBundle> |
| </resourceBundles> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.axis2</groupId> |
| <artifactId>axis2-repo-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>create-repository</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/webResources/WEB-INF</outputDirectory> |
| <stripServiceVersion>false</stripServiceVersion> |
| <generateFileLists>true</generateFileLists> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- Compile the JSPs so that syntax errors are detected during the build. --> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-jspc-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>jspc</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <!-- We don't want to keep the generated classes; we just want to validate the JSPs --> |
| <generatedClasses>${project.build.directory}/jspc</generatedClasses> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <!-- We copy the axis2.xml file to the target/webResources directory |
| (instead of letting the maven-war-plugin do the job) so that |
| the file is found by maven-jetty-plugin. --> |
| <id>copy-axis2-xml</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/webResources/WEB-INF/conf</outputDirectory> |
| <resources> |
| <resource> |
| <directory>conf</directory> |
| <includes> |
| <include>axis2.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-kernel-conf-properties</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/kernel/conf</outputDirectory> |
| <resources> |
| <resource> |
| <directory>../kernel/conf</directory> |
| <includes> |
| <include>*.properties</include> |
| <include>log4j2.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/webResources</outputDirectory> |
| <includeArtifactIds>axis2-soapmonitor-servlet</includeArtifactIds> |
| <includes>org/apache/axis2/soapmonitor/applet/**/*.class</includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <warName>axis2</warName> |
| <archive> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| <webXml>conf/web.xml</webXml> |
| <!-- This is basically the same list as in modules/distribution/src/main/assembly/bin-assembly.xml --> |
| <packagingExcludes> |
| WEB-INF/lib/spring-beans-*.jar, |
| WEB-INF/lib/spring-context-*.jar, |
| WEB-INF/lib/spring-core-*.jar, |
| WEB-INF/lib/spring-web-*.jar, |
| WEB-INF/lib/aopalliance-*.jar, |
| WEB-INF/lib/bsf-*.jar, |
| WEB-INF/lib/FastInfoset-*.jar, |
| WEB-INF/lib/js-*.jar |
| </packagingExcludes> |
| <webResources> |
| <resource> |
| <directory>${project.build.directory}/webResources</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../legal</directory> |
| <targetPath>WEB-INF/lib</targetPath> |
| <includes> |
| <include>*.txt</include> |
| </includes> |
| <excludes> |
| <exclude>servlet*.txt</exclude> |
| </excludes> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <!-- Attach a JAR with the Webapp classes for use as a dependency in user projects. --> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>classes</classifier> |
| <excludes> |
| <!-- Properties must be copied to target/classes so that they are loaded |
| by the Jetty plugin, but we don't want to include them in the JAR. |
| Our only option is therefore to exclude them here (which means that we |
| can't use the attachClasses property on the maven-war-plugin). --> |
| <exclude>*.properties</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <configuration> |
| <webXml>conf/web.xml</webXml> |
| <contextXml>conf/jetty.xml</contextXml> |
| <webAppConfig> |
| <contextPath>/axis2</contextPath> |
| <baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection"> |
| <resourcesAsCSV>${project.build.directory}/webResources,src/main/webapp</resourcesAsCSV> |
| </baseResource> |
| </webAppConfig> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |