2019-12-05 09:56:52 -05:00
<?xml version="1.0" encoding="UTF-8"?>
2020-03-15 08:52:24 -04:00
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
2019-11-09 08:32:22 -05:00
<modelVersion > 4.0.0</modelVersion>
<groupId > com.baeldung</groupId>
<artifactId > apache-tapestry</artifactId>
<version > 0.0.1-SNAPSHOT</version>
2019-11-28 03:36:53 -05:00
<name > apache-tapestry</name>
2019-12-05 09:56:52 -05:00
<packaging > war</packaging>
<dependencies >
2020-03-15 08:52:24 -04:00
<!-- To set up an application with a database, change the artifactId below to tapestry - hibernate,
and add a dependency on your JDBC driver. You'll also need to add Hibernate configuration files, such as hibernate.cfg.xml. -->
2019-11-09 08:32:22 -05:00
<dependency >
<groupId > org.apache.tapestry</groupId>
<artifactId > tapestry-core</artifactId>
<version > ${tapestry-release-version}</version>
</dependency>
<!-- Include the Log4j implementation for the SLF4J logging framework -->
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-log4j12</artifactId>
<version > ${slf4j-release-version}</version>
</dependency>
2019-12-05 09:56:52 -05:00
2019-11-09 08:32:22 -05:00
<dependency >
<groupId > org.apache.tapestry</groupId>
<artifactId > tapestry-webresources</artifactId>
<version > ${tapestry-release-version}</version>
</dependency>
<!-- Uncomment this to add support for file uploads: -->
2020-03-15 08:52:24 -04:00
<!-- <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry - upload</artifactId> <version>${tapestry - release - version}</version> </dependency> -->
2019-11-09 08:32:22 -05:00
2020-03-15 08:52:24 -04:00
<!-- 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. -->
2019-11-09 08:32:22 -05:00
<dependency >
<groupId > org.testng</groupId>
<artifactId > testng</artifactId>
<version > ${testng-release-version}</version>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.apache.tapestry</groupId>
<artifactId > tapestry-test</artifactId>
<version > ${tapestry-release-version}</version>
<scope > test</scope>
</dependency>
2020-03-15 08:52:24 -04:00
<!-- Provided by the servlet container, but sometimes referenced in the application code. -->
2019-11-09 08:32:22 -05:00
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > servlet-api</artifactId>
<version > ${servlet-api-release-version}</version>
<scope > provided</scope>
</dependency>
<!-- Provide dependency to the Tapestry javadoc taglet which replaces the Maven component report -->
<dependency >
<groupId > org.apache.tapestry</groupId>
<artifactId > tapestry-javadoc</artifactId>
<version > ${tapestry-release-version}</version>
<scope > provided</scope>
</dependency>
</dependencies>
2019-12-05 09:56:52 -05:00
2019-11-09 08:32:22 -05:00
<build >
<finalName > apache-tapestry</finalName>
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
2020-01-15 15:23:26 -05:00
<version > ${compiler.plugin.version}</version>
2019-11-09 08:32:22 -05:00
<configuration >
2020-01-15 15:23:26 -05:00
<source > ${source.version}</source>
<target > ${target.version}</target>
2019-11-09 08:32:22 -05:00
<optimize > true</optimize>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
2020-01-15 15:23:26 -05:00
<version > ${compiler.surefire.version}</version>
2019-11-09 08:32:22 -05:00
<configuration >
<systemPropertyVariables >
<tapestry.execution-mode > Qa</tapestry.execution-mode>
</systemPropertyVariables>
</configuration>
</plugin>
<!-- Run the application using "mvn jetty:run" -->
<plugin >
<groupId > org.mortbay.jetty</groupId>
<artifactId > maven-jetty-plugin</artifactId>
2020-01-15 15:23:26 -05:00
<version > ${compiler.jetty.version}</version>
2019-11-09 08:32:22 -05:00
<configuration >
<!-- Log to the console. -->
<requestLog implementation= "org.mortbay.jetty.NCSARequestLog" >
2020-03-15 08:52:24 -04:00
<!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug that prevents the requestLog from being set. -->
2019-11-09 08:32:22 -05:00
<append > true</append>
</requestLog>
<systemProperties >
<systemProperty >
<name > tapestry.execution-mode</name>
<value > development</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
2020-03-15 08:52:24 -04:00
<reporting />
2019-11-09 08:32:22 -05:00
<repositories >
2019-11-23 15:53:35 -05:00
<repository >
2019-11-09 08:32:22 -05:00
<id > jboss</id>
<url > http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>
2020-03-15 08:52:24 -04:00
<!-- This repository is only needed when the Tapestry version is a preview release, rather than a final release. -->
2019-11-09 08:32:22 -05:00
<repository >
<id > apache-staging</id>
<url > https://repository.apache.org/content/groups/staging/</url>
</repository>
</repositories>
<properties >
2020-01-15 15:23:26 -05:00
<compiler.jetty.version > 6.1.16</compiler.jetty.version>
<compiler.surefire.version > 2.7.2</compiler.surefire.version>
<compiler.plugin.version > 2.3.2</compiler.plugin.version>
<source.version > 1.8</source.version>
<target.version > 1.8</target.version>
2019-11-09 08:32:22 -05:00
<tapestry-release-version > 5.4.5</tapestry-release-version>
<servlet-api-release-version > 2.5</servlet-api-release-version>
<testng-release-version > 6.8.21</testng-release-version>
<slf4j-release-version > 1.7.19</slf4j-release-version>
</properties>
2019-12-05 09:56:52 -05:00
2019-11-09 08:32:22 -05:00
</project>