pom.xml 8.8 KB

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