pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.cryptomator</groupId>
  5. <artifactId>main</artifactId>
  6. <version>1.5.0</version>
  7. <packaging>pom</packaging>
  8. <name>Cryptomator</name>
  9. <organization>
  10. <name>cryptomator.org</name>
  11. <url>https://cryptomator.org</url>
  12. </organization>
  13. <developers>
  14. <developer>
  15. <name>Sebastian Stenzel</name>
  16. <email>sebastian.stenzel@gmail.com</email>
  17. <timezone>+1</timezone>
  18. </developer>
  19. </developers>
  20. <properties>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <!-- cryptomator dependencies -->
  23. <cryptomator.cryptofs.version>1.9.4</cryptomator.cryptofs.version>
  24. <cryptomator.jni.version>2.2.2</cryptomator.jni.version>
  25. <cryptomator.fuse.version>1.2.3</cryptomator.fuse.version>
  26. <cryptomator.dokany.version>1.1.13</cryptomator.dokany.version>
  27. <cryptomator.webdav.version>1.0.10</cryptomator.webdav.version>
  28. <!-- 3rd party dependencies -->
  29. <javafx.version>14</javafx.version>
  30. <commons-lang3.version>3.9</commons-lang3.version>
  31. <jwt.version>3.10.0</jwt.version>
  32. <easybind.version>1.0.3</easybind.version>
  33. <guava.version>28.2-jre</guava.version>
  34. <dagger.version>2.27</dagger.version>
  35. <gson.version>2.8.6</gson.version>
  36. <slf4j.version>1.7.30</slf4j.version>
  37. <logback.version>1.2.3</logback.version>
  38. <!-- test dependencies -->
  39. <junit.jupiter.version>5.6.1</junit.jupiter.version>
  40. <mockito.version>3.3.3</mockito.version>
  41. <hamcrest.version>2.2</hamcrest.version>
  42. </properties>
  43. <repositories>
  44. <repository>
  45. <id>jcenter</id>
  46. <url>https://jcenter.bintray.com</url>
  47. </repository>
  48. </repositories>
  49. <dependencyManagement>
  50. <dependencies>
  51. <!-- modules -->
  52. <dependency>
  53. <groupId>org.cryptomator</groupId>
  54. <artifactId>commons</artifactId>
  55. <version>${project.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.cryptomator</groupId>
  59. <artifactId>keychain</artifactId>
  60. <version>${project.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.cryptomator</groupId>
  64. <artifactId>ui</artifactId>
  65. <version>${project.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.cryptomator</groupId>
  69. <artifactId>launcher</artifactId>
  70. <version>${project.version}</version>
  71. </dependency>
  72. <!-- Cryptomator Libs -->
  73. <dependency>
  74. <groupId>org.cryptomator</groupId>
  75. <artifactId>cryptofs</artifactId>
  76. <version>${cryptomator.cryptofs.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.cryptomator</groupId>
  80. <artifactId>fuse-nio-adapter</artifactId>
  81. <version>${cryptomator.fuse.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.cryptomator</groupId>
  85. <artifactId>dokany-nio-adapter</artifactId>
  86. <version>${cryptomator.dokany.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.cryptomator</groupId>
  90. <artifactId>webdav-nio-adapter</artifactId>
  91. <version>${cryptomator.webdav.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.cryptomator</groupId>
  95. <artifactId>jni</artifactId>
  96. <version>${cryptomator.jni.version}</version>
  97. </dependency>
  98. <!-- JavaFX -->
  99. <dependency>
  100. <groupId>org.openjfx</groupId>
  101. <artifactId>javafx-base</artifactId>
  102. <version>${javafx.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.openjfx</groupId>
  106. <artifactId>javafx-graphics</artifactId>
  107. <version>${javafx.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.openjfx</groupId>
  111. <artifactId>javafx-controls</artifactId>
  112. <version>${javafx.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.openjfx</groupId>
  116. <artifactId>javafx-fxml</artifactId>
  117. <version>${javafx.version}</version>
  118. </dependency>
  119. <!-- Logging -->
  120. <dependency>
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>slf4j-api</artifactId>
  123. <version>${slf4j.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.slf4j</groupId>
  127. <artifactId>slf4j-simple</artifactId>
  128. <version>${slf4j.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>ch.qos.logback</groupId>
  132. <artifactId>logback-core</artifactId>
  133. <version>${logback.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>ch.qos.logback</groupId>
  137. <artifactId>logback-classic</artifactId>
  138. <version>${logback.version}</version>
  139. </dependency>
  140. <!-- Apache Commons -->
  141. <dependency>
  142. <groupId>org.apache.commons</groupId>
  143. <artifactId>commons-lang3</artifactId>
  144. <version>${commons-lang3.version}</version>
  145. </dependency>
  146. <!-- JWT -->
  147. <dependency>
  148. <groupId>com.auth0</groupId>
  149. <artifactId>java-jwt</artifactId>
  150. <version>${jwt.version}</version>
  151. </dependency>
  152. <!-- EasyBind -->
  153. <dependency>
  154. <groupId>org.fxmisc.easybind</groupId>
  155. <artifactId>easybind</artifactId>
  156. <version>${easybind.version}</version>
  157. </dependency>
  158. <!-- Google -->
  159. <dependency>
  160. <groupId>com.google.guava</groupId>
  161. <artifactId>guava</artifactId>
  162. <version>${guava.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.google.dagger</groupId>
  166. <artifactId>dagger</artifactId>
  167. <version>${dagger.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.google.code.gson</groupId>
  171. <artifactId>gson</artifactId>
  172. <version>${gson.version}</version>
  173. </dependency>
  174. <!-- JUnit / Mockito / Hamcrest -->
  175. <dependency>
  176. <groupId>org.junit.jupiter</groupId>
  177. <artifactId>junit-jupiter</artifactId>
  178. <version>${junit.jupiter.version}</version>
  179. <scope>test</scope>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.mockito</groupId>
  183. <artifactId>mockito-core</artifactId>
  184. <version>${mockito.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.hamcrest</groupId>
  188. <artifactId>hamcrest</artifactId>
  189. <version>${hamcrest.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.openjfx</groupId>
  193. <artifactId>javafx-swing</artifactId>
  194. <version>${javafx.version}</version>
  195. <scope>test</scope>
  196. </dependency>
  197. </dependencies>
  198. </dependencyManagement>
  199. <dependencies>
  200. <!-- common dependencies for all modules -->
  201. <dependency>
  202. <groupId>org.slf4j</groupId>
  203. <artifactId>slf4j-api</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.junit.jupiter</groupId>
  207. <artifactId>junit-jupiter</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.hamcrest</groupId>
  211. <artifactId>hamcrest</artifactId>
  212. <scope>test</scope>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.mockito</groupId>
  216. <artifactId>mockito-core</artifactId>
  217. <scope>test</scope>
  218. </dependency>
  219. </dependencies>
  220. <modules>
  221. <module>commons</module>
  222. <module>keychain</module>
  223. <module>ui</module>
  224. <module>launcher</module>
  225. </modules>
  226. <profiles>
  227. <profile>
  228. <id>release</id>
  229. <modules>
  230. <module>buildkit</module>
  231. </modules>
  232. </profile>
  233. <profile>
  234. <id>coverage</id>
  235. <build>
  236. <plugins>
  237. <plugin>
  238. <groupId>org.jacoco</groupId>
  239. <artifactId>jacoco-maven-plugin</artifactId>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. </profile>
  244. </profiles>
  245. <build>
  246. <pluginManagement>
  247. <plugins>
  248. <plugin>
  249. <artifactId>maven-dependency-plugin</artifactId>
  250. <version>3.1.2</version>
  251. <executions>
  252. <execution>
  253. <id>copy-libs</id>
  254. <goals>
  255. <goal>copy-dependencies</goal>
  256. </goals>
  257. <configuration>
  258. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  259. <includeScope>runtime</includeScope>
  260. </configuration>
  261. </execution>
  262. </executions>
  263. </plugin>
  264. <plugin>
  265. <groupId>org.codehaus.mojo</groupId>
  266. <artifactId>license-maven-plugin</artifactId>
  267. <version>2.0.0</version>
  268. </plugin>
  269. <plugin>
  270. <groupId>org.apache.maven.plugins</groupId>
  271. <artifactId>maven-jar-plugin</artifactId>
  272. <version>3.2.0</version>
  273. <configuration>
  274. <archive>
  275. <manifest>
  276. <!-- adds Implementation-Version which can be read during runtime -->
  277. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  278. </manifest>
  279. </archive>
  280. </configuration>
  281. </plugin>
  282. <plugin>
  283. <groupId>org.jacoco</groupId>
  284. <artifactId>jacoco-maven-plugin</artifactId>
  285. <version>0.8.5</version>
  286. <executions>
  287. <execution>
  288. <id>prepare-agent</id>
  289. <goals>
  290. <goal>prepare-agent</goal>
  291. </goals>
  292. </execution>
  293. <execution>
  294. <id>report</id>
  295. <goals>
  296. <goal>report</goal>
  297. </goals>
  298. </execution>
  299. </executions>
  300. <configuration>
  301. <excludes>
  302. <exclude>**/*_*</exclude>
  303. <exclude>**/Dagger*</exclude>
  304. </excludes>
  305. </configuration>
  306. </plugin>
  307. </plugins>
  308. </pluginManagement>
  309. <plugins>
  310. <plugin>
  311. <artifactId>maven-compiler-plugin</artifactId>
  312. <version>3.8.1</version>
  313. <configuration>
  314. <release>11</release>
  315. <annotationProcessorPaths>
  316. <path>
  317. <groupId>com.google.dagger</groupId>
  318. <artifactId>dagger-compiler</artifactId>
  319. <version>${dagger.version}</version>
  320. </path>
  321. </annotationProcessorPaths>
  322. </configuration>
  323. </plugin>
  324. <plugin>
  325. <groupId>org.apache.maven.plugins</groupId>
  326. <artifactId>maven-surefire-plugin</artifactId>
  327. <version>2.22.2</version>
  328. </plugin>
  329. </plugins>
  330. </build>
  331. </project>