pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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.2.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.0.0-SNAPSHOT</cryptomator.cryptolib.version>
  27. <cryptomator.jni.version>1.0.0-SNAPSHOT</cryptomator.jni.version>
  28. <log4j.version>2.1</log4j.version>
  29. <slf4j.version>1.7.7</slf4j.version>
  30. <junit.version>4.12</junit.version>
  31. <junit.hierarchicalrunner.version>4.12.1</junit.hierarchicalrunner.version>
  32. <hamcrest.version>1.3</hamcrest.version> <!-- keep in sync with version required by JUnit -->
  33. <commons-io.version>2.4</commons-io.version>
  34. <commons-collections.version>4.0</commons-collections.version>
  35. <commons-lang3.version>3.4</commons-lang3.version>
  36. <commons-codec.version>1.10</commons-codec.version>
  37. <commons-httpclient.version>3.1</commons-httpclient.version>
  38. <jackson-databind.version>2.4.4</jackson-databind.version>
  39. <mockito.version>1.10.19</mockito.version>
  40. <dagger.version>2.4</dagger.version>
  41. </properties>
  42. <dependencyManagement>
  43. <dependencies>
  44. <!-- modules -->
  45. <dependency>
  46. <groupId>org.cryptomator</groupId>
  47. <artifactId>commons</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.cryptomator</groupId>
  52. <artifactId>commons-test</artifactId>
  53. <version>${project.version}</version>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.cryptomator</groupId>
  58. <artifactId>filesystem-api</artifactId>
  59. <version>${project.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.cryptomator</groupId>
  63. <artifactId>filesystem-charsets</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.cryptomator</groupId>
  68. <artifactId>filesystem-nio</artifactId>
  69. <version>${project.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.cryptomator</groupId>
  73. <artifactId>filesystem-inmemory</artifactId>
  74. <version>${project.version}</version>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.cryptomator</groupId>
  79. <artifactId>filesystem-invariants-tests</artifactId>
  80. <version>${project.version}</version>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.cryptomator</groupId>
  85. <artifactId>filesystem-nameshortening</artifactId>
  86. <version>${project.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.cryptomator</groupId>
  90. <artifactId>filesystem-crypto</artifactId>
  91. <version>${project.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.cryptomator</groupId>
  95. <artifactId>filesystem-crypto-integration-tests</artifactId>
  96. <version>${project.version}</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.cryptomator</groupId>
  101. <artifactId>filesystem-stats</artifactId>
  102. <version>${project.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.cryptomator</groupId>
  106. <artifactId>frontend-api</artifactId>
  107. <version>${project.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.cryptomator</groupId>
  111. <artifactId>frontend-webdav</artifactId>
  112. <version>${project.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.cryptomator</groupId>
  116. <artifactId>keychain</artifactId>
  117. <version>${project.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.cryptomator</groupId>
  121. <artifactId>ui</artifactId>
  122. <version>${project.version}</version>
  123. </dependency>
  124. <!-- Cryptomator Libs -->
  125. <dependency>
  126. <groupId>org.cryptomator</groupId>
  127. <artifactId>cryptolib</artifactId>
  128. <version>${cryptomator.cryptolib.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.cryptomator</groupId>
  132. <artifactId>jni</artifactId>
  133. <version>${cryptomator.jni.version}</version>
  134. </dependency>
  135. <!-- Logging -->
  136. <dependency>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>slf4j-api</artifactId>
  139. <version>${slf4j.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.logging.log4j</groupId>
  143. <artifactId>log4j-core</artifactId>
  144. <version>${log4j.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.logging.log4j</groupId>
  148. <artifactId>log4j-slf4j-impl</artifactId>
  149. <version>${log4j.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.logging.log4j</groupId>
  153. <artifactId>log4j-jul</artifactId>
  154. <version>${log4j.version}</version>
  155. </dependency>
  156. <!-- commons -->
  157. <dependency>
  158. <groupId>commons-io</groupId>
  159. <artifactId>commons-io</artifactId>
  160. <version>${commons-io.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.commons</groupId>
  164. <artifactId>commons-collections4</artifactId>
  165. <version>${commons-collections.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.commons</groupId>
  169. <artifactId>commons-lang3</artifactId>
  170. <version>${commons-lang3.version}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>commons-codec</groupId>
  174. <artifactId>commons-codec</artifactId>
  175. <version>${commons-codec.version}</version>
  176. </dependency>
  177. <dependency>
  178. <!-- org.apache.httpcomponents:httpclient is newer, but jackrabbit uses this version. We don't have a reason to upgrade -->
  179. <groupId>commons-httpclient</groupId>
  180. <artifactId>commons-httpclient</artifactId>
  181. <version>${commons-httpclient.version}</version>
  182. </dependency>
  183. <!-- EasyBind -->
  184. <dependency>
  185. <groupId>org.fxmisc.easybind</groupId>
  186. <artifactId>easybind</artifactId>
  187. <version>1.0.3</version>
  188. </dependency>
  189. <!-- Guava -->
  190. <dependency>
  191. <groupId>com.google.guava</groupId>
  192. <artifactId>guava</artifactId>
  193. <version>19.0</version>
  194. </dependency>
  195. <!-- DI -->
  196. <dependency>
  197. <groupId>com.google.dagger</groupId>
  198. <artifactId>dagger</artifactId>
  199. <version>${dagger.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.google.dagger</groupId>
  203. <artifactId>dagger-compiler</artifactId>
  204. <version>${dagger.version}</version>
  205. <scope>provided</scope>
  206. </dependency>
  207. <!-- JSON -->
  208. <dependency>
  209. <groupId>com.fasterxml.jackson.core</groupId>
  210. <artifactId>jackson-databind</artifactId>
  211. <version>${jackson-databind.version}</version>
  212. </dependency>
  213. <!-- JUnit / Mockito / Hamcrest -->
  214. <dependency>
  215. <groupId>junit</groupId>
  216. <artifactId>junit</artifactId>
  217. <version>${junit.version}</version>
  218. <exclusions>
  219. <exclusion>
  220. <artifactId>hamcrest-core</artifactId>
  221. <groupId>org.hamcrest</groupId>
  222. </exclusion>
  223. </exclusions>
  224. </dependency>
  225. <dependency>
  226. <groupId>de.bechte.junit</groupId>
  227. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  228. <version>${junit.hierarchicalrunner.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.mockito</groupId>
  232. <artifactId>mockito-core</artifactId>
  233. <version>${mockito.version}</version>
  234. <exclusions>
  235. <exclusion>
  236. <artifactId>hamcrest-core</artifactId>
  237. <groupId>org.hamcrest</groupId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.hamcrest</groupId>
  243. <artifactId>hamcrest-all</artifactId>
  244. <version>${hamcrest.version}</version>
  245. </dependency>
  246. </dependencies>
  247. </dependencyManagement>
  248. <dependencies>
  249. <dependency>
  250. <groupId>org.apache.logging.log4j</groupId>
  251. <artifactId>log4j-core</artifactId>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.apache.logging.log4j</groupId>
  255. <artifactId>log4j-slf4j-impl</artifactId>
  256. </dependency>
  257. <dependency>
  258. <groupId>org.apache.logging.log4j</groupId>
  259. <artifactId>log4j-jul</artifactId>
  260. </dependency>
  261. </dependencies>
  262. <modules>
  263. <module>commons</module>
  264. <module>commons-test</module>
  265. <module>filesystem-api</module>
  266. <module>filesystem-inmemory</module>
  267. <module>filesystem-nio</module>
  268. <module>filesystem-nameshortening</module>
  269. <module>filesystem-charsets</module>
  270. <module>filesystem-crypto</module>
  271. <module>filesystem-crypto-integration-tests</module>
  272. <module>filesystem-stats</module>
  273. <module>filesystem-invariants-tests</module>
  274. <module>frontend-api</module>
  275. <module>frontend-webdav</module>
  276. <module>keychain</module>
  277. <module>ui</module>
  278. </modules>
  279. <profiles>
  280. <profile>
  281. <id>release</id>
  282. <modules>
  283. <module>uber-jar</module>
  284. <module>ant-kit</module>
  285. </modules>
  286. </profile>
  287. <profile>
  288. <id>test-coverage</id>
  289. <modules>
  290. <module>jacoco-report</module>
  291. </modules>
  292. </profile>
  293. </profiles>
  294. <build>
  295. <pluginManagement>
  296. <plugins>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-dependency-plugin</artifactId>
  300. <executions>
  301. <execution>
  302. <id>copy-libs</id>
  303. <goals>
  304. <goal>copy-dependencies</goal>
  305. </goals>
  306. <configuration>
  307. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  308. <includeScope>runtime</includeScope>
  309. </configuration>
  310. </execution>
  311. </executions>
  312. </plugin>
  313. <plugin>
  314. <groupId>org.jacoco</groupId>
  315. <artifactId>jacoco-maven-plugin</artifactId>
  316. <version>0.7.7.201606060606</version>
  317. <executions>
  318. <execution>
  319. <id>prepare-agent</id>
  320. <goals>
  321. <goal>prepare-agent</goal>
  322. </goals>
  323. </execution>
  324. </executions>
  325. <configuration>
  326. <excludes>
  327. <exclude>**/*_*</exclude>
  328. <exclude>**/Dagger*</exclude>
  329. </excludes>
  330. </configuration>
  331. </plugin>
  332. </plugins>
  333. </pluginManagement>
  334. <plugins>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-compiler-plugin</artifactId>
  338. <version>3.2</version>
  339. <configuration>
  340. <source>1.8</source>
  341. <target>1.8</target>
  342. </configuration>
  343. </plugin>
  344. </plugins>
  345. </build>
  346. </project>