| <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>migrating-tutorial</groupId> | |
| <artifactId>migrating-tutorial</artifactId> | |
| <packaging>war</packaging> | |
| <version>1.0-SNAPSHOT</version> | |
| <name>Migrating to Apache Struts 2</name> | |
| <url>http://www.planetstruts.org/migrating</url> | |
| <organization> | |
| <name>Struts Mentor</name> | |
| <url>http://www.strutsmentor.com</url> | |
| </organization> | |
| <licenses> | |
| <license> | |
| <name>Apache License 2.0</name> | |
| <url>http://www.apache.org/LICENSE.txt</url> | |
| <comments>see http://www.apache.org/LICENSE.txt</comments> | |
| </license> | |
| </licenses> | |
| <build> | |
| <resources> | |
| <!-- Include resources under src/main/java in WEB-INF/classes --> | |
| <resource> | |
| <directory>src/main/java</directory> | |
| <includes> | |
| <include>**/*.properties</include> | |
| <include>**/*.xml</include> | |
| </includes> | |
| </resource> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.5</source> | |
| <target>1.5</target> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <includes> | |
| <include>**/*Test.java</include> | |
| </includes> | |
| <excludes> | |
| <exclude>**/XWorkTestCase.java</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>attach-javadoc</id> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>attach-source</id> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.mortbay.jetty</groupId> | |
| <artifactId>maven-jetty6-plugin</artifactId> | |
| <configuration> | |
| <scanIntervalSeconds>10</scanIntervalSeconds> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.geronimo.specs</groupId> | |
| <artifactId>geronimo-j2ee_1.4_spec</artifactId> | |
| <version>1.0</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| </plugins> | |
| <defaultGoal>install</defaultGoal> | |
| </build> | |
| <dependencies> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>3.8.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>opensymphony</groupId> | |
| <artifactId>xwork</artifactId> | |
| <version>2.0-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts2-api</artifactId> | |
| <version>2.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts2-core</artifactId> | |
| <version>2.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts2-extras</artifactId> | |
| <version>2.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-aop</artifactId> | |
| <version>1.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-web</artifactId> | |
| <version>1.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-beans</artifactId> | |
| <version>1.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| <version>1.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-core</artifactId> | |
| <version>1.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-mock</artifactId> | |
| <version>1.2.8</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>servlet-api</artifactId> | |
| <version>2.3</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts-core</artifactId> | |
| <version>1.3.5</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts-taglib</artifactId> | |
| <version>1.3.5</version> | |
| </dependency> | |
| <!--dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts-tiles</artifactId> | |
| <version>1.3.5</version> | |
| </dependency--> | |
| <!--dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts-extras</artifactId> | |
| <version>1.3.5</version> | |
| </dependency--> | |
| <!--dependency> | |
| <groupId>org.apache.struts</groupId> | |
| <artifactId>struts-el</artifactId> | |
| <version>1.3.5</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>jstl</artifactId> | |
| <version>1.0.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>taglibs</groupId> | |
| <artifactId>standard</artifactId> | |
| <version>1.0.4</version> | |
| </dependency--> | |
| </dependencies> | |
| </project> |