| <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts-examples</artifactId> |
| <version>2.0.0</version> |
| </parent> |
| |
| <artifactId>sitemesh3</artifactId> |
| <name>Struts Sitemesh 3 Example</name> |
| |
| <packaging>war</packaging> |
| |
| <properties> |
| <!-- |
| it doesn't work with latest changes |
| https://github.com/apache/struts/pull/1265 |
| <struts2.version>7.0.4-SNAPSHOT</struts2.version> |
| --> |
| <!-- it works with version where FORWARD_SERVLET_PATH is updated --> |
| <struts2.version>7.3.0</struts2.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.sitemesh</groupId> |
| <artifactId>sitemesh</artifactId> |
| <version>3.2.3</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-slf4j-impl</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>${jetty-plugin.version}</version> |
| <configuration> |
| <webApp> |
| <contextPath>/${project.artifactId}</contextPath> |
| </webApp> |
| <stopKey>CTRL+C</stopKey> |
| <stopPort>8999</stopPort> |
| <scan>10</scan> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |