pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>org.cryptomator</groupId>
  8. <artifactId>main</artifactId>
  9. <version>1.3.0-SNAPSHOT</version>
  10. <packaging>pom</packaging>
  11. <name>Cryptomator</name>
  12. <organization>
  13. <name>cryptomator.org</name>
  14. <url>http://cryptomator.org</url>
  15. </organization>
  16. <developers>
  17. <developer>
  18. <name>Sebastian Stenzel</name>
  19. <email>sebastian.stenzel@gmail.com</email>
  20. <timezone>+1</timezone>
  21. </developer>
  22. </developers>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <!-- dependency versions -->
  26. <cryptomator.cryptolib.version>1.1.1</cryptomator.cryptolib.version>
  27. <cryptomator.cryptofs.version>1.2.0</cryptomator.cryptofs.version>
  28. <cryptomator.webdav.version>0.5.0</cryptomator.webdav.version>
  29. <cryptomator.jni.version>1.0.0</cryptomator.jni.version>
  30. <log4j.version>2.8.1</log4j.version> <!-- keep in sync with https://github.com/edwgiz/maven-shaded-log4j-transformer (used in uber-jar), or wait for https://issues.apache.org/jira/browse/LOG4J2-954 fix -->
  31. <slf4j.version>1.7.25</slf4j.version>
  32. <junit.version>4.12</junit.version>
  33. <junit.hierarchicalrunner.version>4.12.1</junit.hierarchicalrunner.version>
  34. <hamcrest.version>1.3</hamcrest.version> <!-- keep in sync with version required by JUnit -->
  35. <commons-io.version>2.4</commons-io.version>
  36. <commons-collections.version>4.0</commons-collections.version>
  37. <commons-lang3.version>3.5</commons-lang3.version>
  38. <commons-codec.version>1.10</commons-codec.version>
  39. <httpclient.version>4.5.3</httpclient.version>
  40. <mockito.version>2.7.21</mockito.version>
  41. <dagger.version>2.10</dagger.version>
  42. <easybind.version>1.0.3</easybind.version>
  43. <guava.version>21.0</guava.version>
  44. <gson.version>2.8.0</gson.version>
  45. </properties>
  46. <repositories>
  47. <repository>
  48. <id>ossrh-snapshots</id>
  49. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  50. <releases>
  51. <enabled>false</enabled>
  52. </releases>
  53. <snapshots>
  54. <enabled>true</enabled>
  55. </snapshots>
  56. </repository>
  57. </repositories>
  58. <dependencyManagement>
  59. <dependencies>
  60. <!-- modules -->
  61. <dependency>
  62. <groupId>org.cryptomator</groupId>
  63. <artifactId>commons</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.cryptomator</groupId>
  68. <artifactId>keychain</artifactId>
  69. <version>${project.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.cryptomator</groupId>
  73. <artifactId>ui</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.cryptomator</groupId>
  78. <artifactId>launcher</artifactId>
  79. <version>${project.version}</version>
  80. </dependency>
  81. <!-- Cryptomator Libs -->
  82. <dependency>
  83. <groupId>org.cryptomator</groupId>
  84. <artifactId>cryptolib</artifactId>
  85. <version>${cryptomator.cryptolib.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.cryptomator</groupId>
  89. <artifactId>cryptofs</artifactId>
  90. <version>${cryptomator.cryptofs.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.cryptomator</groupId>
  94. <artifactId>webdav-nio-adapter</artifactId>
  95. <version>${cryptomator.webdav.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.cryptomator</groupId>
  99. <artifactId>jni</artifactId>
  100. <version>${cryptomator.jni.version}</version>
  101. </dependency>
  102. <!-- Logging -->
  103. <dependency>
  104. <groupId>org.slf4j</groupId>
  105. <artifactId>slf4j-api</artifactId>
  106. <version>${slf4j.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.slf4j</groupId>
  110. <artifactId>slf4j-simple</artifactId>
  111. <version>${slf4j.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.logging.log4j</groupId>
  115. <artifactId>log4j-core</artifactId>
  116. <version>${log4j.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-slf4j-impl</artifactId>
  121. <version>${log4j.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.logging.log4j</groupId>
  125. <artifactId>log4j-jul</artifactId>
  126. <version>${log4j.version}</version>
  127. </dependency>
  128. <!-- commons -->
  129. <dependency>
  130. <groupId>commons-io</groupId>
  131. <artifactId>commons-io</artifactId>
  132. <version>${commons-io.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-collections4</artifactId>
  137. <version>${commons-collections.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.commons</groupId>
  141. <artifactId>commons-lang3</artifactId>
  142. <version>${commons-lang3.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>commons-codec</groupId>
  146. <artifactId>commons-codec</artifactId>
  147. <version>${commons-codec.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.httpcomponents</groupId>
  151. <artifactId>httpclient</artifactId>
  152. <version>${httpclient.version}</version>
  153. </dependency>
  154. <!-- EasyBind -->
  155. <dependency>
  156. <groupId>org.fxmisc.easybind</groupId>
  157. <artifactId>easybind</artifactId>
  158. <version>${easybind.version}</version>
  159. </dependency>
  160. <!-- Guava -->
  161. <dependency>
  162. <groupId>com.google.guava</groupId>
  163. <artifactId>guava</artifactId>
  164. <version>${guava.version}</version>
  165. </dependency>
  166. <!-- DI -->
  167. <dependency>
  168. <groupId>com.google.dagger</groupId>
  169. <artifactId>dagger</artifactId>
  170. <version>${dagger.version}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.google.dagger</groupId>
  174. <artifactId>dagger-compiler</artifactId>
  175. <version>${dagger.version}</version>
  176. <scope>provided</scope>
  177. </dependency>
  178. <!-- JSON -->
  179. <dependency>
  180. <groupId>com.google.code.gson</groupId>
  181. <artifactId>gson</artifactId>
  182. <version>${gson.version}</version>
  183. </dependency>
  184. <!-- JUnit / Mockito / Hamcrest -->
  185. <dependency>
  186. <groupId>junit</groupId>
  187. <artifactId>junit</artifactId>
  188. <version>${junit.version}</version>
  189. <exclusions>
  190. <exclusion>
  191. <artifactId>hamcrest-core</artifactId>
  192. <groupId>org.hamcrest</groupId>
  193. </exclusion>
  194. </exclusions>
  195. </dependency>
  196. <dependency>
  197. <groupId>de.bechte.junit</groupId>
  198. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  199. <version>${junit.hierarchicalrunner.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.mockito</groupId>
  203. <artifactId>mockito-core</artifactId>
  204. <version>${mockito.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.hamcrest</groupId>
  208. <artifactId>hamcrest-all</artifactId>
  209. <version>${hamcrest.version}</version>
  210. </dependency>
  211. </dependencies>
  212. </dependencyManagement>
  213. <dependencies>
  214. <!-- common dependencies for all modules -->
  215. <dependency>
  216. <groupId>org.slf4j</groupId>
  217. <artifactId>slf4j-api</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>junit</groupId>
  221. <artifactId>junit</artifactId>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.hamcrest</groupId>
  226. <artifactId>hamcrest-all</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.mockito</groupId>
  230. <artifactId>mockito-core</artifactId>
  231. <scope>test</scope>
  232. </dependency>
  233. <dependency>
  234. <groupId>de.bechte.junit</groupId>
  235. <artifactId>junit-hierarchicalcontextrunner</artifactId>
  236. <scope>test</scope>
  237. </dependency>
  238. </dependencies>
  239. <modules>
  240. <module>commons</module>
  241. <module>keychain</module>
  242. <module>ui</module>
  243. <module>launcher</module>
  244. </modules>
  245. <profiles>
  246. <profile>
  247. <id>release</id>
  248. <modules>
  249. <module>uber-jar</module>
  250. <module>ant-kit</module>
  251. </modules>
  252. </profile>
  253. <profile>
  254. <id>test-coverage</id>
  255. <modules>
  256. <module>jacoco-report</module>
  257. </modules>
  258. </profile>
  259. </profiles>
  260. <build>
  261. <pluginManagement>
  262. <plugins>
  263. <plugin>
  264. <artifactId>maven-dependency-plugin</artifactId>
  265. <version>3.0.0</version>
  266. <executions>
  267. <execution>
  268. <id>copy-libs</id>
  269. <goals>
  270. <goal>copy-dependencies</goal>
  271. </goals>
  272. <configuration>
  273. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  274. <includeScope>runtime</includeScope>
  275. </configuration>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. <plugin>
  280. <groupId>org.jacoco</groupId>
  281. <artifactId>jacoco-maven-plugin</artifactId>
  282. <version>0.7.9</version>
  283. <executions>
  284. <execution>
  285. <id>prepare-agent</id>
  286. <goals>
  287. <goal>prepare-agent</goal>
  288. </goals>
  289. </execution>
  290. </executions>
  291. <configuration>
  292. <excludes>
  293. <exclude>**/*_*</exclude>
  294. <exclude>**/Dagger*</exclude>
  295. </excludes>
  296. </configuration>
  297. </plugin>
  298. </plugins>
  299. </pluginManagement>
  300. <plugins>
  301. <plugin>
  302. <artifactId>maven-compiler-plugin</artifactId>
  303. <version>3.6.1</version>
  304. <configuration>
  305. <source>1.8</source>
  306. <target>1.8</target>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </build>
  311. </project>