pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2014 Sebastian Stenzel
  4. This file is licensed under the terms of the MIT license.
  5. See the LICENSE.txt file for more info.
  6. Contributors:
  7. Sebastian Stenzel - initial API and implementation
  8. -->
  9. <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">
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>org.cryptomator</groupId>
  12. <artifactId>main</artifactId>
  13. <version>0.11.0-SNAPSHOT</version>
  14. <packaging>pom</packaging>
  15. <name>Cryptomator</name>
  16. <organization>
  17. <name>cryptomator.org</name>
  18. <url>http://cryptomator.org</url>
  19. </organization>
  20. <developers>
  21. <developer>
  22. <name>Sebastian Stenzel</name>
  23. <email>sebastian.stenzel@gmail.com</email>
  24. <timezone>+1</timezone>
  25. </developer>
  26. </developers>
  27. <properties>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <!-- dependency versions -->
  30. <log4j.version>2.1</log4j.version>
  31. <slf4j.version>1.7.7</slf4j.version>
  32. <junit.version>4.12</junit.version>
  33. <hamcrest.version>1.3</hamcrest.version> <!-- keep in sync with version required by JUnit -->
  34. <commons-io.version>2.4</commons-io.version>
  35. <commons-collections.version>4.0</commons-collections.version>
  36. <commons-lang3.version>3.3.2</commons-lang3.version>
  37. <commons-codec.version>1.10</commons-codec.version>
  38. <commons-httpclient.version>3.1</commons-httpclient.version>
  39. <jackson-databind.version>2.4.4</jackson-databind.version>
  40. <mockito.version>1.10.19</mockito.version>
  41. </properties>
  42. <repositories>
  43. <repository>
  44. <id>jitpack.io</id>
  45. <url>https://jitpack.io</url>
  46. </repository>
  47. </repositories>
  48. <dependencyManagement>
  49. <dependencies>
  50. <!-- modules -->
  51. <dependency>
  52. <groupId>org.cryptomator</groupId>
  53. <artifactId>commons-test</artifactId>
  54. <version>${project.version}</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.cryptomator</groupId>
  59. <artifactId>filesystem-api</artifactId>
  60. <version>${project.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.cryptomator</groupId>
  64. <artifactId>filesystem-inmemory</artifactId>
  65. <version>${project.version}</version>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.cryptomator</groupId>
  70. <artifactId>filesystem-nameshortening</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.cryptomator</groupId>
  75. <artifactId>filesystem-crypto</artifactId>
  76. <version>${project.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.cryptomator</groupId>
  80. <artifactId>core</artifactId>
  81. <version>${project.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.cryptomator</groupId>
  85. <artifactId>crypto-api</artifactId>
  86. <version>${project.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.cryptomator</groupId>
  90. <artifactId>crypto-aes</artifactId>
  91. <version>${project.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.cryptomator</groupId>
  95. <artifactId>ui</artifactId>
  96. <version>${project.version}</version>
  97. </dependency>
  98. <!-- Logging -->
  99. <dependency>
  100. <groupId>org.slf4j</groupId>
  101. <artifactId>slf4j-api</artifactId>
  102. <version>${slf4j.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.logging.log4j</groupId>
  106. <artifactId>log4j-core</artifactId>
  107. <version>${log4j.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.logging.log4j</groupId>
  111. <artifactId>log4j-slf4j-impl</artifactId>
  112. <version>${log4j.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.logging.log4j</groupId>
  116. <artifactId>log4j-jul</artifactId>
  117. <version>${log4j.version}</version>
  118. </dependency>
  119. <!-- commons -->
  120. <dependency>
  121. <groupId>commons-io</groupId>
  122. <artifactId>commons-io</artifactId>
  123. <version>${commons-io.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.commons</groupId>
  127. <artifactId>commons-collections4</artifactId>
  128. <version>${commons-collections.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.commons</groupId>
  132. <artifactId>commons-lang3</artifactId>
  133. <version>${commons-lang3.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>commons-codec</groupId>
  137. <artifactId>commons-codec</artifactId>
  138. <version>${commons-codec.version}</version>
  139. </dependency>
  140. <dependency>
  141. <!-- org.apache.httpcomponents:httpclient is newer, but jackrabbit uses this version. We don't have a reason to upgrade -->
  142. <groupId>commons-httpclient</groupId>
  143. <artifactId>commons-httpclient</artifactId>
  144. <version>${commons-httpclient.version}</version>
  145. </dependency>
  146. <!-- Guava -->
  147. <dependency>
  148. <groupId>com.google.guava</groupId>
  149. <artifactId>guava</artifactId>
  150. <version>18.0</version>
  151. </dependency>
  152. <!-- DI -->
  153. <dependency>
  154. <groupId>com.google.dagger</groupId>
  155. <artifactId>dagger</artifactId>
  156. <version>2.0.2</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.google.dagger</groupId>
  160. <artifactId>dagger-compiler</artifactId>
  161. <version>2.0.2</version>
  162. <scope>provided</scope>
  163. </dependency>
  164. <!-- JSON -->
  165. <dependency>
  166. <groupId>com.fasterxml.jackson.core</groupId>
  167. <artifactId>jackson-databind</artifactId>
  168. <version>${jackson-databind.version}</version>
  169. </dependency>
  170. <!-- JUnit / Mockito / Hamcrest -->
  171. <dependency>
  172. <groupId>junit</groupId>
  173. <artifactId>junit</artifactId>
  174. <version>${junit.version}</version>
  175. <exclusions>
  176. <exclusion>
  177. <artifactId>hamcrest-core</artifactId>
  178. <groupId>org.hamcrest</groupId>
  179. </exclusion>
  180. </exclusions>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.mockito</groupId>
  184. <artifactId>mockito-core</artifactId>
  185. <version>${mockito.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>org.hamcrest</groupId>
  195. <artifactId>hamcrest-all</artifactId>
  196. <version>${hamcrest.version}</version>
  197. </dependency>
  198. </dependencies>
  199. </dependencyManagement>
  200. <dependencies>
  201. <dependency>
  202. <groupId>org.apache.logging.log4j</groupId>
  203. <artifactId>log4j-core</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.apache.logging.log4j</groupId>
  207. <artifactId>log4j-slf4j-impl</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.logging.log4j</groupId>
  211. <artifactId>log4j-jul</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>junit</groupId>
  215. <artifactId>junit</artifactId>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.mockito</groupId>
  219. <artifactId>mockito-core</artifactId>
  220. </dependency>
  221. </dependencies>
  222. <modules>
  223. <module>filesystem-api</module>
  224. <module>filesystem-inmemory</module>
  225. <module>filesystem-nio</module>
  226. <module>filesystem-nameshortening</module>
  227. <module>filesystem-crypto</module>
  228. <module>crypto-api</module>
  229. <module>crypto-aes</module>
  230. <module>core</module>
  231. <module>ui</module>
  232. <module>jackrabbit-filesystem-adapter</module>
  233. <module>commons-test</module>
  234. </modules>
  235. <profiles>
  236. <profile>
  237. <id>debian</id>
  238. <modules>
  239. <module>installer-debian</module>
  240. </modules>
  241. </profile>
  242. <profile>
  243. <id>osx</id>
  244. <modules>
  245. <module>installer-osx</module>
  246. </modules>
  247. </profile>
  248. <profile>
  249. <id>osx-mas</id>
  250. <modules>
  251. <module>installer-osx-mas</module>
  252. </modules>
  253. </profile>
  254. <profile>
  255. <id>win</id>
  256. <modules>
  257. <module>installer-win</module>
  258. </modules>
  259. </profile>
  260. <profile>
  261. <id>win-portable</id>
  262. <modules>
  263. <module>installer-win-portable</module>
  264. </modules>
  265. </profile>
  266. <profile>
  267. <id>uber-jar</id>
  268. <modules>
  269. <module>uber-jar</module>
  270. </modules>
  271. </profile>
  272. </profiles>
  273. <build>
  274. <pluginManagement>
  275. <plugins>
  276. <plugin>
  277. <groupId>org.apache.maven.plugins</groupId>
  278. <artifactId>maven-dependency-plugin</artifactId>
  279. <executions>
  280. <execution>
  281. <id>copy-libs</id>
  282. <goals>
  283. <goal>copy-dependencies</goal>
  284. </goals>
  285. <configuration>
  286. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  287. <includeScope>runtime</includeScope>
  288. </configuration>
  289. </execution>
  290. </executions>
  291. </plugin>
  292. <plugin>
  293. <groupId>org.jacoco</groupId>
  294. <artifactId>jacoco-maven-plugin</artifactId>
  295. <version>0.7.5.201505241946</version>
  296. <executions>
  297. <execution>
  298. <id>prepare-agent</id>
  299. <goals>
  300. <goal>prepare-agent</goal>
  301. </goals>
  302. </execution>
  303. </executions>
  304. </plugin>
  305. </plugins>
  306. </pluginManagement>
  307. <plugins>
  308. <plugin>
  309. <groupId>org.apache.maven.plugins</groupId>
  310. <artifactId>maven-compiler-plugin</artifactId>
  311. <version>3.2</version>
  312. <configuration>
  313. <source>1.8</source>
  314. <target>1.8</target>
  315. </configuration>
  316. </plugin>
  317. <plugin>
  318. <groupId>org.eluder.coveralls</groupId>
  319. <artifactId>coveralls-maven-plugin</artifactId>
  320. <version>4.0.0</version>
  321. <configuration>
  322. <repoToken>${env.COVERALLS_REPO_TOKEN}</repoToken>
  323. </configuration>
  324. </plugin>
  325. </plugins>
  326. </build>
  327. </project>