mirror of
https://github.com/apache/struts.git
synced 2026-08-05 14:47:09 +00:00
138 lines
5.0 KiB
XML
138 lines
5.0 KiB
XML
<?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 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-apps</artifactId>
|
|
<version>6.9.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>struts2-rest-showcase</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>6.9.0-SNAPSHOT</version>
|
|
<name>Struts 2 Rest Showcase Webapp</name>
|
|
<description>Struts 2 Rest Showcase Example</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-rest-plugin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-convention-plugin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-config-browser-plugin</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Logging -->
|
|
<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>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sourceforge.jwebunit</groupId>
|
|
<artifactId>jwebunit-core</artifactId>
|
|
<version>3.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sourceforge.htmlunit</groupId>
|
|
<artifactId>htmlunit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sourceforge.jwebunit</groupId>
|
|
<artifactId>jwebunit-htmlunit-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>xom</groupId>
|
|
<artifactId>xom</artifactId>
|
|
</exclusion>
|
|
<!-- not necessary to compile and it force dependency convergence issues -->
|
|
<exclusion>
|
|
<groupId>net.sourceforge.htmlunit</groupId>
|
|
<artifactId>htmlunit</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>struts2-rest-showcase</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>9.4.46.v20220331</version>
|
|
<configuration>
|
|
<stopKey>CTRL+C</stopKey>
|
|
<stopPort>8999</stopPort>
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
<webAppSourceDirectory>${basedir}/src/main/webapp/</webAppSourceDirectory>
|
|
<webAppConfig>
|
|
<contextPath>/struts2-rest-showcase</contextPath>
|
|
<descriptor>${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor>
|
|
</webAppConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>@{argLine}</argLine>
|
|
<excludes>
|
|
<exclude>it/**</exclude>
|
|
<exclude>**/*$*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
</project>
|