pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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>21</java.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.plugin.version>3.13.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>5.12.0</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. <bouncycastle.crypto.version>1.70</bouncycastle.crypto.version>
  38. </properties>
  39. <build>
  40. <plugins>
  41. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
  42. <plugin>
  43. <artifactId>maven-compiler-plugin</artifactId>
  44. <version>${maven.compiler.plugin.version}</version>
  45. <configuration>
  46. <source>${java.version}</source>
  47. <target>${java.version}</target>
  48. <release>${java.version}</release>
  49. </configuration>
  50. </plugin>
  51. <!-- Workaround, test loader crashes without this configuration option -->
  52. <!-- See: https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class -->
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-surefire-plugin</artifactId>
  56. <version>${maven.surefire.plugin.version}</version>
  57. <configuration>
  58. <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
  59. </configuration>
  60. </plugin>
  61. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-assembly-plugin -->
  62. <plugin>
  63. <artifactId>maven-assembly-plugin</artifactId>
  64. <version>${maven.assembly.plugin.version}</version>
  65. <executions>
  66. <execution>
  67. <phase>package</phase>
  68. <goals>
  69. <goal>single</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. <configuration>
  74. <archive>
  75. <manifest>
  76. <mainClass>uk.ac.ic.wlgitbridge.Main</mainClass>
  77. </manifest>
  78. </archive>
  79. <descriptorRefs>
  80. <descriptorRef>jar-with-dependencies</descriptorRef>
  81. </descriptorRefs>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <groupId>com.spotify.fmt</groupId>
  86. <artifactId>fmt-maven-plugin</artifactId>
  87. <version>${fmt.plugin.version}</version>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. <dependencies>
  92. <!-- https://mvnrepository.com/artifact/junit/junit -->
  93. <dependency>
  94. <groupId>junit</groupId>
  95. <artifactId>junit</artifactId>
  96. <version>${junit.version}</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/org.jmock/jmock-junit4 -->
  100. <dependency>
  101. <groupId>org.jmock</groupId>
  102. <artifactId>jmock-junit4</artifactId>
  103. <version>${jmock.junit4.version}</version>
  104. <scope>test</scope>
  105. </dependency>
  106. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-servlet -->
  107. <dependency>
  108. <groupId>org.eclipse.jetty</groupId>
  109. <artifactId>jetty-servlet</artifactId>
  110. <version>${jetty.servlet.version}</version>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
  113. <dependency>
  114. <groupId>org.eclipse.jetty</groupId>
  115. <artifactId>jetty-server</artifactId>
  116. <version>${jetty.servlet.version}</version>
  117. </dependency>
  118. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  119. <dependency>
  120. <groupId>com.google.code.gson</groupId>
  121. <artifactId>gson</artifactId>
  122. <version>${gson.version}</version>
  123. </dependency>
  124. <!-- https://mvnrepository.com/artifact/org.asynchttpclient/async-http-client -->
  125. <dependency>
  126. <groupId>org.asynchttpclient</groupId>
  127. <artifactId>async-http-client</artifactId>
  128. <version>${async.http.client.version}</version>
  129. </dependency>
  130. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
  131. <dependency>
  132. <groupId>org.eclipse.jgit</groupId>
  133. <artifactId>org.eclipse.jgit</artifactId>
  134. <version>${jgit.version}</version>
  135. </dependency>
  136. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit.http.server -->
  137. <dependency>
  138. <groupId>org.eclipse.jgit</groupId>
  139. <artifactId>org.eclipse.jgit.http.server</artifactId>
  140. <version>${jgit.version}</version>
  141. </dependency>
  142. <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
  143. <dependency>
  144. <groupId>org.xerial</groupId>
  145. <artifactId>sqlite-jdbc</artifactId>
  146. <version>${sqlite.jdbc.version}</version>
  147. </dependency>
  148. <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
  149. <dependency>
  150. <groupId>joda-time</groupId>
  151. <artifactId>joda-time</artifactId>
  152. <version>${joda.time.version}</version>
  153. </dependency>
  154. <!-- https://mvnrepository.com/artifact/com.google.oauth-client/google-oauth-client -->
  155. <dependency>
  156. <groupId>com.google.oauth-client</groupId>
  157. <artifactId>google-oauth-client</artifactId>
  158. <version>${google.oauth.client.version}</version>
  159. </dependency>
  160. <!-- https://mvnrepository.com/artifact/com.google.http-client/google-http-client -->
  161. <dependency>
  162. <groupId>com.google.http-client</groupId>
  163. <artifactId>google-http-client</artifactId>
  164. <version>${google.http.client.version}</version>
  165. </dependency>
  166. <!-- https://mvnrepository.com/artifact/com.google.http-client/google-http-client-gson -->
  167. <dependency>
  168. <groupId>com.google.http-client</groupId>
  169. <artifactId>google-http-client-gson</artifactId>
  170. <version>${google.http.client.version}</version>
  171. </dependency>
  172. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  173. <dependency>
  174. <groupId>org.apache.commons</groupId>
  175. <artifactId>commons-lang3</artifactId>
  176. <version>${commons.lang3.version}</version>
  177. </dependency>
  178. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  179. <dependency>
  180. <groupId>ch.qos.logback</groupId>
  181. <artifactId>logback-classic</artifactId>
  182. <version>${logback.classic.version}</version>
  183. </dependency>
  184. <!-- https://mvnrepository.com/artifact/org.mock-server/mockserver-netty -->
  185. <dependency>
  186. <groupId>org.mock-server</groupId>
  187. <artifactId>mockserver-netty</artifactId>
  188. <version>${mockserver.version}</version>
  189. <scope>test</scope>
  190. </dependency>
  191. <!-- https://mvnrepository.com/artifact/org.mock-server/mockserver-junit-rule -->
  192. <dependency>
  193. <groupId>org.mock-server</groupId>
  194. <artifactId>mockserver-junit-rule</artifactId>
  195. <version>${mockserver.version}</version>
  196. <scope>test</scope>
  197. </dependency>
  198. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
  199. <dependency>
  200. <groupId>org.mockito</groupId>
  201. <artifactId>mockito-core</artifactId>
  202. <version>${mockito.version}</version>
  203. <scope>test</scope>
  204. </dependency>
  205. <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk -->
  206. <dependency>
  207. <groupId>com.amazonaws</groupId>
  208. <artifactId>aws-java-sdk</artifactId>
  209. <version>${aws.java.sdk.version}</version>
  210. </dependency>
  211. <!-- API, java.xml.bind module -->
  212. <dependency>
  213. <groupId>jakarta.xml.bind</groupId>
  214. <artifactId>jakarta.xml.bind-api</artifactId>
  215. <version>${jakarta.xml.bind.api.version}</version>
  216. </dependency>
  217. <!-- Runtime, com.sun.xml.bind module -->
  218. <dependency>
  219. <groupId>org.glassfish.jaxb</groupId>
  220. <artifactId>jaxb-runtime</artifactId>
  221. <version>${jaxb.runtime.version}</version>
  222. </dependency>
  223. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  224. <dependency>
  225. <groupId>org.apache.httpcomponents</groupId>
  226. <artifactId>httpclient</artifactId>
  227. <version>${httpclient.version}</version>
  228. </dependency>
  229. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  230. <dependency>
  231. <groupId>commons-io</groupId>
  232. <artifactId>commons-io</artifactId>
  233. <version>${commons.io.version}</version>
  234. </dependency>
  235. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
  236. <dependency>
  237. <groupId>org.apache.commons</groupId>
  238. <artifactId>commons-compress</artifactId>
  239. <version>${commons.compress.version}</version>
  240. </dependency>
  241. <!-- prometheus metrics -->
  242. <dependency>
  243. <groupId>io.prometheus</groupId>
  244. <artifactId>simpleclient</artifactId>
  245. <version>${simpleclient.version}</version>
  246. </dependency>
  247. <!-- Hotspot JVM metrics -->
  248. <dependency>
  249. <groupId>io.prometheus</groupId>
  250. <artifactId>simpleclient_hotspot</artifactId>
  251. <version>${simpleclient.version}</version>
  252. </dependency>
  253. <!-- Expose metrics via a servlet -->
  254. <dependency>
  255. <groupId>io.prometheus</groupId>
  256. <artifactId>simpleclient_servlet</artifactId>
  257. <version>${simpleclient.version}</version>
  258. </dependency>
  259. <!-- Require by MockServerClient to load 'sun.security.x509' / 'sun.security.util' -->
  260. <dependency>
  261. <groupId>org.bouncycastle</groupId>
  262. <artifactId>bcprov-jdk15on</artifactId>
  263. <version>${bouncycastle.crypto.version}</version>
  264. <scope>test</scope>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.bouncycastle</groupId>
  268. <artifactId>bcpkix-jdk15on</artifactId>
  269. <version>${bouncycastle.crypto.version}</version>
  270. <scope>test</scope>
  271. </dependency>
  272. </dependencies>
  273. </project>