pom.xml 12 KB

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