pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright (c) 2014 Sebastian Stenzel This file is licensed under the
  3. terms of the MIT license. See the LICENSE.txt file for more info. Contributors:
  4. Sebastian Stenzel - initial API and implementation -->
  5. <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">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>org.cryptomator</groupId>
  8. <artifactId>main</artifactId>
  9. <version>1.3.0-SNAPSHOT</version>
  10. <packaging>pom</packaging>
  11. <name>Cryptomator</name>
  12. <organization>
  13. <name>cryptomator.org</name>
  14. <url>http://cryptomator.org</url>
  15. </organization>
  16. <developers>
  17. <developer>
  18. <name>Sebastian Stenzel</name>
  19. <email>sebastian.stenzel@gmail.com</email>
  20. <timezone>+1</timezone>
  21. </developer>
  22. </developers>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <!-- dependency versions -->
  26. <cryptomator.cryptolib.version>1.1.1</cryptomator.cryptolib.version>
  27. <cryptomator.cryptofs.version>1.2.3</cryptomator.cryptofs.version>
  28. <cryptomator.webdav.version>0.6.1</cryptomator.webdav.version>
  29. <cryptomator.jni.version>1.0.2</cryptomator.jni.version>
  30. <slf4j.version>1.7.25</slf4j.version>
  31. <logback.version>1.2.2</logback.version>
  32. <junit.version>4.12</junit.version>
  33. <junit.hierarchicalrunner.version>4.12.1</junit.hierarchicalrunner.version>
  34. <hamcrest.version>1.3</hamcrest.version> <!-- keep in sync with version required by JUnit -->
  35. <commons-io.version>2.4</commons-io.version>
  36. <commons-collections.version>4.0</commons-collections.version>
  37. <commons-lang3.version>3.5</commons-lang3.version>
  38. <commons-codec.version>1.10</commons-codec.version>
  39. <httpclient.version>4.5.3</httpclient.version>
  40. <mockito.version>2.7.21</mockito.version>
  41. <dagger.version>2.11</dagger.version>
  42. <easybind.version>1.0.3</easybind.version>
  43. <guava.version>22.0</guava.version>
  44. <gson.version>2.8.0</gson.version>
  45. </properties>
  46. <repositories>
  47. <repository>
  48. <id>ossrh-snapshots</id>
  49. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  50. <releases>
  51. <enabled>false</enabled>
  52. </releases>
  53. <snapshots>
  54. <enabled>true</enabled>
  55. </snapshots>
  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>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. <!-- 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-collections4</artifactId>
  132. <version>${commons-collections.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-lang3</artifactId>
  137. <version>${commons-lang3.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>commons-codec</groupId>
  141. <artifactId>commons-codec</artifactId>
  142. <version>${commons-codec.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.httpcomponents</groupId>
  146. <artifactId>httpclient</artifactId>
  147. <version>${httpclient.version}</version>
  148. </dependency>
  149. <!-- EasyBind -->
  150. <dependency>
  151. <groupId>org.fxmisc.easybind</groupId>
  152. <artifactId>easybind</artifactId>
  153. <version>${easybind.version}</version>
  154. </dependency>
  155. <!-- Guava -->
  156. <dependency>
  157. <groupId>com.google.guava</groupId>
  158. <artifactId>guava</artifactId>
  159. <version>${guava.version}</version>
  160. </dependency>
  161. <!-- DI -->
  162. <dependency>
  163. <groupId>com.google.dagger</groupId>
  164. <artifactId>dagger</artifactId>
  165. <version>${dagger.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.google.dagger</groupId>
  169. <artifactId>dagger-compiler</artifactId>
  170. <version>${dagger.version}</version>
  171. <scope>provided</scope>
  172. </dependency>
  173. <!-- JSON -->
  174. <dependency>
  175. <groupId>com.google.code.gson</groupId>
  176. <artifactId>gson</artifactId>
  177. <version>${gson.version}</version>
  178. </dependency>
  179. <!-- JUnit / Mockito / Hamcrest -->
  180. <dependency>
  181. <groupId>junit</groupId>
  182. <artifactId>junit</artifactId>
  183. <version>${junit.version}</version>
  184. <exclusions>
  185. <exclusion>
  186. <artifactId>hamcrest-core</artifactId>
  187. <groupId>org.hamcrest</groupId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191. <dependency>
  192. <groupId>de.bechte.junit</groupId>
  193. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  194. <version>${junit.hierarchicalrunner.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.mockito</groupId>
  198. <artifactId>mockito-core</artifactId>
  199. <version>${mockito.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.hamcrest</groupId>
  203. <artifactId>hamcrest-all</artifactId>
  204. <version>${hamcrest.version}</version>
  205. </dependency>
  206. </dependencies>
  207. </dependencyManagement>
  208. <dependencies>
  209. <!-- common dependencies for all modules -->
  210. <dependency>
  211. <groupId>org.slf4j</groupId>
  212. <artifactId>slf4j-api</artifactId>
  213. </dependency>
  214. <dependency>
  215. <groupId>junit</groupId>
  216. <artifactId>junit</artifactId>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.hamcrest</groupId>
  221. <artifactId>hamcrest-all</artifactId>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.mockito</groupId>
  226. <artifactId>mockito-core</artifactId>
  227. <scope>test</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>de.bechte.junit</groupId>
  231. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  232. <scope>test</scope>
  233. </dependency>
  234. </dependencies>
  235. <modules>
  236. <module>commons</module>
  237. <module>keychain</module>
  238. <module>ui</module>
  239. <module>launcher</module>
  240. </modules>
  241. <profiles>
  242. <profile>
  243. <id>release</id>
  244. <modules>
  245. <module>uber-jar</module>
  246. <module>ant-kit</module>
  247. </modules>
  248. </profile>
  249. <profile>
  250. <id>coverage</id>
  251. <modules>
  252. <module>jacoco-report</module>
  253. </modules>
  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. </profiles>
  264. <build>
  265. <pluginManagement>
  266. <plugins>
  267. <plugin>
  268. <artifactId>maven-dependency-plugin</artifactId>
  269. <version>3.0.0</version>
  270. <executions>
  271. <execution>
  272. <id>copy-libs</id>
  273. <goals>
  274. <goal>copy-dependencies</goal>
  275. </goals>
  276. <configuration>
  277. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  278. <includeScope>runtime</includeScope>
  279. </configuration>
  280. </execution>
  281. </executions>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.jacoco</groupId>
  285. <artifactId>jacoco-maven-plugin</artifactId>
  286. <version>0.7.9</version>
  287. <executions>
  288. <execution>
  289. <id>prepare-agent</id>
  290. <goals>
  291. <goal>prepare-agent</goal>
  292. </goals>
  293. </execution>
  294. </executions>
  295. <configuration>
  296. <excludes>
  297. <exclude>**/*_*</exclude>
  298. <exclude>**/Dagger*</exclude>
  299. </excludes>
  300. </configuration>
  301. </plugin>
  302. </plugins>
  303. </pluginManagement>
  304. <plugins>
  305. <plugin>
  306. <artifactId>maven-compiler-plugin</artifactId>
  307. <version>3.6.1</version>
  308. <configuration>
  309. <source>1.8</source>
  310. <target>1.8</target>
  311. <annotationProcessorPaths>
  312. <path>
  313. <groupId>com.google.dagger</groupId>
  314. <artifactId>dagger-compiler</artifactId>
  315. <version>${dagger.version}</version>
  316. </path>
  317. </annotationProcessorPaths>
  318. </configuration>
  319. </plugin>
  320. </plugins>
  321. </build>
  322. </project>