2007-11-14 04:57:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-04-27 13:41:38 +00:00
|
|
|
<!--
|
|
|
|
|
/*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
-->
|
2012-10-22 19:35:24 +00:00
|
|
|
<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">
|
2012-10-12 19:04:04 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2007-11-14 04:57:40 +00:00
|
|
|
<parent>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-apps</artifactId>
|
2026-08-14 12:40:24 +02:00
|
|
|
<version>7.4.0-SNAPSHOT</version>
|
2007-11-14 04:57:40 +00:00
|
|
|
</parent>
|
|
|
|
|
|
2012-10-12 19:04:04 +00:00
|
|
|
<artifactId>struts2-rest-showcase</artifactId>
|
|
|
|
|
<packaging>war</packaging>
|
2026-08-14 12:40:24 +02:00
|
|
|
<version>7.4.0-SNAPSHOT</version>
|
2013-12-31 11:29:15 +00:00
|
|
|
<name>Struts 2 Rest Showcase Webapp</name>
|
2012-10-12 19:04:04 +00:00
|
|
|
<description>Struts 2 Rest Showcase Example</description>
|
2008-06-06 15:53:47 +00:00
|
|
|
|
2012-10-12 19:04:04 +00:00
|
|
|
<dependencies>
|
2007-11-14 04:57:40 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-rest-plugin</artifactId>
|
|
|
|
|
</dependency>
|
2008-06-06 15:53:47 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
2008-12-19 03:15:23 +00:00
|
|
|
<artifactId>struts2-convention-plugin</artifactId>
|
2008-06-06 15:53:47 +00:00
|
|
|
</dependency>
|
2012-12-13 07:24:06 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-config-browser-plugin</artifactId>
|
|
|
|
|
</dependency>
|
2015-04-18 21:15:48 +02:00
|
|
|
|
2018-02-20 06:50:06 +01:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2015-05-25 21:42:08 +02:00
|
|
|
<!-- Logging -->
|
2014-08-07 07:42:15 +02:00
|
|
|
<dependency>
|
2015-04-18 21:15:48 +02:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-api</artifactId>
|
2014-08-07 07:42:15 +02:00
|
|
|
</dependency>
|
2015-04-18 21:15:48 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2007-11-14 04:57:40 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2008-07-29 14:17:17 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sourceforge.jwebunit</groupId>
|
|
|
|
|
<artifactId>jwebunit-core</artifactId>
|
2019-02-09 15:04:22 +01:00
|
|
|
<version>3.3</version>
|
2008-07-29 14:17:17 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2019-02-09 15:04:22 +01:00
|
|
|
|
2012-10-12 19:04:04 +00:00
|
|
|
<dependency>
|
2023-12-01 08:32:27 +01:00
|
|
|
<groupId>org.htmlunit</groupId>
|
2019-02-09 15:04:22 +01:00
|
|
|
<artifactId>htmlunit</artifactId>
|
2012-10-12 19:04:04 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2008-07-29 14:17:17 +00:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sourceforge.jwebunit</groupId>
|
|
|
|
|
<artifactId>jwebunit-htmlunit-plugin</artifactId>
|
2019-02-09 15:04:22 +01:00
|
|
|
<version>3.3</version>
|
2008-07-29 14:17:17 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>xom</groupId>
|
|
|
|
|
<artifactId>xom</artifactId>
|
|
|
|
|
</exclusion>
|
2019-02-09 15:04:22 +01:00
|
|
|
<!-- not necessary to compile and it force dependency convergence issues -->
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>net.sourceforge.htmlunit</groupId>
|
|
|
|
|
<artifactId>htmlunit</artifactId>
|
|
|
|
|
</exclusion>
|
2008-07-29 14:17:17 +00:00
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2026-07-20 18:16:03 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
|
<artifactId>bootstrap</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
|
<artifactId>bootstrap-icons</artifactId>
|
|
|
|
|
</dependency>
|
2007-11-14 04:57:40 +00:00
|
|
|
</dependencies>
|
2008-06-06 15:53:47 +00:00
|
|
|
|
2007-11-14 04:57:40 +00:00
|
|
|
<build>
|
2012-10-12 19:04:04 +00:00
|
|
|
<finalName>struts2-rest-showcase</finalName>
|
|
|
|
|
<plugins>
|
2008-07-29 14:17:17 +00:00
|
|
|
<plugin>
|
2022-05-04 10:44:54 +02:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2012-10-12 19:04:04 +00:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2025-09-15 01:37:45 +00:00
|
|
|
<version>11.0.26</version>
|
2012-10-12 19:04:04 +00:00
|
|
|
<configuration>
|
2013-01-20 19:44:55 +00:00
|
|
|
<stopKey>CTRL+C</stopKey>
|
|
|
|
|
<stopPort>8999</stopPort>
|
2012-10-12 19:04:04 +00:00
|
|
|
<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>
|
2008-07-29 14:17:17 +00:00
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<configuration>
|
2022-09-27 19:41:20 +02:00
|
|
|
<argLine>@{argLine}</argLine>
|
2008-07-29 14:17:17 +00:00
|
|
|
<excludes>
|
|
|
|
|
<exclude>it/**</exclude>
|
|
|
|
|
<exclude>**/*$*</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2012-10-12 19:04:04 +00:00
|
|
|
</plugins>
|
2007-11-14 04:57:40 +00:00
|
|
|
</build>
|
2013-10-23 10:56:53 +00:00
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
</properties>
|
2007-11-14 04:57:40 +00:00
|
|
|
</project>
|