pom.xml 9.4 KB

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