A simple DropWizard-ish framework for building REST apps in Jersey/JAX-RS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

283 lines
10 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. (c) Copyright 2013-2016 Jonathan Cobb
  4. This code is available under the Apache License, version 2: http://www.apache.org/licenses/LICENSE-2.0.html
  5. -->
  6. <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/xsd/maven-4.0.0.xsd">
  7. <modelVersion>4.0.0</modelVersion>
  8. <parent>
  9. <groupId>org.cobbzilla</groupId>
  10. <artifactId>cobbzilla-wizard</artifactId>
  11. <version>1.0.0-SNAPSHOT</version>
  12. </parent>
  13. <artifactId>wizard-server</artifactId>
  14. <version>1.0.0-SNAPSHOT</version>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.cobbzilla</groupId>
  18. <artifactId>wizard-common</artifactId>
  19. <version>1.0.0-SNAPSHOT</version>
  20. </dependency>
  21. <!-- Config parsing -->
  22. <dependency>
  23. <groupId>org.yaml</groupId>
  24. <artifactId>snakeyaml</artifactId>
  25. <version>1.25</version>
  26. </dependency>
  27. <!-- JSON -->
  28. <dependency>
  29. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  30. <artifactId>jackson-jaxrs-json-provider</artifactId>
  31. <version>${jackson.version}</version>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>javax.ws.rs</groupId>
  35. <artifactId>jsr311-api</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <!-- Jersey -->
  40. <dependency>
  41. <groupId>org.glassfish.jersey.core</groupId>
  42. <artifactId>jersey-server</artifactId>
  43. <version>${jersey.version}</version>
  44. <exclusions>
  45. <!-- we use a newer version of jackson -->
  46. <exclusion>
  47. <groupId>org.codehaus.jackson</groupId>
  48. <artifactId>jackson-mapper-asl</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.codehaus.jackson</groupId>
  52. <artifactId>jackson-core-asl</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>org.codehaus.jackson</groupId>
  56. <artifactId>jackson-jaxrs</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>org.codehaus.jackson</groupId>
  60. <artifactId>jackson-xc</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.glassfish.jersey.core</groupId>
  66. <artifactId>jersey-common</artifactId>
  67. <version>${jersey.version}</version>
  68. <exclusions>
  69. <!-- we use a newer version of jackson -->
  70. <exclusion>
  71. <groupId>org.codehaus.jackson</groupId>
  72. <artifactId>jackson-mapper-asl</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.codehaus.jackson</groupId>
  76. <artifactId>jackson-core-asl</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>org.codehaus.jackson</groupId>
  80. <artifactId>jackson-jaxrs</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>org.codehaus.jackson</groupId>
  84. <artifactId>jackson-xc</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.glassfish.jersey.connectors</groupId>
  90. <artifactId>jersey-grizzly-connector</artifactId>
  91. <version>${jersey.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.glassfish.jersey.containers</groupId>
  95. <artifactId>jersey-container-grizzly2-http</artifactId>
  96. <version>${jersey.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.glassfish.jersey.ext</groupId>
  100. <artifactId>jersey-spring4</artifactId>
  101. <version>${jersey.version}</version>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.springframework</groupId>
  105. <artifactId>spring-core</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-web</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.glassfish.jersey.media</groupId>
  115. <artifactId>jersey-media-multipart</artifactId>
  116. <version>${jersey.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.glassfish.jersey.media</groupId>
  120. <artifactId>jersey-media-json-jackson</artifactId>
  121. <version>${jersey.version}</version>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>com.fasterxml.jackson.core</groupId>
  125. <artifactId>jackson-databind</artifactId>
  126. </exclusion>
  127. <exclusion>
  128. <groupId>com.fasterxml.jackson.core</groupId>
  129. <artifactId>jackson-core</artifactId>
  130. </exclusion>
  131. <exclusion>
  132. <groupId>com.fasterxml.jackson.core</groupId>
  133. <artifactId>jackson-annotations</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.glassfish.grizzly</groupId>
  139. <artifactId>grizzly-http</artifactId>
  140. <version>${grizzly.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.glassfish.grizzly</groupId>
  144. <artifactId>grizzly-http-server</artifactId>
  145. <version>${grizzly.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.glassfish.grizzly</groupId>
  149. <artifactId>grizzly-http-servlet</artifactId>
  150. <version>${grizzly.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.glassfish.grizzly</groupId>
  154. <artifactId>grizzly-framework-monitoring</artifactId>
  155. <version>${grizzly.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.glassfish.grizzly</groupId>
  159. <artifactId>grizzly-http-monitoring</artifactId>
  160. <version>${grizzly.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.glassfish.grizzly</groupId>
  164. <artifactId>grizzly-http-server-monitoring</artifactId>
  165. <version>${grizzly.version}</version>
  166. </dependency>
  167. <!-- Hibernate -->
  168. <dependency>
  169. <groupId>org.hibernate</groupId>
  170. <artifactId>hibernate-core</artifactId>
  171. <version>${hibernate.version}</version>
  172. </dependency>
  173. <!-- connection pool -->
  174. <dependency>
  175. <groupId>com.mchange</groupId>
  176. <artifactId>c3p0</artifactId>
  177. <version>0.9.5.4</version>
  178. </dependency>
  179. <!-- servlets and webapps -->
  180. <dependency>
  181. <groupId>org.eclipse.jetty</groupId>
  182. <artifactId>jetty-server</artifactId>
  183. <version>${jetty.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.eclipse.jetty</groupId>
  187. <artifactId>jetty-webapp</artifactId>
  188. <version>${jetty.version}</version>
  189. </dependency>
  190. <!-- Logging -->
  191. <dependency>
  192. <groupId>org.slf4j</groupId>
  193. <artifactId>jcl-over-slf4j</artifactId>
  194. <version>${slf4j.version}</version>
  195. </dependency>
  196. <!-- mongoDB -->
  197. <dependency>
  198. <groupId>org.mongodb</groupId>
  199. <artifactId>mongo-java-driver</artifactId>
  200. <version>${org.mongodb.version}</version>
  201. </dependency>
  202. <!-- Morphia Jars -->
  203. <dependency>
  204. <groupId>com.github.jmkgreen.morphia</groupId>
  205. <artifactId>morphia</artifactId>
  206. <version>${morphia.version}</version>
  207. </dependency>
  208. <!-- for @PostConstruct -->
  209. <dependency>
  210. <groupId>javax.annotation</groupId>
  211. <artifactId>javax.annotation-api</artifactId>
  212. <version>1.3.2</version>
  213. </dependency>
  214. <!-- For database population -->
  215. <dependency>
  216. <groupId>org.dbunit</groupId>
  217. <artifactId>dbunit</artifactId>
  218. <version>2.4.8</version>
  219. <scope>test</scope>
  220. </dependency>
  221. <!-- for SessionDAO -->
  222. <dependency>
  223. <groupId>redis.clients</groupId>
  224. <artifactId>jedis</artifactId>
  225. <version>${jedis.version}</version>
  226. </dependency>
  227. <!-- ElasticSearch -->
  228. <dependency>
  229. <groupId>org.elasticsearch</groupId>
  230. <artifactId>elasticsearch</artifactId>
  231. <version>2.2.2</version>
  232. </dependency>
  233. <!-- support for traditional webapps in Jersey -->
  234. <dependency>
  235. <groupId>javax.servlet</groupId>
  236. <artifactId>javax.servlet-api</artifactId>
  237. <version>3.1.0</version>
  238. </dependency>
  239. <!-- error reporting (errbit is airbrake compatible) -->
  240. <dependency>
  241. <groupId>io.airbrake</groupId>
  242. <artifactId>airbrake-java</artifactId>
  243. <version>2.2.8</version>
  244. </dependency>
  245. <!-- DB migrations -->
  246. <dependency>
  247. <groupId>org.flywaydb</groupId>
  248. <artifactId>flyway-core</artifactId>
  249. <version>6.0.7</version>
  250. </dependency>
  251. <!-- supports SearchResults.toCsv -->
  252. <dependency>
  253. <groupId>com.opencsv</groupId>
  254. <artifactId>opencsv</artifactId>
  255. <version>4.1</version>
  256. </dependency>
  257. </dependencies>
  258. </project>