2006-04-09 00:41:12 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-08-06 19:53:57 +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.
|
|
|
|
|
*/
|
|
|
|
|
-->
|
2010-07-17 11:57:54 +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">
|
2006-04-09 00:41:12 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
2006-07-02 00:16:06 +00:00
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-apps</artifactId>
|
2026-06-26 07:18:26 +02:00
|
|
|
<version>7.2.2-SNAPSHOT</version>
|
2006-04-09 00:41:12 +00:00
|
|
|
</parent>
|
2013-05-20 07:29:24 +00:00
|
|
|
|
2006-07-02 00:16:06 +00:00
|
|
|
<artifactId>struts2-showcase</artifactId>
|
2006-04-09 00:41:12 +00:00
|
|
|
<packaging>war</packaging>
|
2013-12-31 11:29:15 +00:00
|
|
|
<name>Struts 2 Showcase Webapp</name>
|
2006-11-02 01:54:41 +00:00
|
|
|
|
2006-05-05 17:49:59 +00:00
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>hostedqa</id>
|
2006-05-05 20:31:27 +00:00
|
|
|
<properties>
|
|
|
|
|
<resourceId>12</resourceId>
|
|
|
|
|
<suiteId>9</suiteId>
|
|
|
|
|
<clientConfigs>8</clientConfigs>
|
|
|
|
|
<appConfigs>7</appConfigs>
|
|
|
|
|
</properties>
|
2006-05-05 17:49:59 +00:00
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2006-04-09 00:41:12 +00:00
|
|
|
<dependencies>
|
2006-09-27 06:36:30 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-config-browser-plugin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2006-09-30 00:52:36 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-tiles-plugin</artifactId>
|
|
|
|
|
</dependency>
|
2006-11-14 02:53:02 +00:00
|
|
|
|
2011-08-09 07:20:09 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-json-plugin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2006-11-19 05:05:14 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
2011-04-26 20:18:52 +00:00
|
|
|
<artifactId>struts2-convention-plugin</artifactId>
|
2006-11-19 05:05:14 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
2006-11-14 02:53:02 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-spring-plugin</artifactId>
|
|
|
|
|
</dependency>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2015-05-28 20:12:53 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-bean-validation-plugin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2017-12-26 17:10:52 +03:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-async-plugin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-11-25 09:33:05 +01:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-velocity-plugin</artifactId>
|
|
|
|
|
</dependency>
|
2024-07-26 19:30:41 +10:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-velocity-tools-view-jakarta</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-velocity-tools-jsp-jakarta</artifactId>
|
|
|
|
|
</dependency>
|
2019-11-25 09:33:05 +01:00
|
|
|
|
2022-12-04 12:49:44 +01:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-xslt-plugin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2006-04-09 00:41:12 +00:00
|
|
|
<dependency>
|
2023-10-18 13:06:44 -05:00
|
|
|
<groupId>jakarta.servlet</groupId>
|
2023-10-18 13:06:44 -05:00
|
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
2010-07-14 20:01:40 +00:00
|
|
|
<scope>provided</scope>
|
2006-04-09 00:41:12 +00:00
|
|
|
</dependency>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2015-05-25 21:42:08 +02:00
|
|
|
<!-- 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>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-jcl</artifactId>
|
|
|
|
|
</dependency>
|
2022-06-18 07:25:26 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
|
</dependency>
|
2026-03-29 07:17:57 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-web</artifactId>
|
|
|
|
|
</dependency>
|
2015-05-25 21:42:08 +02:00
|
|
|
|
2006-05-06 16:51:26 +00:00
|
|
|
<dependency>
|
2024-10-16 09:39:14 +02:00
|
|
|
<groupId>org.sitemesh</groupId>
|
|
|
|
|
<artifactId>sitemesh</artifactId>
|
2026-06-26 07:17:04 +02:00
|
|
|
<version>3.2.3</version>
|
2006-05-06 16:51:26 +00:00
|
|
|
</dependency>
|
2006-09-11 04:47:47 +00:00
|
|
|
|
2018-12-31 19:21:49 +03:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-07-13 23:08:46 +10:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2023-12-16 16:48:51 +01:00
|
|
|
|
2018-12-31 19:21:49 +03:30
|
|
|
<dependency>
|
2023-12-01 08:32:27 +01:00
|
|
|
<groupId>org.htmlunit</groupId>
|
|
|
|
|
<artifactId>htmlunit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2008-08-02 02:34:11 +00:00
|
|
|
|
2015-05-28 20:12:53 +02:00
|
|
|
<!-- BeanValidation Example -->
|
|
|
|
|
<dependency>
|
2022-07-07 14:18:36 +02:00
|
|
|
<groupId>org.hibernate.validator</groupId>
|
2015-05-28 20:12:53 +02:00
|
|
|
<artifactId>hibernate-validator</artifactId>
|
2022-07-07 14:18:36 +02:00
|
|
|
<version>${hibernate-validator.version}</version>
|
2024-10-20 11:35:56 +02:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>jakarta.validation</groupId>
|
|
|
|
|
<artifactId>jakarta.validation-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2015-05-28 20:12:53 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
2024-10-16 09:39:14 +02:00
|
|
|
<!--
|
|
|
|
|
Nashorn (the built-in JDK javascript engine) was deprecated in JDK 11 and removed in JDK 15
|
|
|
|
|
As a result attempting to use @ScriptAssert on JDK 17 leads to the exception
|
|
|
|
|
See more details
|
|
|
|
|
https://stackoverflow.com/questions/78008950/resolve-org-hibernate-validator-spi-scripting-scriptevaluatornotfoundexception
|
|
|
|
|
-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
|
<artifactId>groovy-jsr223</artifactId>
|
2025-10-27 06:43:39 +01:00
|
|
|
<version>3.0.25</version>
|
2024-10-16 09:39:14 +02:00
|
|
|
</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>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
|
<artifactId>jquery</artifactId>
|
|
|
|
|
<version>${webjars-jquery-showcase.version}</version>
|
|
|
|
|
</dependency>
|
2006-04-09 00:41:12 +00:00
|
|
|
</dependencies>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-05-06 16:51:26 +00:00
|
|
|
<build>
|
2006-07-23 15:02:22 +00:00
|
|
|
<plugins>
|
2023-11-20 10:55:02 -06:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<?m2e ignore?>
|
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${project.build.directory}/extraclasspath</outputDirectory>
|
|
|
|
|
<artifactItems>
|
2023-11-20 16:56:38 -06:00
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-velocity-tools-view-jakarta</artifactId>
|
|
|
|
|
<destFileName>struts2-velocity-tools-view-jakarta.jar</destFileName>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-velocity-tools-jsp-jakarta</artifactId>
|
|
|
|
|
<destFileName>struts2-velocity-tools-jsp-jakarta.jar</destFileName>
|
|
|
|
|
</artifactItem>
|
2023-11-20 10:55:02 -06:00
|
|
|
</artifactItems>
|
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2018-12-31 19:21:49 +03:30
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2026-06-10 13:23:50 +02:00
|
|
|
<version>3.5.6</version>
|
2018-12-31 19:21:49 +03:30
|
|
|
<configuration>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>it.org.apache.struts2.showcase.*Test</include>
|
|
|
|
|
</includes>
|
2022-07-08 08:21:16 +02:00
|
|
|
<systemPropertyVariables>
|
|
|
|
|
<http.port>8090</http.port>
|
|
|
|
|
</systemPropertyVariables>
|
2018-12-31 19:21:49 +03:30
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>integration-test</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>verify</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>verify</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2006-07-23 15:02:22 +00:00
|
|
|
<plugin>
|
2022-05-04 10:44:54 +02:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2012-10-19 18:49:39 +00:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2025-09-15 01:37:45 +00:00
|
|
|
<version>11.0.26</version>
|
2006-07-23 15:02:22 +00:00
|
|
|
<configuration>
|
2013-01-20 19:44:55 +00:00
|
|
|
<stopKey>CTRL+C</stopKey>
|
|
|
|
|
<stopPort>8999</stopPort>
|
2012-10-19 18:49:39 +00:00
|
|
|
<systemProperties>
|
|
|
|
|
<systemProperty>
|
|
|
|
|
<name>slf4j</name>
|
|
|
|
|
<value>false</value>
|
|
|
|
|
</systemProperty>
|
|
|
|
|
</systemProperties>
|
2022-07-08 08:21:16 +02:00
|
|
|
<httpConnector>
|
|
|
|
|
<port>8090</port>
|
|
|
|
|
</httpConnector>
|
2023-12-16 16:48:51 +01:00
|
|
|
<scan>10</scan>
|
2023-11-21 12:26:07 -06:00
|
|
|
<webApp>
|
2023-11-20 16:56:38 -06:00
|
|
|
<extraClasspath>
|
|
|
|
|
${project.build.directory}/extraclasspath/struts2-velocity-tools-view-jakarta.jar,
|
|
|
|
|
${project.build.directory}/extraclasspath/struts2-velocity-tools-jsp-jakarta
|
|
|
|
|
</extraClasspath>
|
2023-11-20 10:55:02 -06:00
|
|
|
<contextPath>/struts2-showcase</contextPath>
|
|
|
|
|
<descriptor>${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor>
|
|
|
|
|
</webApp>
|
2006-07-23 15:02:22 +00:00
|
|
|
</configuration>
|
2018-12-31 19:21:49 +03:30
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>start-jetty</id>
|
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<!-- stop any previous instance to free up the port -->
|
|
|
|
|
<goal>stop</goal>
|
2022-05-24 09:51:42 +02:00
|
|
|
<goal>start</goal>
|
2018-12-31 19:21:49 +03:30
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>stop</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2015-05-25 21:42:08 +02:00
|
|
|
</plugin>
|
2012-10-19 18:49:39 +00:00
|
|
|
|
2008-08-02 02:34:11 +00:00
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<configuration>
|
2022-09-27 19:41:20 +02:00
|
|
|
<argLine>@{argLine}</argLine>
|
2008-08-02 02:34:11 +00:00
|
|
|
<excludes>
|
|
|
|
|
<exclude>it/**</exclude>
|
|
|
|
|
<exclude>**/*$*</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2006-07-23 15:02:22 +00:00
|
|
|
</plugins>
|
2008-08-02 02:34:11 +00:00
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
|
<!-- Include resources under src/main/java in WEB-INF/classes -->
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.java</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2006-10-01 11:02:46 +00:00
|
|
|
|
2006-05-06 16:51:26 +00:00
|
|
|
</build>
|
2013-10-23 10:56:53 +00:00
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
</properties>
|
2006-04-09 00:41:12 +00:00
|
|
|
</project>
|