pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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.0</cryptomator.cryptolib.version>
  27. <cryptomator.cryptofs.version>1.1.0</cryptomator.cryptofs.version>
  28. <cryptomator.webdav.version>0.4.0-SNAPSHOT</cryptomator.webdav.version>
  29. <cryptomator.jni.version>1.0.0</cryptomator.jni.version>
  30. <log4j.version>2.1</log4j.version>
  31. <slf4j.version>1.7.22</slf4j.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. <commons-httpclient.version>3.1</commons-httpclient.version>
  40. <mockito.version>2.7.9</mockito.version>
  41. <dagger.version>2.8</dagger.version>
  42. <easybind.version>1.0.3</easybind.version>
  43. <guava.version>21.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>commons-test</artifactId>
  69. <version>${project.version}</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.cryptomator</groupId>
  74. <artifactId>keychain</artifactId>
  75. <version>${project.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.cryptomator</groupId>
  79. <artifactId>ui</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>webdav-nio-adapter</artifactId>
  96. <version>${cryptomator.webdav.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.cryptomator</groupId>
  100. <artifactId>jni</artifactId>
  101. <version>${cryptomator.jni.version}</version>
  102. </dependency>
  103. <!-- Logging -->
  104. <dependency>
  105. <groupId>org.slf4j</groupId>
  106. <artifactId>slf4j-api</artifactId>
  107. <version>${slf4j.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.logging.log4j</groupId>
  111. <artifactId>log4j-core</artifactId>
  112. <version>${log4j.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.logging.log4j</groupId>
  116. <artifactId>log4j-slf4j-impl</artifactId>
  117. <version>${log4j.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.logging.log4j</groupId>
  121. <artifactId>log4j-jul</artifactId>
  122. <version>${log4j.version}</version>
  123. </dependency>
  124. <!-- commons -->
  125. <dependency>
  126. <groupId>commons-io</groupId>
  127. <artifactId>commons-io</artifactId>
  128. <version>${commons-io.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.commons</groupId>
  132. <artifactId>commons-collections4</artifactId>
  133. <version>${commons-collections.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.commons</groupId>
  137. <artifactId>commons-lang3</artifactId>
  138. <version>${commons-lang3.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-codec</groupId>
  142. <artifactId>commons-codec</artifactId>
  143. <version>${commons-codec.version}</version>
  144. </dependency>
  145. <dependency>
  146. <!-- org.apache.httpcomponents:httpclient is newer, but jackrabbit uses this version. We don't have a reason to upgrade -->
  147. <groupId>commons-httpclient</groupId>
  148. <artifactId>commons-httpclient</artifactId>
  149. <version>${commons-httpclient.version}</version>
  150. </dependency>
  151. <!-- EasyBind -->
  152. <dependency>
  153. <groupId>org.fxmisc.easybind</groupId>
  154. <artifactId>easybind</artifactId>
  155. <version>${easybind.version}</version>
  156. </dependency>
  157. <!-- Guava -->
  158. <dependency>
  159. <groupId>com.google.guava</groupId>
  160. <artifactId>guava</artifactId>
  161. <version>${guava.version}</version>
  162. </dependency>
  163. <!-- DI -->
  164. <dependency>
  165. <groupId>com.google.dagger</groupId>
  166. <artifactId>dagger</artifactId>
  167. <version>${dagger.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.google.dagger</groupId>
  171. <artifactId>dagger-compiler</artifactId>
  172. <version>${dagger.version}</version>
  173. <scope>provided</scope>
  174. </dependency>
  175. <!-- JSON -->
  176. <dependency>
  177. <groupId>com.google.code.gson</groupId>
  178. <artifactId>gson</artifactId>
  179. <version>${gson.version}</version>
  180. </dependency>
  181. <!-- JUnit / Mockito / Hamcrest -->
  182. <dependency>
  183. <groupId>junit</groupId>
  184. <artifactId>junit</artifactId>
  185. <version>${junit.version}</version>
  186. <exclusions>
  187. <exclusion>
  188. <artifactId>hamcrest-core</artifactId>
  189. <groupId>org.hamcrest</groupId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <dependency>
  194. <groupId>de.bechte.junit</groupId>
  195. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  196. <version>${junit.hierarchicalrunner.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.mockito</groupId>
  200. <artifactId>mockito-core</artifactId>
  201. <version>${mockito.version}</version>
  202. <exclusions>
  203. <exclusion>
  204. <artifactId>hamcrest-core</artifactId>
  205. <groupId>org.hamcrest</groupId>
  206. </exclusion>
  207. </exclusions>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.hamcrest</groupId>
  211. <artifactId>hamcrest-all</artifactId>
  212. <version>${hamcrest.version}</version>
  213. </dependency>
  214. </dependencies>
  215. </dependencyManagement>
  216. <dependencies>
  217. <dependency>
  218. <groupId>org.apache.logging.log4j</groupId>
  219. <artifactId>log4j-core</artifactId>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.apache.logging.log4j</groupId>
  223. <artifactId>log4j-slf4j-impl</artifactId>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.apache.logging.log4j</groupId>
  227. <artifactId>log4j-jul</artifactId>
  228. </dependency>
  229. </dependencies>
  230. <modules>
  231. <module>commons</module>
  232. <module>commons-test</module>
  233. <module>keychain</module>
  234. <module>ui</module>
  235. </modules>
  236. <profiles>
  237. <profile>
  238. <id>release</id>
  239. <modules>
  240. <module>uber-jar</module>
  241. <module>ant-kit</module>
  242. </modules>
  243. </profile>
  244. <profile>
  245. <id>test-coverage</id>
  246. <modules>
  247. <module>jacoco-report</module>
  248. </modules>
  249. </profile>
  250. </profiles>
  251. <build>
  252. <pluginManagement>
  253. <plugins>
  254. <plugin>
  255. <artifactId>maven-dependency-plugin</artifactId>
  256. <version>3.0.0</version>
  257. <executions>
  258. <execution>
  259. <id>copy-libs</id>
  260. <goals>
  261. <goal>copy-dependencies</goal>
  262. </goals>
  263. <configuration>
  264. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  265. <includeScope>runtime</includeScope>
  266. </configuration>
  267. </execution>
  268. </executions>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.jacoco</groupId>
  272. <artifactId>jacoco-maven-plugin</artifactId>
  273. <version>0.7.9</version>
  274. <executions>
  275. <execution>
  276. <id>prepare-agent</id>
  277. <goals>
  278. <goal>prepare-agent</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. <configuration>
  283. <excludes>
  284. <exclude>**/*_*</exclude>
  285. <exclude>**/Dagger*</exclude>
  286. </excludes>
  287. </configuration>
  288. </plugin>
  289. </plugins>
  290. </pluginManagement>
  291. <plugins>
  292. <plugin>
  293. <artifactId>maven-compiler-plugin</artifactId>
  294. <version>3.6.1</version>
  295. <configuration>
  296. <source>1.8</source>
  297. <target>1.8</target>
  298. </configuration>
  299. </plugin>
  300. </plugins>
  301. </build>
  302. </project>