pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>ie.tcd.kdeg.jumainterlink</groupId>
  5. <artifactId>juma-interlink</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>juma-interlink Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <dependencies>
  11. <dependency>
  12. <groupId>mysql</groupId>
  13. <artifactId>mysql-connector-java</artifactId>
  14. <version>${mysql-connector-version}</version>
  15. </dependency>
  16. <dependency>
  17. <groupId>org.apache.jena</groupId>
  18. <artifactId>jena-arq</artifactId>
  19. <version>3.0.1</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.apache.jena</groupId>
  23. <artifactId>jena-core</artifactId>
  24. <version>3.0.1</version>
  25. </dependency>
  26. <!-- Too set up an application with a database, change the artifactId below
  27. to tapestry-hibernate, and add a dependency on your JDBC driver. You'll also
  28. need to add Hibernate configuration files, such as hibernate.cfg.xml. -->
  29. <dependency>
  30. <groupId>org.apache.tapestry</groupId>
  31. <artifactId>tapestry-core</artifactId>
  32. <version>${tapestry-release-version}</version>
  33. </dependency>
  34. <!-- This adds automatic compression of JavaScript and CSS when in production
  35. mode. -->
  36. <dependency>
  37. <groupId>org.apache.tapestry</groupId>
  38. <artifactId>tapestry-yuicompressor</artifactId>
  39. <version>${tapestry-release-version}</version>
  40. </dependency>
  41. <!-- Uncomment this to add support for file uploads: <dependency> <groupId>org.apache.tapestry</groupId>
  42. <artifactId>tapestry-upload</artifactId> <version>${tapestry-release-version}</version>
  43. </dependency> -->
  44. <!-- A dependency on either JUnit or TestNG is required, or the surefire
  45. plugin (which runs the tests) will fail, preventing Maven from packaging
  46. the WAR. Tapestry includes a large number of testing facilities designed
  47. for use with TestNG (http://testng.org/), so it's recommended. -->
  48. <dependency>
  49. <groupId>org.testng</groupId>
  50. <artifactId>testng</artifactId>
  51. <version>${testng-release-version}</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.easymock</groupId>
  56. <artifactId>easymock</artifactId>
  57. <version>${easymock-release-version}</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.tapestry</groupId>
  62. <artifactId>tapestry-test</artifactId>
  63. <version>${tapestry-release-version}</version>
  64. <scope>test</scope>
  65. </dependency>
  66. <!-- Provided by the servlet container, but sometimes referenced in the
  67. application code. -->
  68. <dependency>
  69. <groupId>javax.servlet</groupId>
  70. <artifactId>servlet-api</artifactId>
  71. <version>${servlet-api-release-version}</version>
  72. <scope>provided</scope>
  73. </dependency>
  74. <!-- Provide dependency to the Tapestry javadoc taglet which replaces the
  75. Maven component report -->
  76. <dependency>
  77. <groupId>org.apache.tapestry</groupId>
  78. <artifactId>tapestry-javadoc</artifactId>
  79. <version>${tapestry-release-version}</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. <!-- Hibernate dependencies -->
  83. <dependency>
  84. <groupId>org.apache.tapestry</groupId>
  85. <artifactId>tapestry-hibernate</artifactId>
  86. <version>${tapestry-release-version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.hibernate</groupId>
  90. <artifactId>hibernate-c3p0</artifactId>
  91. <version>3.6.0.Final</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>c3p0</groupId>
  95. <artifactId>c3p0</artifactId>
  96. <version>0.9.1.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.hsqldb</groupId>
  100. <artifactId>hsqldb</artifactId>
  101. <version>2.3.2</version>
  102. </dependency>
  103. <!-- Add security -->
  104. <dependency>
  105. <groupId>org.tynamo</groupId>
  106. <artifactId>tapestry-security</artifactId>
  107. <version>0.6.2</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.got5</groupId>
  111. <artifactId>tapestry5-jquery</artifactId>
  112. <version>3.4.2</version>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <finalName>juma-interlink</finalName>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-surefire-plugin</artifactId>
  121. <version>2.7.2</version>
  122. <configuration>
  123. <systemPropertyVariables>
  124. <tapestry.execution-mode>Qa</tapestry.execution-mode>
  125. </systemPropertyVariables>
  126. </configuration>
  127. </plugin>
  128. <!-- Jetty -->
  129. <!-- Run the application using "mvn jetty:run" -->
  130. <plugin>
  131. <groupId>org.mortbay.jetty</groupId>
  132. <artifactId>maven-jetty-plugin</artifactId>
  133. <version>6.1.16</version>
  134. <configuration>
  135. <!-- Log to the console. -->
  136. <requestLog implementation="org.mortbay.jetty.NCSARequestLog">
  137. <!-- This doesn't do anything for Jetty, but is a workaround for a
  138. Maven bug that prevents the requestLog from being set. -->
  139. <append>true</append>
  140. </requestLog>
  141. </configuration>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. <repositories>
  146. <!-- This repository is only needed when the Tapestry version is a preview
  147. release, rather than a final release. -->
  148. <repository>
  149. <id>apache-staging</id>
  150. <url>https://repository.apache.org/content/groups/staging/</url>
  151. </repository>
  152. <repository>
  153. <id>devlab722-repo</id>
  154. <url>http://nexus.devlab722.net/nexus/content/repositories/releases</url>
  155. </repository>
  156. </repositories>
  157. <properties>
  158. <tapestry-release-version>5.3.8</tapestry-release-version>
  159. <servlet-api-release-version>2.5</servlet-api-release-version>
  160. <testng-release-version>5.14.10</testng-release-version>
  161. <easymock-release-version>3.0</easymock-release-version>
  162. <mysql-connector-version>5.1.39</mysql-connector-version>
  163. </properties>
  164. </project>