Last active
February 1, 2017 18:39
-
-
Save WillSams/94bede50c51175c1158b to your computer and use it in GitHub Desktop.
My Struts2 Development POM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>com.stormgames.web</groupId> | |
<artifactId>web</artifactId> | |
<packaging>war</packaging> | |
<version>0.0.1</version> | |
<name>Struts2 Example</name> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<struts.version>2.5.8</struts.version> | |
<junit.version>4.5</junit.version> | |
<log4j.version>2.8</log4j.version> | |
<mockito.version>1.8.4</mockito.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.struts</groupId> | |
<artifactId>struts2-core</artifactId> | |
<version>${struts.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.struts</groupId> | |
<artifactId>struts2-convention-plugin</artifactId> | |
<version>${struts.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>opensymphony</groupId> | |
<artifactId>sitemesh</artifactId> | |
<version>2.4.2</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-all</artifactId> | |
<version>${mockito.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-api</artifactId> | |
<version>${log4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-core</artifactId> | |
<version>${log4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>2.4</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>jsp-api</artifactId> | |
<version>2.0</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>Struts2Example</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<downloadSources>false</downloadSources> | |
<downloadJavadocs>false</downloadJavadocs> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>maven-jetty-plugin</artifactId> | |
<version>9.4.0.v20161208</version> | |
<configuration> | |
<scanIntervalSeconds>10</scanIntervalSeconds> | |
<!-- http://localhost:8888/home --> | |
<webApp> | |
<contextPath>/home</contextPath> | |
</webApp> | |
<httpConnector> | |
<port>8888</port> | |
</httpConnector> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment