pom.xml 12 KB

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