pom.xml 10 KB

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