| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <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> |
| <groupId>\${groupId}</groupId> |
| <artifactId>\${artifactId}</artifactId> |
| <version>\${version}</version> |
| <packaging>war</packaging> |
| <name>\${artifactId}</name> |
| <description>Struts 2 Starter</description> |
| |
| <properties> |
| <struts2.version>${supported.struts2.version}</struts2.version> |
| <log4j2.version>2.12.1</log4j2.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts2-core</artifactId> |
| <version>\${struts2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts2-sitemesh-plugin</artifactId> |
| <version>\${struts2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts2-spring-plugin</artifactId> |
| <version>\${struts2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts2-config-browser-plugin</artifactId> |
| <version>\${struts2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>3.1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>uk.ltd.getahead</groupId> |
| <artifactId>dwr</artifactId> |
| <version>1.1-beta-3</version> |
| </dependency> |
| |
| <!-- Tests --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.6.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>9.4.22.v20191022</version> |
| <configuration> |
| <stopKey>CTRL+C</stopKey> |
| <stopPort>8999</stopPort> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> |
| <webAppConfig> |
| <contextPath>/\${artifactId}</contextPath> |
| <descriptor>\${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> |
| </webAppConfig> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |