| <?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</groupId> | |
| <artifactId>axis2</artifactId> | |
| <version>2.0.3-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: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> | |
| <!-- removed: AXIS2-6105 --> | |
| <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> | |
| <!-- axis2-fastinfoset removed: AXIS2-6105 --> | |
| <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> | |
| <!-- removed: AXIS2-6105 --> | |
| <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> | |
| <!-- removed: AXIS2-6105 --> | |
| <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>jakarta.servlet</groupId> | |
| <artifactId>jakarta.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>4.0.0</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>${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-tcp</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>${project.groupId}</groupId> | |
| <artifactId>axis2-transport-udp</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <!-- AXIS2-6106: axis2-transport-xmpp removed --> | |
| <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>jakarta.servlet.jsp.jstl</groupId> | |
| <artifactId>jakarta.servlet.jsp.jstl-api</artifactId> | |
| <version>3.0.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.web</groupId> | |
| <artifactId>jakarta.servlet.jsp.jstl</artifactId> | |
| <version>3.0.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.ws.commons.axiom</groupId> | |
| <artifactId>axiom-jakarta-jaxb</artifactId> | |
| </dependency> | |
| <!-- AXIS2-6051, these jars are being brought in | |
| with the tranistion to jakarta --> | |
| <dependency> | |
| <groupId>org.eclipse.angus</groupId> | |
| <artifactId>angus-mail</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.angus</groupId> | |
| <artifactId>angus-activation</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-fileupload2-core</artifactId> | |
| </dependency> | |
| <!-- | |
| [WEB-INF/lib/commons-fileupload2-jakarta-servlet6-2.0.0-M2.jar, WEB-INF/lib/jetty-jakarta-servlet-api-5.0.2.jar | |
| --> | |
| </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.ee10</groupId> | |
| <artifactId>jetty-ee10-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> | |
| <!-- removed: AXIS2-6105 (soapmonitor applet copy) --> | |
| <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, | |
| <!-- Spring 7 pulls these in behind spring-context and | |
| spring-core. Without the four excluded above they | |
| cannot work, so shipping them was accidental. --> | |
| WEB-INF/lib/spring-aop-*.jar, | |
| WEB-INF/lib/spring-expression-*.jar, | |
| WEB-INF/lib/micrometer-observation-*.jar, | |
| WEB-INF/lib/micrometer-commons-*.jar, | |
| WEB-INF/lib/jspecify-*.jar, | |
| WEB-INF/lib/aopalliance-*.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.ee10</groupId> | |
| <artifactId>jetty-ee10-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> |