pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>uk.ac.ic.wlgitbridge</groupId>
  7. <artifactId>writelatex-git-bridge</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <java.version>1.8</java.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version>
  13. <maven.surefire.plugin.version>2.12.4</maven.surefire.plugin.version>
  14. <maven.assembly.plugin.version>3.1.0</maven.assembly.plugin.version>
  15. <fmt.plugin.version>2.23</fmt.plugin.version>
  16. <junit.version>4.13.2</junit.version>
  17. <jmock.junit4.version>2.8.4</jmock.junit4.version>
  18. <jetty.servlet.version>9.4.51.v20230217</jetty.servlet.version>
  19. <gson.version>2.9.0</gson.version>
  20. <async.http.client.version>2.12.3</async.http.client.version>
  21. <jgit.version>6.6.1.202309021850-r</jgit.version>
  22. <sqlite.jdbc.version>3.41.2.2</sqlite.jdbc.version>
  23. <joda.time.version>2.9.9</joda.time.version>
  24. <google.oauth.client.version>1.34.1</google.oauth.client.version>
  25. <google.http.client.version>1.23.0</google.http.client.version>
  26. <commons.lang3.version>3.12.0</commons.lang3.version>
  27. <logback.classic.version>1.2.3</logback.classic.version>
  28. <mockserver.version>5.12.0</mockserver.version>
  29. <mockito.version>3.11.1</mockito.version>
  30. <aws.java.sdk.version>1.11.274</aws.java.sdk.version>
  31. <jakarta.xml.bind.api.version>${jaxb.runtime.version}</jakarta.xml.bind.api.version>
  32. <jaxb.runtime.version>2.3.2</jaxb.runtime.version>
  33. <httpclient.version>4.5.14</httpclient.version>
  34. <commons.io.version>2.10.0</commons.io.version>
  35. <commons.compress.version>1.24.0</commons.compress.version>
  36. <simpleclient.version>0.10.0</simpleclient.version>
  37. </properties>
  38. <build>
  39. <plugins>
  40. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
  41. <plugin>
  42. <artifactId>maven-compiler-plugin</artifactId>
  43. <version>${maven.compiler.plugin.version}</version>
  44. <configuration>
  45. <source>${java.version}</source>
  46. <target>${java.version}</target>
  47. </configuration>
  48. </plugin>
  49. <!-- Workaround, test loader crashes without this configuration option -->
  50. <!-- See: https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class -->
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-surefire-plugin</artifactId>
  54. <version>${maven.surefire.plugin.version}</version>
  55. <configuration>
  56. <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
  57. </configuration>
  58. </plugin>
  59. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-assembly-plugin -->
  60. <plugin>
  61. <artifactId>maven-assembly-plugin</artifactId>
  62. <version>${maven.assembly.plugin.version}</version>
  63. <executions>
  64. <execution>
  65. <phase>package</phase>
  66. <goals>
  67. <goal>single</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. <configuration>
  72. <archive>
  73. <manifest>
  74. <mainClass>uk.ac.ic.wlgitbridge.Main</mainClass>
  75. </manifest>
  76. </archive>
  77. <descriptorRefs>
  78. <descriptorRef>jar-with-dependencies</descriptorRef>
  79. </descriptorRefs>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <groupId>com.spotify.fmt</groupId>
  84. <artifactId>fmt-maven-plugin</artifactId>
  85. <version>${fmt.plugin.version}</version>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. <dependencies>
  90. <!-- https://mvnrepository.com/artifact/junit/junit -->
  91. <dependency>
  92. <groupId>junit</groupId>
  93. <artifactId>junit</artifactId>
  94. <version>${junit.version}</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <!-- https://mvnrepository.com/artifact/org.jmock/jmock-junit4 -->
  98. <dependency>
  99. <groupId>org.jmock</groupId>
  100. <artifactId>jmock-junit4</artifactId>
  101. <version>${jmock.junit4.version}</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-servlet -->
  105. <dependency>
  106. <groupId>org.eclipse.jetty</groupId>
  107. <artifactId>jetty-servlet</artifactId>
  108. <version>${jetty.servlet.version}</version>
  109. </dependency>
  110. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
  111. <dependency>
  112. <groupId>org.eclipse.jetty</groupId>
  113. <artifactId>jetty-server</artifactId>
  114. <version>${jetty.servlet.version}</version>
  115. </dependency>
  116. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  117. <dependency>
  118. <groupId>com.google.code.gson</groupId>
  119. <artifactId>gson</artifactId>
  120. <version>${gson.version}</version>
  121. </dependency>
  122. <!-- https://mvnrepository.com/artifact/org.asynchttpclient/async-http-client -->
  123. <dependency>
  124. <groupId>org.asynchttpclient</groupId>
  125. <artifactId>async-http-client</artifactId>
  126. <version>${async.http.client.version}</version>
  127. </dependency>
  128. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
  129. <dependency>
  130. <groupId>org.eclipse.jgit</groupId>
  131. <artifactId>org.eclipse.jgit</artifactId>
  132. <version>${jgit.version}</version>
  133. </dependency>
  134. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit.http.server -->
  135. <dependency>
  136. <groupId>org.eclipse.jgit</groupId>
  137. <artifactId>org.eclipse.jgit.http.server</artifactId>
  138. <version>${jgit.version}</version>
  139. </dependency>
  140. <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
  141. <dependency>
  142. <groupId>org.xerial</groupId>
  143. <artifactId>sqlite-jdbc</artifactId>
  144. <version>${sqlite.jdbc.version}</version>
  145. </dependency>
  146. <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
  147. <dependency>
  148. <groupId>joda-time</groupId>
  149. <artifactId>joda-time</artifactId>
  150. <version>${joda.time.version}</version>
  151. </dependency>
  152. <!-- https://mvnrepository.com/artifact/com.google.oauth-client/google-oauth-client -->
  153. <dependency>
  154. <groupId>com.google.oauth-client</groupId>
  155. <artifactId>google-oauth-client</artifactId>
  156. <version>${google.oauth.client.version}</version>
  157. </dependency>
  158. <!-- https://mvnrepository.com/artifact/com.google.http-client/google-http-client -->
  159. <dependency>
  160. <groupId>com.google.http-client</groupId>
  161. <artifactId>google-http-client</artifactId>
  162. <version>${google.http.client.version}</version>
  163. </dependency>
  164. <!-- https://mvnrepository.com/artifact/com.google.http-client/google-http-client-gson -->
  165. <dependency>
  166. <groupId>com.google.http-client</groupId>
  167. <artifactId>google-http-client-gson</artifactId>
  168. <version>${google.http.client.version}</version>
  169. </dependency>
  170. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  171. <dependency>
  172. <groupId>org.apache.commons</groupId>
  173. <artifactId>commons-lang3</artifactId>
  174. <version>${commons.lang3.version}</version>
  175. </dependency>
  176. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  177. <dependency>
  178. <groupId>ch.qos.logback</groupId>
  179. <artifactId>logback-classic</artifactId>
  180. <version>${logback.classic.version}</version>
  181. </dependency>
  182. <!-- https://mvnrepository.com/artifact/org.mock-server/mockserver-netty -->
  183. <dependency>
  184. <groupId>org.mock-server</groupId>
  185. <artifactId>mockserver-netty</artifactId>
  186. <version>${mockserver.version}</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <!-- https://mvnrepository.com/artifact/org.mock-server/mockserver-junit-rule -->
  190. <dependency>
  191. <groupId>org.mock-server</groupId>
  192. <artifactId>mockserver-junit-rule</artifactId>
  193. <version>${mockserver.version}</version>
  194. <scope>test</scope>
  195. </dependency>
  196. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
  197. <dependency>
  198. <groupId>org.mockito</groupId>
  199. <artifactId>mockito-core</artifactId>
  200. <version>${mockito.version}</version>
  201. <scope>test</scope>
  202. </dependency>
  203. <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk -->
  204. <dependency>
  205. <groupId>com.amazonaws</groupId>
  206. <artifactId>aws-java-sdk</artifactId>
  207. <version>${aws.java.sdk.version}</version>
  208. </dependency>
  209. <!-- API, java.xml.bind module -->
  210. <dependency>
  211. <groupId>jakarta.xml.bind</groupId>
  212. <artifactId>jakarta.xml.bind-api</artifactId>
  213. <version>${jakarta.xml.bind.api.version}</version>
  214. </dependency>
  215. <!-- Runtime, com.sun.xml.bind module -->
  216. <dependency>
  217. <groupId>org.glassfish.jaxb</groupId>
  218. <artifactId>jaxb-runtime</artifactId>
  219. <version>${jaxb.runtime.version}</version>
  220. </dependency>
  221. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  222. <dependency>
  223. <groupId>org.apache.httpcomponents</groupId>
  224. <artifactId>httpclient</artifactId>
  225. <version>${httpclient.version}</version>
  226. </dependency>
  227. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  228. <dependency>
  229. <groupId>commons-io</groupId>
  230. <artifactId>commons-io</artifactId>
  231. <version>${commons.io.version}</version>
  232. </dependency>
  233. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
  234. <dependency>
  235. <groupId>org.apache.commons</groupId>
  236. <artifactId>commons-compress</artifactId>
  237. <version>${commons.compress.version}</version>
  238. </dependency>
  239. <!-- prometheus metrics -->
  240. <dependency>
  241. <groupId>io.prometheus</groupId>
  242. <artifactId>simpleclient</artifactId>
  243. <version>${simpleclient.version}</version>
  244. </dependency>
  245. <!-- Hotspot JVM metrics -->
  246. <dependency>
  247. <groupId>io.prometheus</groupId>
  248. <artifactId>simpleclient_hotspot</artifactId>
  249. <version>${simpleclient.version}</version>
  250. </dependency>
  251. <!-- Expose metrics via a servlet -->
  252. <dependency>
  253. <groupId>io.prometheus</groupId>
  254. <artifactId>simpleclient_servlet</artifactId>
  255. <version>${simpleclient.version}</version>
  256. </dependency>
  257. </dependencies>
  258. </project>