pom.xml 9.6 KB

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