| <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} Tapestry Application</name> |
| |
| <dependencies> |
| <!-- |
| These are some useful dependencies, you may remove them at any time. |
| --> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| <version>1.7.0</version> |
| </dependency> |
| |
| <!-- |
| =============================================== |
| Spring Framework |
| =============================================== |
| You should probably change this to something more relevant to your systems |
| --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>1.2.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring</artifactId> |
| <version>1.2.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-dao</artifactId> |
| <version>1.2.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ftp</artifactId> |
| <version>1.0-alpha-5</version> |
| </dependency> |
| |
| <!-- |
| =============================================== |
| The following are required (for this archetype to be any fun!) |
| =============================================== |
| --> |
| <!-- |
| NB: Spring integration is first-class, even if it's |
| not "directly" integrated into the framework! |
| --> |
| <dependency> |
| <groupId>com.javaforge.tapestry</groupId> |
| <artifactId>tapestry-spring</artifactId> |
| <version>0.1.2</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>tapestry</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>tapestry-annotations</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>tapestry-contrib</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- |
| NB: You don't really need this, but if you did, this is how you'd configure it. |
| This is useful when you're using the BeanForm component. |
| todo |
| Btw, the BeanForm should be installed as follows |
| --> |
| <dependency> |
| <groupId>com.javaforge.tapestry</groupId> |
| <artifactId>tapestry-prop</artifactId> |
| <version>0.1.1</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>tapestry</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <artifactId>tapestry-annotations</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <artifactId>tapestry-contrib</artifactId> |
| <groupId>tapestry</groupId> |
| </exclusion> |
| |
| </exclusions> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.apache.tapestry</groupId> |
| <artifactId>tapestry-annotations</artifactId> |
| <version>4.1.2-SNAPSHOT</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tapestry</groupId> |
| <artifactId>tapestry-framework</artifactId> |
| <version>4.1.2-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tapestry</groupId> |
| <artifactId>tapestry-contrib</artifactId> |
| <version>4.1.2-SNAPSHOT</version> |
| </dependency> |
| <!-- A dependency on either JUnit or TestNG is required, or the surefire plugin (which runs the tests) |
| will fail, preventing Maven from packaging the WAR. Tapestry includes a large number |
| of testing facilities designed for use with TestNG (http://testng.org/), so it's recommended. --> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>5.1</version> |
| <classifier>jdk15</classifier> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <!-- |
| Un comment the following so that the produced deliverable matches |
| your artifact, instead of artifact + version. |
| --> |
| <!--<finalName>${artifactId}</finalName>--> |
| <resources> |
| <resource> |
| <directory>src/main/meta</directory> |
| <targetPath>/</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <!-- no default value --> |
| <dependentWarExcludes>WEB-INF/web.xml</dependentWarExcludes> |
| </configuration> |
| </plugin> |
| |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| <optimize>true</optimize> |
| </configuration> |
| |
| </plugin> |
| |
| <!-- Run the application using "mvn jetty:run" --> |
| |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty6-plugin</artifactId> |
| <version>6.0.0beta17</version> |
| <configuration> |
| |
| <scanTargets> |
| <scanTarget>src/main/resources/</scanTarget> |
| </scanTargets> |
| <!-- |
| <webDefaultXml>src/main/resources/webdefault.xml</webDefaultXml> |
| --> |
| <systemProperties> |
| <systemProperty> |
| <name>net.sf.ehcache.disabled</name> |
| <value>false</value> |
| </systemProperty> |
| <systemProperty> |
| <name>org.apache.tapestry.disable-caching</name> |
| <value>true</value> |
| </systemProperty> |
| </systemProperties> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <repositories> |
| <repository> |
| <name>codehaus.org</name> |
| <id>Maven Snapshots 2</id> |
| <url>http://snapshots.repository.codehaus.org/</url> |
| <snapshots> <enabled>true</enabled></snapshots> |
| <releases> <enabled>true</enabled></releases> |
| </repository> |
| |
| <repository> |
| <id>apache.snapshots</id> |
| <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| |
| <repository> |
| <id>tapestry.javaforge</id> |
| <url>http://howardlewisship.com/repository</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> </repository> |
| <repository> |
| <id>dev.java.net</id> |
| <url>https://maven-repository.dev.java.net/nonav/repository/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> </repository> |
| <repository> |
| <id>Maven Snapshots</id> |
| <url>http://snapshots.maven.codehaus.org/maven2/</url> |
| </repository> |
| </repositories> |
| |
| </project> |