pom.xml 8.9 KB

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