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-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <name>Cryptomator</name>
  9. <organization>
  10. <name>cryptomator.org</name>
  11. <url>http://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. <!-- dependency versions -->
  23. <cryptomator.cryptolib.version>1.2.1</cryptomator.cryptolib.version>
  24. <cryptomator.cryptofs.version>1.7.0</cryptomator.cryptofs.version>
  25. <cryptomator.jni.version>2.0.0</cryptomator.jni.version>
  26. <cryptomator.fuse.version>1.1.0</cryptomator.fuse.version>
  27. <cryptomator.dokany.version>1.1.3</cryptomator.dokany.version>
  28. <cryptomator.webdav.version>1.0.6</cryptomator.webdav.version>
  29. <javafx.version>11.0.2</javafx.version>
  30. <commons-io.version>2.6</commons-io.version>
  31. <commons-lang3.version>3.8.1</commons-lang3.version>
  32. <easybind.version>1.0.3</easybind.version>
  33. <guava.version>27.0-jre</guava.version>
  34. <dagger.version>2.20</dagger.version>
  35. <gson.version>2.8.5</gson.version>
  36. <slf4j.version>1.7.25</slf4j.version>
  37. <logback.version>1.2.3</logback.version>
  38. <junit.version>4.12</junit.version>
  39. <junit.hierarchicalrunner.version>4.12.1</junit.hierarchicalrunner.version>
  40. <mockito.version>2.23.0</mockito.version>
  41. <hamcrest.version>1.3</hamcrest.version> <!-- keep in sync with version required by JUnit -->
  42. </properties>
  43. <repositories>
  44. <repository>
  45. <id>ossrh-snapshots</id>
  46. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  47. <releases>
  48. <enabled>false</enabled>
  49. </releases>
  50. <snapshots>
  51. <enabled>true</enabled>
  52. </snapshots>
  53. </repository>
  54. <repository>
  55. <id>jcenter</id>
  56. <url>http://jcenter.bintray.com</url>
  57. </repository>
  58. </repositories>
  59. <dependencyManagement>
  60. <dependencies>
  61. <!-- modules -->
  62. <dependency>
  63. <groupId>org.cryptomator</groupId>
  64. <artifactId>commons</artifactId>
  65. <version>${project.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.cryptomator</groupId>
  69. <artifactId>keychain</artifactId>
  70. <version>${project.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.cryptomator</groupId>
  74. <artifactId>ui</artifactId>
  75. <version>${project.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.cryptomator</groupId>
  79. <artifactId>launcher</artifactId>
  80. <version>${project.version}</version>
  81. </dependency>
  82. <!-- Cryptomator Libs -->
  83. <dependency>
  84. <groupId>org.cryptomator</groupId>
  85. <artifactId>cryptolib</artifactId>
  86. <version>${cryptomator.cryptolib.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.cryptomator</groupId>
  90. <artifactId>cryptofs</artifactId>
  91. <version>${cryptomator.cryptofs.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.cryptomator</groupId>
  95. <artifactId>fuse-nio-adapter</artifactId>
  96. <version>${cryptomator.fuse.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.cryptomator</groupId>
  100. <artifactId>dokany-nio-adapter</artifactId>
  101. <version>${cryptomator.dokany.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.cryptomator</groupId>
  105. <artifactId>webdav-nio-adapter</artifactId>
  106. <version>${cryptomator.webdav.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.cryptomator</groupId>
  110. <artifactId>jni</artifactId>
  111. <version>${cryptomator.jni.version}</version>
  112. </dependency>
  113. <!-- JavaFX -->
  114. <dependency>
  115. <groupId>org.openjfx</groupId>
  116. <artifactId>javafx-base</artifactId>
  117. <version>${javafx.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.openjfx</groupId>
  121. <artifactId>javafx-controls</artifactId>
  122. <version>${javafx.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.openjfx</groupId>
  126. <artifactId>javafx-fxml</artifactId>
  127. <version>${javafx.version}</version>
  128. </dependency>
  129. <!-- Logging -->
  130. <dependency>
  131. <groupId>org.slf4j</groupId>
  132. <artifactId>slf4j-api</artifactId>
  133. <version>${slf4j.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.slf4j</groupId>
  137. <artifactId>slf4j-simple</artifactId>
  138. <version>${slf4j.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>ch.qos.logback</groupId>
  142. <artifactId>logback-core</artifactId>
  143. <version>${logback.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>ch.qos.logback</groupId>
  147. <artifactId>logback-classic</artifactId>
  148. <version>${logback.version}</version>
  149. </dependency>
  150. <!-- Apache Commons -->
  151. <dependency>
  152. <groupId>commons-io</groupId>
  153. <artifactId>commons-io</artifactId>
  154. <version>${commons-io.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.commons</groupId>
  158. <artifactId>commons-lang3</artifactId>
  159. <version>${commons-lang3.version}</version>
  160. </dependency>
  161. <!-- EasyBind -->
  162. <dependency>
  163. <groupId>org.fxmisc.easybind</groupId>
  164. <artifactId>easybind</artifactId>
  165. <version>${easybind.version}</version>
  166. </dependency>
  167. <!-- Google -->
  168. <dependency>
  169. <groupId>com.google.guava</groupId>
  170. <artifactId>guava</artifactId>
  171. <version>${guava.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.google.dagger</groupId>
  175. <artifactId>dagger</artifactId>
  176. <version>${dagger.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.google.code.gson</groupId>
  180. <artifactId>gson</artifactId>
  181. <version>${gson.version}</version>
  182. </dependency>
  183. <!-- JUnit / Mockito / Hamcrest -->
  184. <dependency>
  185. <groupId>junit</groupId>
  186. <artifactId>junit</artifactId>
  187. <version>${junit.version}</version>
  188. <exclusions>
  189. <exclusion>
  190. <artifactId>hamcrest-core</artifactId>
  191. <groupId>org.hamcrest</groupId>
  192. </exclusion>
  193. </exclusions>
  194. </dependency>
  195. <dependency>
  196. <groupId>de.bechte.junit</groupId>
  197. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  198. <version>${junit.hierarchicalrunner.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.mockito</groupId>
  202. <artifactId>mockito-core</artifactId>
  203. <version>${mockito.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.hamcrest</groupId>
  207. <artifactId>hamcrest-all</artifactId>
  208. <version>${hamcrest.version}</version>
  209. </dependency>
  210. </dependencies>
  211. </dependencyManagement>
  212. <dependencies>
  213. <!-- common dependencies for all modules -->
  214. <dependency>
  215. <groupId>org.slf4j</groupId>
  216. <artifactId>slf4j-api</artifactId>
  217. </dependency>
  218. <dependency>
  219. <groupId>junit</groupId>
  220. <artifactId>junit</artifactId>
  221. <scope>test</scope>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.hamcrest</groupId>
  225. <artifactId>hamcrest-all</artifactId>
  226. <scope>test</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.mockito</groupId>
  230. <artifactId>mockito-core</artifactId>
  231. <scope>test</scope>
  232. </dependency>
  233. <dependency>
  234. <groupId>de.bechte.junit</groupId>
  235. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  236. <scope>test</scope>
  237. </dependency>
  238. </dependencies>
  239. <modules>
  240. <module>commons</module>
  241. <module>keychain</module>
  242. <module>ui</module>
  243. <module>launcher</module>
  244. </modules>
  245. <profiles>
  246. <profile>
  247. <id>release</id>
  248. <modules>
  249. <module>uber-jar</module>
  250. <module>buildkit</module>
  251. </modules>
  252. </profile>
  253. <profile>
  254. <id>coverage</id>
  255. <build>
  256. <plugins>
  257. <plugin>
  258. <groupId>org.jacoco</groupId>
  259. <artifactId>jacoco-maven-plugin</artifactId>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </profile>
  264. </profiles>
  265. <build>
  266. <pluginManagement>
  267. <plugins>
  268. <plugin>
  269. <artifactId>maven-dependency-plugin</artifactId>
  270. <version>3.1.0</version>
  271. <executions>
  272. <execution>
  273. <id>copy-libs</id>
  274. <goals>
  275. <goal>copy-dependencies</goal>
  276. </goals>
  277. <configuration>
  278. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  279. <includeScope>runtime</includeScope>
  280. </configuration>
  281. </execution>
  282. </executions>
  283. </plugin>
  284. <plugin>
  285. <groupId>org.jacoco</groupId>
  286. <artifactId>jacoco-maven-plugin</artifactId>
  287. <version>0.8.2</version>
  288. <executions>
  289. <execution>
  290. <id>prepare-agent</id>
  291. <goals>
  292. <goal>prepare-agent</goal>
  293. </goals>
  294. </execution>
  295. <execution>
  296. <id>report</id>
  297. <goals>
  298. <goal>report</goal>
  299. </goals>
  300. </execution>
  301. </executions>
  302. <configuration>
  303. <excludes>
  304. <exclude>**/*_*</exclude>
  305. <exclude>**/Dagger*</exclude>
  306. </excludes>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </pluginManagement>
  311. <plugins>
  312. <plugin>
  313. <artifactId>maven-compiler-plugin</artifactId>
  314. <version>3.8.0</version>
  315. <configuration>
  316. <release>11</release>
  317. <annotationProcessorPaths>
  318. <path>
  319. <groupId>com.google.dagger</groupId>
  320. <artifactId>dagger-compiler</artifactId>
  321. <version>${dagger.version}</version>
  322. </path>
  323. </annotationProcessorPaths>
  324. </configuration>
  325. </plugin>
  326. </plugins>
  327. </build>
  328. </project>