pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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.9.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. <dependencyManagement>
  42. <dependencies>
  43. <!-- modules -->
  44. <dependency>
  45. <groupId>org.cryptomator</groupId>
  46. <artifactId>core</artifactId>
  47. <version>${project.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.cryptomator</groupId>
  51. <artifactId>crypto-api</artifactId>
  52. <version>${project.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.cryptomator</groupId>
  56. <artifactId>crypto-aes</artifactId>
  57. <version>${project.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.cryptomator</groupId>
  61. <artifactId>ui</artifactId>
  62. <version>${project.version}</version>
  63. </dependency>
  64. <!-- Logging -->
  65. <dependency>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>slf4j-api</artifactId>
  68. <version>${slf4j.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.logging.log4j</groupId>
  72. <artifactId>log4j-core</artifactId>
  73. <version>${log4j.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.logging.log4j</groupId>
  77. <artifactId>log4j-slf4j-impl</artifactId>
  78. <version>${log4j.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.logging.log4j</groupId>
  82. <artifactId>log4j-jul</artifactId>
  83. <version>${log4j.version}</version>
  84. </dependency>
  85. <!-- commons -->
  86. <dependency>
  87. <groupId>commons-io</groupId>
  88. <artifactId>commons-io</artifactId>
  89. <version>${commons-io.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-collections4</artifactId>
  94. <version>${commons-collections.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-lang3</artifactId>
  99. <version>${commons-lang3.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>commons-codec</groupId>
  103. <artifactId>commons-codec</artifactId>
  104. <version>${commons-codec.version}</version>
  105. </dependency>
  106. <dependency>
  107. <!-- org.apache.httpcomponents:httpclient is newer, but jackrabbit uses this version. We don't have a reason to upgrade -->
  108. <groupId>commons-httpclient</groupId>
  109. <artifactId>commons-httpclient</artifactId>
  110. <version>${commons-httpclient.version}</version>
  111. </dependency>
  112. <!-- Guava -->
  113. <dependency>
  114. <groupId>com.google.guava</groupId>
  115. <artifactId>guava</artifactId>
  116. <version>18.0</version>
  117. </dependency>
  118. <!-- DI -->
  119. <dependency>
  120. <groupId>com.google.dagger</groupId>
  121. <artifactId>dagger</artifactId>
  122. <version>2.0</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.google.dagger</groupId>
  126. <artifactId>dagger-compiler</artifactId>
  127. <version>2.0</version>
  128. <scope>provided</scope>
  129. </dependency>
  130. <!-- JSON -->
  131. <dependency>
  132. <groupId>com.fasterxml.jackson.core</groupId>
  133. <artifactId>jackson-databind</artifactId>
  134. <version>${jackson-databind.version}</version>
  135. </dependency>
  136. <!-- JUnit / Mockito -->
  137. <dependency>
  138. <groupId>junit</groupId>
  139. <artifactId>junit</artifactId>
  140. <version>${junit.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.mockito</groupId>
  145. <artifactId>mockito-core</artifactId>
  146. <version>${mockito.version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. </dependencies>
  150. </dependencyManagement>
  151. <dependencies>
  152. <dependency>
  153. <groupId>org.apache.logging.log4j</groupId>
  154. <artifactId>log4j-core</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.logging.log4j</groupId>
  158. <artifactId>log4j-slf4j-impl</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.logging.log4j</groupId>
  162. <artifactId>log4j-jul</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>junit</groupId>
  166. <artifactId>junit</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.mockito</groupId>
  170. <artifactId>mockito-core</artifactId>
  171. </dependency>
  172. </dependencies>
  173. <modules>
  174. <module>crypto-api</module>
  175. <module>crypto-aes</module>
  176. <module>core</module>
  177. <module>ui</module>
  178. </modules>
  179. <profiles>
  180. <profile>
  181. <id>debian</id>
  182. <modules>
  183. <module>installer-debian</module>
  184. </modules>
  185. </profile>
  186. <profile>
  187. <id>osx</id>
  188. <modules>
  189. <module>installer-osx</module>
  190. </modules>
  191. </profile>
  192. <profile>
  193. <id>win</id>
  194. <modules>
  195. <module>installer-win</module>
  196. </modules>
  197. </profile>
  198. <profile>
  199. <id>win-portable</id>
  200. <modules>
  201. <module>installer-win-portable</module>
  202. </modules>
  203. </profile>
  204. <profile>
  205. <id>uber-jar</id>
  206. <modules>
  207. <module>uber-jar</module>
  208. </modules>
  209. </profile>
  210. </profiles>
  211. <build>
  212. <pluginManagement>
  213. <plugins>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-dependency-plugin</artifactId>
  217. <executions>
  218. <execution>
  219. <id>copy-libs</id>
  220. <goals>
  221. <goal>copy-dependencies</goal>
  222. </goals>
  223. <configuration>
  224. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  225. <includeScope>runtime</includeScope>
  226. </configuration>
  227. </execution>
  228. </executions>
  229. </plugin>
  230. </plugins>
  231. </pluginManagement>
  232. <plugins>
  233. <plugin>
  234. <groupId>org.apache.maven.plugins</groupId>
  235. <artifactId>maven-compiler-plugin</artifactId>
  236. <version>3.2</version>
  237. <configuration>
  238. <source>1.8</source>
  239. <target>1.8</target>
  240. </configuration>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </project>