pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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.6.0-SNAPSHOT</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.12</cryptomator.cryptofs.version>
  24. <cryptomator.integrations.version>0.1.4</cryptomator.integrations.version>
  25. <cryptomator.integrations.win.version>0.1.0-beta1</cryptomator.integrations.win.version>
  26. <cryptomator.integrations.mac.version>0.1.0-beta1</cryptomator.integrations.mac.version>
  27. <cryptomator.integrations.linux.version>0.1.0-beta1</cryptomator.integrations.linux.version>
  28. <cryptomator.jni.version>2.2.3</cryptomator.jni.version>
  29. <cryptomator.fuse.version>1.2.5</cryptomator.fuse.version>
  30. <cryptomator.dokany.version>1.1.15</cryptomator.dokany.version>
  31. <cryptomator.webdav.version>1.0.12</cryptomator.webdav.version>
  32. <!-- 3rd party dependencies -->
  33. <javafx.version>14</javafx.version>
  34. <commons-lang3.version>3.11</commons-lang3.version>
  35. <secret-service.version>1.1.0</secret-service.version>
  36. <kdewallet.version>1.1.1</kdewallet.version>
  37. <jwt.version>3.10.3</jwt.version>
  38. <easybind.version>2.1.0</easybind.version>
  39. <guava.version>30.0-jre</guava.version>
  40. <dagger.version>2.22</dagger.version>
  41. <gson.version>2.8.6</gson.version>
  42. <slf4j.version>1.7.30</slf4j.version>
  43. <logback.version>1.2.3</logback.version>
  44. <!-- test dependencies -->
  45. <junit.jupiter.version>5.6.2</junit.jupiter.version>
  46. <mockito.version>3.3.3</mockito.version>
  47. <hamcrest.version>2.2</hamcrest.version>
  48. </properties>
  49. <repositories>
  50. <repository>
  51. <id>jcenter</id>
  52. <url>https://jcenter.bintray.com</url>
  53. </repository>
  54. </repositories>
  55. <dependencyManagement>
  56. <dependencies>
  57. <!-- modules -->
  58. <dependency>
  59. <groupId>org.cryptomator</groupId>
  60. <artifactId>commons</artifactId>
  61. <version>${project.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.cryptomator</groupId>
  65. <artifactId>ui</artifactId>
  66. <version>${project.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.cryptomator</groupId>
  70. <artifactId>launcher</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <!-- Cryptomator Libs -->
  74. <dependency>
  75. <groupId>org.cryptomator</groupId>
  76. <artifactId>siv-mode</artifactId>
  77. <version>1.4.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.cryptomator</groupId>
  81. <artifactId>cryptofs</artifactId>
  82. <version>${cryptomator.cryptofs.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.cryptomator</groupId>
  86. <artifactId>fuse-nio-adapter</artifactId>
  87. <version>${cryptomator.fuse.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.cryptomator</groupId>
  91. <artifactId>dokany-nio-adapter</artifactId>
  92. <version>${cryptomator.dokany.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.cryptomator</groupId>
  96. <artifactId>webdav-nio-adapter</artifactId>
  97. <version>${cryptomator.webdav.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.cryptomator</groupId>
  101. <artifactId>integrations-api</artifactId>
  102. <version>${cryptomator.integrations.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.cryptomator</groupId>
  106. <artifactId>integrations-win</artifactId>
  107. <version>${cryptomator.integrations.win.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.cryptomator</groupId>
  111. <artifactId>integrations-mac</artifactId>
  112. <version>${cryptomator.integrations.mac.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.cryptomator</groupId>
  116. <artifactId>integrations-linux</artifactId>
  117. <version>${cryptomator.integrations.linux.version}</version>
  118. </dependency>
  119. <dependency> <!-- deprecated: will be replaced by integrations-api -->
  120. <groupId>org.cryptomator</groupId>
  121. <artifactId>jni</artifactId>
  122. <version>${cryptomator.jni.version}</version>
  123. </dependency>
  124. <!-- JavaFX -->
  125. <dependency>
  126. <groupId>org.openjfx</groupId>
  127. <artifactId>javafx-base</artifactId>
  128. <version>${javafx.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.openjfx</groupId>
  132. <artifactId>javafx-graphics</artifactId>
  133. <version>${javafx.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.openjfx</groupId>
  137. <artifactId>javafx-controls</artifactId>
  138. <version>${javafx.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.openjfx</groupId>
  142. <artifactId>javafx-fxml</artifactId>
  143. <version>${javafx.version}</version>
  144. </dependency>
  145. <!-- Logging -->
  146. <dependency>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-api</artifactId>
  149. <version>${slf4j.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.slf4j</groupId>
  153. <artifactId>slf4j-simple</artifactId>
  154. <version>${slf4j.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>ch.qos.logback</groupId>
  158. <artifactId>logback-core</artifactId>
  159. <version>${logback.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>ch.qos.logback</groupId>
  163. <artifactId>logback-classic</artifactId>
  164. <version>${logback.version}</version>
  165. </dependency>
  166. <!-- Apache Commons -->
  167. <dependency>
  168. <groupId>org.apache.commons</groupId>
  169. <artifactId>commons-lang3</artifactId>
  170. <version>${commons-lang3.version}</version>
  171. </dependency>
  172. <!-- JWT -->
  173. <dependency>
  174. <groupId>com.auth0</groupId>
  175. <artifactId>java-jwt</artifactId>
  176. <version>${jwt.version}</version>
  177. </dependency>
  178. <!-- EasyBind -->
  179. <dependency>
  180. <groupId>com.tobiasdiez</groupId>
  181. <artifactId>easybind</artifactId>
  182. <version>${easybind.version}</version>
  183. </dependency>
  184. <!-- Google -->
  185. <dependency>
  186. <groupId>com.google.guava</groupId>
  187. <artifactId>guava</artifactId>
  188. <version>${guava.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.google.dagger</groupId>
  192. <artifactId>dagger</artifactId>
  193. <version>${dagger.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.google.code.gson</groupId>
  197. <artifactId>gson</artifactId>
  198. <version>${gson.version}</version>
  199. </dependency>
  200. <!-- JUnit / Mockito / Hamcrest -->
  201. <dependency>
  202. <groupId>org.junit.jupiter</groupId>
  203. <artifactId>junit-jupiter</artifactId>
  204. <version>${junit.jupiter.version}</version>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.mockito</groupId>
  209. <artifactId>mockito-core</artifactId>
  210. <version>${mockito.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.hamcrest</groupId>
  214. <artifactId>hamcrest</artifactId>
  215. <version>${hamcrest.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.openjfx</groupId>
  219. <artifactId>javafx-swing</artifactId>
  220. <version>${javafx.version}</version>
  221. <scope>test</scope>
  222. </dependency>
  223. </dependencies>
  224. </dependencyManagement>
  225. <dependencies>
  226. <!-- common dependencies for all modules -->
  227. <dependency>
  228. <groupId>org.slf4j</groupId>
  229. <artifactId>slf4j-api</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.junit.jupiter</groupId>
  233. <artifactId>junit-jupiter</artifactId>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hamcrest</groupId>
  237. <artifactId>hamcrest</artifactId>
  238. <scope>test</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.mockito</groupId>
  242. <artifactId>mockito-core</artifactId>
  243. <scope>test</scope>
  244. </dependency>
  245. </dependencies>
  246. <modules>
  247. <module>commons</module>
  248. <module>ui</module>
  249. <module>launcher</module>
  250. </modules>
  251. <profiles>
  252. <profile>
  253. <id>release</id>
  254. <modules>
  255. <module>buildkit</module>
  256. </modules>
  257. </profile>
  258. <profile>
  259. <id>coverage</id>
  260. <build>
  261. <plugins>
  262. <plugin>
  263. <groupId>org.jacoco</groupId>
  264. <artifactId>jacoco-maven-plugin</artifactId>
  265. </plugin>
  266. </plugins>
  267. </build>
  268. </profile>
  269. <profile>
  270. <id>mac</id>
  271. <activation>
  272. <os>
  273. <family>mac</family>
  274. </os>
  275. <property>
  276. <name>idea.version</name>
  277. </property>
  278. </activation>
  279. <dependencies>
  280. <dependency>
  281. <groupId>org.cryptomator</groupId>
  282. <artifactId>integrations-mac</artifactId>
  283. </dependency>
  284. </dependencies>
  285. </profile>
  286. <profile>
  287. <id>linux</id>
  288. <activation>
  289. <os>
  290. <family>unix</family>
  291. <name>Linux</name>
  292. </os>
  293. <property>
  294. <name>idea.version</name>
  295. </property>
  296. </activation>
  297. <dependencies>
  298. <dependency>
  299. <groupId>org.cryptomator</groupId>
  300. <artifactId>integrations-linux</artifactId>
  301. </dependency>
  302. </dependencies>
  303. </profile>
  304. <profile>
  305. <id>windows</id>
  306. <activation>
  307. <os>
  308. <family>windows</family>
  309. </os>
  310. <property>
  311. <name>idea.version</name>
  312. </property>
  313. </activation>
  314. <dependencies>
  315. <dependency>
  316. <groupId>org.cryptomator</groupId>
  317. <artifactId>integrations-win</artifactId>
  318. </dependency>
  319. </dependencies>
  320. </profile>
  321. </profiles>
  322. <build>
  323. <pluginManagement>
  324. <plugins>
  325. <plugin>
  326. <groupId>org.apache.maven.plugins</groupId>
  327. <artifactId>maven-compiler-plugin</artifactId>
  328. <version>3.8.1</version>
  329. </plugin>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-resources-plugin</artifactId>
  333. <version>3.2.0</version>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-dependency-plugin</artifactId>
  338. <version>3.1.2</version>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.apache.maven.plugins</groupId>
  342. <artifactId>maven-assembly-plugin</artifactId>
  343. <version>3.3.0</version>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-surefire-plugin</artifactId>
  348. <version>2.22.2</version>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.codehaus.mojo</groupId>
  352. <artifactId>license-maven-plugin</artifactId>
  353. <version>2.0.0</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-jar-plugin</artifactId>
  358. <version>3.2.0</version>
  359. <configuration>
  360. <archive>
  361. <manifest>
  362. <!-- adds Implementation-Version which can be read during runtime -->
  363. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  364. </manifest>
  365. </archive>
  366. </configuration>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.jacoco</groupId>
  370. <artifactId>jacoco-maven-plugin</artifactId>
  371. <version>0.8.5</version>
  372. <executions>
  373. <execution>
  374. <id>prepare-agent</id>
  375. <goals>
  376. <goal>prepare-agent</goal>
  377. </goals>
  378. </execution>
  379. <execution>
  380. <id>report</id>
  381. <goals>
  382. <goal>report</goal>
  383. </goals>
  384. </execution>
  385. </executions>
  386. <configuration>
  387. <excludes>
  388. <exclude>**/*_*</exclude>
  389. <exclude>**/Dagger*</exclude>
  390. </excludes>
  391. </configuration>
  392. </plugin>
  393. </plugins>
  394. </pluginManagement>
  395. <plugins>
  396. <plugin>
  397. <artifactId>maven-compiler-plugin</artifactId>
  398. <configuration>
  399. <release>14</release>
  400. <annotationProcessorPaths>
  401. <path>
  402. <groupId>com.google.dagger</groupId>
  403. <artifactId>dagger-compiler</artifactId>
  404. <version>${dagger.version}</version>
  405. </path>
  406. </annotationProcessorPaths>
  407. </configuration>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.apache.maven.plugins</groupId>
  411. <artifactId>maven-surefire-plugin</artifactId>
  412. </plugin>
  413. </plugins>
  414. </build>
  415. </project>