pom.xml 8.5 KB

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