pom.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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>0.11.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.3.2</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. </properties>
  40. <repositories>
  41. <repository>
  42. <id>jitpack.io</id>
  43. <url>https://jitpack.io</url>
  44. </repository>
  45. </repositories>
  46. <dependencyManagement>
  47. <dependencies>
  48. <!-- modules -->
  49. <dependency>
  50. <groupId>org.cryptomator</groupId>
  51. <artifactId>commons-test</artifactId>
  52. <version>${project.version}</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.cryptomator</groupId>
  57. <artifactId>commons</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.cryptomator</groupId>
  62. <artifactId>filesystem-api</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.cryptomator</groupId>
  67. <artifactId>filesystem-nio</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.cryptomator</groupId>
  72. <artifactId>filesystem-inmemory</artifactId>
  73. <version>${project.version}</version>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.cryptomator</groupId>
  78. <artifactId>filesystem-nameshortening</artifactId>
  79. <version>${project.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.cryptomator</groupId>
  83. <artifactId>filesystem-crypto</artifactId>
  84. <version>${project.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.cryptomator</groupId>
  88. <artifactId>core</artifactId>
  89. <version>${project.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.cryptomator</groupId>
  93. <artifactId>crypto-api</artifactId>
  94. <version>${project.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.cryptomator</groupId>
  98. <artifactId>crypto-aes</artifactId>
  99. <version>${project.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.cryptomator</groupId>
  103. <artifactId>ui</artifactId>
  104. <version>${project.version}</version>
  105. </dependency>
  106. <!-- Logging -->
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-api</artifactId>
  110. <version>${slf4j.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.logging.log4j</groupId>
  114. <artifactId>log4j-core</artifactId>
  115. <version>${log4j.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.logging.log4j</groupId>
  119. <artifactId>log4j-slf4j-impl</artifactId>
  120. <version>${log4j.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.logging.log4j</groupId>
  124. <artifactId>log4j-jul</artifactId>
  125. <version>${log4j.version}</version>
  126. </dependency>
  127. <!-- commons -->
  128. <dependency>
  129. <groupId>commons-io</groupId>
  130. <artifactId>commons-io</artifactId>
  131. <version>${commons-io.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.commons</groupId>
  135. <artifactId>commons-collections4</artifactId>
  136. <version>${commons-collections.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.commons</groupId>
  140. <artifactId>commons-lang3</artifactId>
  141. <version>${commons-lang3.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-codec</groupId>
  145. <artifactId>commons-codec</artifactId>
  146. <version>${commons-codec.version}</version>
  147. </dependency>
  148. <dependency>
  149. <!-- org.apache.httpcomponents:httpclient is newer, but jackrabbit uses
  150. this version. We don't have a reason to upgrade -->
  151. <groupId>commons-httpclient</groupId>
  152. <artifactId>commons-httpclient</artifactId>
  153. <version>${commons-httpclient.version}</version>
  154. </dependency>
  155. <!-- Guava -->
  156. <dependency>
  157. <groupId>com.google.guava</groupId>
  158. <artifactId>guava</artifactId>
  159. <version>18.0</version>
  160. </dependency>
  161. <!-- DI -->
  162. <dependency>
  163. <groupId>com.google.dagger</groupId>
  164. <artifactId>dagger</artifactId>
  165. <version>2.0.2</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.google.dagger</groupId>
  169. <artifactId>dagger-compiler</artifactId>
  170. <version>2.0.2</version>
  171. <scope>provided</scope>
  172. </dependency>
  173. <!-- JSON -->
  174. <dependency>
  175. <groupId>com.fasterxml.jackson.core</groupId>
  176. <artifactId>jackson-databind</artifactId>
  177. <version>${jackson-databind.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. <exclusions>
  201. <exclusion>
  202. <artifactId>hamcrest-core</artifactId>
  203. <groupId>org.hamcrest</groupId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.hamcrest</groupId>
  209. <artifactId>hamcrest-all</artifactId>
  210. <version>${hamcrest.version}</version>
  211. </dependency>
  212. </dependencies>
  213. </dependencyManagement>
  214. <dependencies>
  215. <dependency>
  216. <groupId>org.apache.logging.log4j</groupId>
  217. <artifactId>log4j-core</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.logging.log4j</groupId>
  221. <artifactId>log4j-slf4j-impl</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.logging.log4j</groupId>
  225. <artifactId>log4j-jul</artifactId>
  226. </dependency>
  227. <dependency>
  228. <groupId>junit</groupId>
  229. <artifactId>junit</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.mockito</groupId>
  233. <artifactId>mockito-core</artifactId>
  234. </dependency>
  235. </dependencies>
  236. <modules>
  237. <module>commons</module>
  238. <module>commons-test</module>
  239. <module>filesystem-api</module>
  240. <module>filesystem-inmemory</module>
  241. <module>filesystem-nio</module>
  242. <module>filesystem-nameshortening</module>
  243. <module>filesystem-crypto</module>
  244. <module>crypto-api</module>
  245. <module>crypto-aes</module>
  246. <module>jackrabbit-filesystem-adapter</module>
  247. <module>core</module>
  248. <module>ui</module>
  249. </modules>
  250. <profiles>
  251. <profile>
  252. <id>debian</id>
  253. <modules>
  254. <module>installer-debian</module>
  255. </modules>
  256. </profile>
  257. <profile>
  258. <id>osx</id>
  259. <modules>
  260. <module>installer-osx</module>
  261. </modules>
  262. </profile>
  263. <profile>
  264. <id>osx-mas</id>
  265. <modules>
  266. <module>installer-osx-mas</module>
  267. </modules>
  268. </profile>
  269. <profile>
  270. <id>win</id>
  271. <modules>
  272. <module>installer-win</module>
  273. </modules>
  274. </profile>
  275. <profile>
  276. <id>win-portable</id>
  277. <modules>
  278. <module>installer-win-portable</module>
  279. </modules>
  280. </profile>
  281. <profile>
  282. <id>uber-jar</id>
  283. <modules>
  284. <module>uber-jar</module>
  285. </modules>
  286. </profile>
  287. </profiles>
  288. <build>
  289. <pluginManagement>
  290. <plugins>
  291. <plugin>
  292. <groupId>org.apache.maven.plugins</groupId>
  293. <artifactId>maven-dependency-plugin</artifactId>
  294. <executions>
  295. <execution>
  296. <id>copy-libs</id>
  297. <goals>
  298. <goal>copy-dependencies</goal>
  299. </goals>
  300. <configuration>
  301. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  302. <includeScope>runtime</includeScope>
  303. </configuration>
  304. </execution>
  305. </executions>
  306. </plugin>
  307. <plugin>
  308. <groupId>org.jacoco</groupId>
  309. <artifactId>jacoco-maven-plugin</artifactId>
  310. <version>0.7.5.201505241946</version>
  311. <executions>
  312. <execution>
  313. <id>prepare-agent</id>
  314. <goals>
  315. <goal>prepare-agent</goal>
  316. </goals>
  317. </execution>
  318. </executions>
  319. </plugin>
  320. </plugins>
  321. </pluginManagement>
  322. <plugins>
  323. <plugin>
  324. <groupId>org.apache.maven.plugins</groupId>
  325. <artifactId>maven-compiler-plugin</artifactId>
  326. <version>3.2</version>
  327. <configuration>
  328. <source>1.8</source>
  329. <target>1.8</target>
  330. </configuration>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.eluder.coveralls</groupId>
  334. <artifactId>coveralls-maven-plugin</artifactId>
  335. <version>4.0.0</version>
  336. <configuration>
  337. <repoToken>${env.COVERALLS_REPO_TOKEN}</repoToken>
  338. </configuration>
  339. </plugin>
  340. </plugins>
  341. </build>
  342. </project>