pom.xml 8.7 KB

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