pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>hello</groupId>
  5. <artifactId>hello</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <name>hello Tapestry 5 Application</name>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>11</maven.compiler.source>
  12. <maven.compiler.target>11</maven.compiler.target>
  13. <tapestry-release-version>5.5.0-beta-3</tapestry-release-version>
  14. <servlet-api-release-version>3.1.0</servlet-api-release-version>
  15. <jaxb.version>2.4.0-b180830.0438</jaxb.version>
  16. <testng-release-version>7.7.0</testng-release-version>
  17. <easymock-release-version>3.0</easymock-release-version>
  18. </properties>
  19. <dependencies>
  20. <!-- To set up an application with a database, change the artifactId below to
  21. tapestry-hibernate, and add a dependency on your JDBC driver. You'll also
  22. need to add Hibernate configuration files, such as hibernate.cfg.xml. -->
  23. <dependency>
  24. <groupId>org.apache.tapestry</groupId>
  25. <artifactId>tapestry-hibernate</artifactId>
  26. <version>${tapestry-release-version}</version>
  27. </dependency>
  28. <!-- MySQL JDBC driver -->
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. <version>8.0.28</version>
  33. </dependency>
  34. <!-- This adds automatic compression of JavaScript and CSS when in production mode. -->
  35. <!-- This currently breaks the resin deployment
  36. (see https://github.com/TechEmpower/FrameworkBenchmarks/pull/1816#issuecomment-167749791)
  37. <dependency>
  38. <groupId>org.apache.tapestry</groupId>
  39. <artifactId>tapestry-webresources</artifactId>
  40. <version>${tapestry-release-version}</version>
  41. </dependency>
  42. -->
  43. <!-- Uncomment this to add support for file uploads:
  44. <dependency>
  45. <groupId>org.apache.tapestry</groupId>
  46. <artifactId>tapestry-upload</artifactId>
  47. <version>${tapestry-release-version}</version>
  48. </dependency>
  49. -->
  50. <!-- A dependency on either JUnit or TestNG is required, or the surefire plugin (which runs the tests)
  51. will fail, preventing Maven from packaging the WAR. Tapestry includes a large number
  52. of testing facilities designed for use with TestNG (http://testng.org/), so it's recommended. -->
  53. <dependency>
  54. <groupId>org.testng</groupId>
  55. <artifactId>testng</artifactId>
  56. <version>${testng-release-version}</version>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.easymock</groupId>
  61. <artifactId>easymock</artifactId>
  62. <version>${easymock-release-version}</version>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.tapestry</groupId>
  67. <artifactId>tapestry-test</artifactId>
  68. <version>${tapestry-release-version}</version>
  69. <scope>test</scope>
  70. </dependency>
  71. <!-- Provided by the servlet container, but sometimes referenced in the application code. -->
  72. <dependency>
  73. <groupId>javax.servlet</groupId>
  74. <artifactId>javax.servlet-api</artifactId>
  75. <version>${servlet-api-release-version}</version>
  76. <scope>provided</scope>
  77. </dependency>
  78. <!-- Provide dependency to the Tapestry javadoc taglet which replaces the Maven component report -->
  79. <dependency>
  80. <groupId>org.apache.tapestry</groupId>
  81. <artifactId>tapestry-javadoc</artifactId>
  82. <version>${tapestry-release-version}</version>
  83. <scope>provided</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.fasterxml.jackson.core</groupId>
  87. <artifactId>jackson-databind</artifactId>
  88. <version>2.13.4.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.glassfish.jaxb</groupId>
  92. <artifactId>jaxb-runtime</artifactId>
  93. <version>${jaxb.version}</version>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <finalName>tapestry</finalName>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>3.8.0</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-surefire-plugin</artifactId>
  107. <version>2.7.2</version>
  108. <configuration>
  109. <systemPropertyVariables>
  110. <tapestry.execution-mode>Qa</tapestry.execution-mode>
  111. </systemPropertyVariables>
  112. </configuration>
  113. </plugin>
  114. <!-- Run the application using "mvn jetty:run" -->
  115. <plugin>
  116. <groupId>org.mortbay.jetty</groupId>
  117. <artifactId>jetty-maven-plugin</artifactId>
  118. <version>7.5.0.v20110901</version>
  119. <configuration>
  120. <systemProperties>
  121. <systemProperty>
  122. <name>tapestry.execution-mode</name>
  123. <value>development</value>
  124. </systemProperty>
  125. </systemProperties>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. <reporting/>
  131. <repositories>
  132. <repository>
  133. <id>maven-central</id>
  134. <url>https://repo1.maven.org/maven2</url>
  135. <snapshots>
  136. <enabled>false</enabled>
  137. </snapshots>
  138. </repository>
  139. <!-- This repository is only needed when the Tapestry version is a preview release, rather
  140. than a final release. -->
  141. <!-- --><repository>
  142. <id>apache-staging</id>
  143. <url>https://repository.apache.org/content/groups/staging/</url>
  144. </repository>
  145. </repositories>
  146. </project>