pom.xml 13 KB

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