pom.xml 11 KB

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