pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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.5.12</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.13</cryptomator.cryptofs.version>
  24. <cryptomator.integrations.version>0.1.6</cryptomator.integrations.version>
  25. <cryptomator.integrations.win.version>0.2.1</cryptomator.integrations.win.version>
  26. <cryptomator.integrations.mac.version>0.1.0-beta3</cryptomator.integrations.mac.version>
  27. <cryptomator.integrations.linux.version>0.1.1</cryptomator.integrations.linux.version>
  28. <cryptomator.fuse.version>1.2.8</cryptomator.fuse.version>
  29. <cryptomator.dokany.version>1.2.3</cryptomator.dokany.version>
  30. <cryptomator.webdav.version>1.1.1</cryptomator.webdav.version>
  31. <!-- 3rd party dependencies -->
  32. <javafx.version>15</javafx.version>
  33. <commons-lang3.version>3.11</commons-lang3.version>
  34. <jwt.version>3.12.0</jwt.version>
  35. <easybind.version>2.1.0</easybind.version>
  36. <guava.version>30.0-jre</guava.version>
  37. <dagger.version>2.29.1</dagger.version>
  38. <gson.version>2.8.6</gson.version>
  39. <slf4j.version>1.7.30</slf4j.version>
  40. <logback.version>1.2.3</logback.version>
  41. <!-- test dependencies -->
  42. <junit.jupiter.version>5.7.0</junit.jupiter.version>
  43. <mockito.version>3.6.0</mockito.version>
  44. <hamcrest.version>2.2</hamcrest.version>
  45. </properties>
  46. <repositories>
  47. <repository>
  48. <id>jcenter</id>
  49. <url>https://jcenter.bintray.com</url>
  50. </repository>
  51. </repositories>
  52. <dependencyManagement>
  53. <dependencies>
  54. <!-- modules -->
  55. <dependency>
  56. <groupId>org.cryptomator</groupId>
  57. <artifactId>commons</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.cryptomator</groupId>
  62. <artifactId>ui</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.cryptomator</groupId>
  67. <artifactId>launcher</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. <!-- Cryptomator Libs -->
  71. <dependency>
  72. <groupId>org.cryptomator</groupId>
  73. <artifactId>cryptofs</artifactId>
  74. <version>${cryptomator.cryptofs.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.cryptomator</groupId>
  78. <artifactId>fuse-nio-adapter</artifactId>
  79. <version>${cryptomator.fuse.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.cryptomator</groupId>
  83. <artifactId>dokany-nio-adapter</artifactId>
  84. <version>${cryptomator.dokany.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.cryptomator</groupId>
  88. <artifactId>webdav-nio-adapter</artifactId>
  89. <version>${cryptomator.webdav.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.cryptomator</groupId>
  93. <artifactId>integrations-api</artifactId>
  94. <version>${cryptomator.integrations.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.cryptomator</groupId>
  98. <artifactId>integrations-win</artifactId>
  99. <version>${cryptomator.integrations.win.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.cryptomator</groupId>
  103. <artifactId>integrations-mac</artifactId>
  104. <version>${cryptomator.integrations.mac.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.cryptomator</groupId>
  108. <artifactId>integrations-linux</artifactId>
  109. <version>${cryptomator.integrations.linux.version}</version>
  110. </dependency>
  111. <!-- JavaFX -->
  112. <dependency>
  113. <groupId>org.openjfx</groupId>
  114. <artifactId>javafx-base</artifactId>
  115. <version>${javafx.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.openjfx</groupId>
  119. <artifactId>javafx-graphics</artifactId>
  120. <version>${javafx.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.openjfx</groupId>
  124. <artifactId>javafx-controls</artifactId>
  125. <version>${javafx.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.openjfx</groupId>
  129. <artifactId>javafx-fxml</artifactId>
  130. <version>${javafx.version}</version>
  131. </dependency>
  132. <!-- Logging -->
  133. <dependency>
  134. <groupId>org.slf4j</groupId>
  135. <artifactId>slf4j-api</artifactId>
  136. <version>${slf4j.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.slf4j</groupId>
  140. <artifactId>slf4j-simple</artifactId>
  141. <version>${slf4j.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>ch.qos.logback</groupId>
  145. <artifactId>logback-core</artifactId>
  146. <version>${logback.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>ch.qos.logback</groupId>
  150. <artifactId>logback-classic</artifactId>
  151. <version>${logback.version}</version>
  152. </dependency>
  153. <!-- Apache Commons -->
  154. <dependency>
  155. <groupId>org.apache.commons</groupId>
  156. <artifactId>commons-lang3</artifactId>
  157. <version>${commons-lang3.version}</version>
  158. </dependency>
  159. <!-- JWT -->
  160. <dependency>
  161. <groupId>com.auth0</groupId>
  162. <artifactId>java-jwt</artifactId>
  163. <version>${jwt.version}</version>
  164. </dependency>
  165. <!-- EasyBind -->
  166. <dependency>
  167. <groupId>com.tobiasdiez</groupId>
  168. <artifactId>easybind</artifactId>
  169. <version>${easybind.version}</version>
  170. </dependency>
  171. <!-- Google -->
  172. <dependency>
  173. <groupId>com.google.guava</groupId>
  174. <artifactId>guava</artifactId>
  175. <version>${guava.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.google.dagger</groupId>
  179. <artifactId>dagger</artifactId>
  180. <version>${dagger.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.google.code.gson</groupId>
  184. <artifactId>gson</artifactId>
  185. <version>${gson.version}</version>
  186. </dependency>
  187. <!-- JUnit / Mockito / Hamcrest -->
  188. <dependency>
  189. <groupId>org.junit.jupiter</groupId>
  190. <artifactId>junit-jupiter</artifactId>
  191. <version>${junit.jupiter.version}</version>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.mockito</groupId>
  196. <artifactId>mockito-core</artifactId>
  197. <version>${mockito.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.hamcrest</groupId>
  201. <artifactId>hamcrest</artifactId>
  202. <version>${hamcrest.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.openjfx</groupId>
  206. <artifactId>javafx-swing</artifactId>
  207. <version>${javafx.version}</version>
  208. <scope>test</scope>
  209. </dependency>
  210. <!-- TODO: temporary fix for XXE attack, can be removed once java-jwt is updated -->
  211. <dependency>
  212. <groupId>com.fasterxml.jackson.core</groupId>
  213. <artifactId>jackson-databind</artifactId>
  214. <version>2.10.5.1</version>
  215. </dependency>
  216. </dependencies>
  217. </dependencyManagement>
  218. <dependencies>
  219. <!-- common dependencies for all modules -->
  220. <dependency>
  221. <groupId>org.slf4j</groupId>
  222. <artifactId>slf4j-api</artifactId>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.junit.jupiter</groupId>
  226. <artifactId>junit-jupiter</artifactId>
  227. <scope>test</scope>
  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. <profile>
  316. <id>dependency-check</id>
  317. <build>
  318. <plugins>
  319. <plugin>
  320. <groupId>org.owasp</groupId>
  321. <artifactId>dependency-check-maven</artifactId>
  322. <version>6.0.3</version>
  323. <configuration>
  324. <cveValidForHours>24</cveValidForHours>
  325. <failBuildOnCVSS>0</failBuildOnCVSS>
  326. <skipTestScope>true</skipTestScope>
  327. <detail>true</detail>
  328. <suppressionFile>suppression.xml</suppressionFile>
  329. </configuration>
  330. <executions>
  331. <execution>
  332. <goals>
  333. <goal>check</goal>
  334. </goals>
  335. </execution>
  336. </executions>
  337. </plugin>
  338. </plugins>
  339. </build>
  340. </profile>
  341. </profiles>
  342. <build>
  343. <pluginManagement>
  344. <plugins>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-compiler-plugin</artifactId>
  348. <version>3.8.1</version>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-resources-plugin</artifactId>
  353. <version>3.2.0</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-dependency-plugin</artifactId>
  358. <version>3.1.2</version>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-assembly-plugin</artifactId>
  363. <version>3.3.0</version>
  364. </plugin>
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-surefire-plugin</artifactId>
  368. <version>2.22.2</version>
  369. </plugin>
  370. <plugin>
  371. <groupId>org.codehaus.mojo</groupId>
  372. <artifactId>license-maven-plugin</artifactId>
  373. <version>2.0.0</version>
  374. </plugin>
  375. <plugin>
  376. <groupId>org.apache.maven.plugins</groupId>
  377. <artifactId>maven-jar-plugin</artifactId>
  378. <version>3.2.0</version>
  379. <configuration>
  380. <archive>
  381. <manifest>
  382. <!-- adds Implementation-Version which can be read during runtime -->
  383. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  384. </manifest>
  385. </archive>
  386. </configuration>
  387. </plugin>
  388. <plugin>
  389. <groupId>org.jacoco</groupId>
  390. <artifactId>jacoco-maven-plugin</artifactId>
  391. <version>0.8.6</version>
  392. <executions>
  393. <execution>
  394. <id>prepare-agent</id>
  395. <goals>
  396. <goal>prepare-agent</goal>
  397. </goals>
  398. </execution>
  399. <execution>
  400. <id>report</id>
  401. <goals>
  402. <goal>report</goal>
  403. </goals>
  404. </execution>
  405. </executions>
  406. <configuration>
  407. <excludes>
  408. <exclude>**/*_*</exclude>
  409. <exclude>**/Dagger*</exclude>
  410. </excludes>
  411. </configuration>
  412. </plugin>
  413. </plugins>
  414. </pluginManagement>
  415. <plugins>
  416. <plugin>
  417. <artifactId>maven-compiler-plugin</artifactId>
  418. <configuration>
  419. <release>14</release>
  420. <annotationProcessorPaths>
  421. <path>
  422. <groupId>com.google.dagger</groupId>
  423. <artifactId>dagger-compiler</artifactId>
  424. <version>${dagger.version}</version>
  425. </path>
  426. </annotationProcessorPaths>
  427. </configuration>
  428. </plugin>
  429. <plugin>
  430. <groupId>org.apache.maven.plugins</groupId>
  431. <artifactId>maven-surefire-plugin</artifactId>
  432. </plugin>
  433. </plugins>
  434. </build>
  435. </project>