| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>${groupId}</groupId> |
| <artifactId>${artifactId}</artifactId> |
| <packaging>war</packaging> |
| <version>${version}</version> |
| <name>Struts 2 Starter</name> |
| <url>http://www.myComp.com</url> |
| <description>Struts 2 Starter</description> |
| |
| <properties> |
| <struts2.version>2.1.8.1</struts2.version> |
| </properties> |
| |
| <dependencies> |
| <!-- Junit --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Struts 2 --> |
| <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> |
| |
| <!-- Servlet & Jsp --> |
| <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> |
| |
| <!-- Jakarta Commons --> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| |
| <!-- Dwr --> |
| <dependency> |
| <groupId>uk.ltd.getahead</groupId> |
| <artifactId>dwr</artifactId> |
| <version>1.1-beta-3</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>${artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.21</version> |
| <configuration> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |