pom.xml 9.2 KB

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