pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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>hellowicket</groupId>
  5. <artifactId>hellowicket</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <!-- TODO project name -->
  9. <name>quickstart</name>
  10. <description></description>
  11. <!--
  12. TODO <organization> <name>company name</name> <url>company url</url>
  13. </organization>
  14. -->
  15. <licenses>
  16. <license>
  17. <name>The Apache Software License, Version 2.0</name>
  18. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <properties>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <wicket.version>6.16.0</wicket.version>
  25. <jetty.version>8.1.14.v20131031</jetty.version>
  26. <slf4j.version>1.7.7</slf4j.version>
  27. </properties>
  28. <dependencies>
  29. <!-- WICKET DEPENDENCIES -->
  30. <dependency>
  31. <groupId>org.apache.wicket</groupId>
  32. <artifactId>wicket-core</artifactId>
  33. <version>${wicket.version}</version>
  34. </dependency>
  35. <!-- a faster DataSource -->
  36. <dependency>
  37. <groupId>com.zaxxer</groupId>
  38. <artifactId>HikariCP</artifactId>
  39. <version>1.4.0</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. <!-- LOGGING DEPENDENCIES - LOG4J -->
  43. <dependency>
  44. <groupId>org.slf4j</groupId>
  45. <artifactId>slf4j-log4j12</artifactId>
  46. <version>${slf4j.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>log4j</groupId>
  50. <artifactId>log4j</artifactId>
  51. <version>1.2.17</version>
  52. </dependency>
  53. <!-- JUNIT DEPENDENCY FOR TESTING -->
  54. <dependency>
  55. <groupId>junit</groupId>
  56. <artifactId>junit</artifactId>
  57. <version>4.11</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <!-- JETTY DEPENDENCIES FOR TESTING -->
  61. <dependency>
  62. <groupId>org.eclipse.jetty.aggregate</groupId>
  63. <artifactId>jetty-all-server</artifactId>
  64. <version>${jetty.version}</version>
  65. <scope>provided</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.fasterxml.jackson.core</groupId>
  69. <artifactId>jackson-databind</artifactId>
  70. <version>2.3.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>mysql</groupId>
  74. <artifactId>mysql-connector-java</artifactId>
  75. <version>5.1.31</version>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <resources>
  80. <resource>
  81. <filtering>false</filtering>
  82. <directory>src/main/resources</directory>
  83. </resource>
  84. <resource>
  85. <filtering>false</filtering>
  86. <directory>src/main/java</directory>
  87. <includes>
  88. <include>**</include>
  89. </includes>
  90. <excludes>
  91. <exclude>**/*.java</exclude>
  92. </excludes>
  93. </resource>
  94. </resources>
  95. <testResources>
  96. <testResource>
  97. <filtering>false</filtering>
  98. <directory>src/test/resources</directory>
  99. </testResource>
  100. <testResource>
  101. <filtering>false</filtering>
  102. <directory>src/test/java</directory>
  103. <includes>
  104. <include>**</include>
  105. </includes>
  106. <excludes>
  107. <exclude>**/*.java</exclude>
  108. </excludes>
  109. </testResource>
  110. </testResources>
  111. <plugins>
  112. <plugin>
  113. <inherited>true</inherited>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>3.1</version>
  117. <configuration>
  118. <source>1.7</source>
  119. <target>1.7</target>
  120. <optimize>true</optimize>
  121. <debug>false</debug>
  122. </configuration>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.mortbay.jetty</groupId>
  126. <artifactId>jetty-maven-plugin</artifactId>
  127. <version>${jetty.version}</version>
  128. <configuration>
  129. <connectors>
  130. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  131. <port>8080</port>
  132. <maxIdleTime>3600000</maxIdleTime>
  133. </connector>
  134. <!--connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
  135. <port>8443</port>
  136. <maxIdleTime>3600000</maxIdleTime>
  137. <keystore>${project.build.directory}/test-classes/keystore</keystore>
  138. <password>wicket</password>
  139. <keyPassword>wicket</keyPassword>
  140. </connector-->
  141. </connectors>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-eclipse-plugin</artifactId>
  147. <version>2.9</version>
  148. <configuration>
  149. <downloadSources>true</downloadSources>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. <repositories>
  155. <repository>
  156. <id>Apache Nexus</id>
  157. <url>https://repository.apache.org/content/repositories/snapshots/</url>
  158. <releases>
  159. <enabled>false</enabled>
  160. </releases>
  161. <snapshots>
  162. <enabled>true</enabled>
  163. </snapshots>
  164. </repository>
  165. </repositories>
  166. </project>