pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  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.5.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.2.1</cryptomator.cryptolib.version>
  24. <cryptomator.cryptofs.version>1.8.7</cryptomator.cryptofs.version>
  25. <cryptomator.jni.version>2.0.0</cryptomator.jni.version>
  26. <cryptomator.fuse.version>1.2.0</cryptomator.fuse.version>
  27. <cryptomator.dokany.version>1.1.11</cryptomator.dokany.version>
  28. <cryptomator.webdav.version>1.0.10</cryptomator.webdav.version>
  29. <javafx.version>12</javafx.version>
  30. <commons-io.version>2.6</commons-io.version>
  31. <commons-lang3.version>3.8.1</commons-lang3.version>
  32. <easybind.version>1.0.3</easybind.version>
  33. <guava.version>27.1-jre</guava.version>
  34. <dagger.version>2.22.1</dagger.version>
  35. <gson.version>2.8.5</gson.version>
  36. <slf4j.version>1.7.26</slf4j.version>
  37. <logback.version>1.2.3</logback.version>
  38. <junit.jupiter.version>5.4.2</junit.jupiter.version>
  39. <mockito.version>2.27.0</mockito.version>
  40. <hamcrest.version>2.1</hamcrest.version>
  41. </properties>
  42. <repositories>
  43. <repository>
  44. <id>jcenter</id>
  45. <url>http://jcenter.bintray.com</url>
  46. </repository>
  47. </repositories>
  48. <dependencyManagement>
  49. <dependencies>
  50. <!-- modules -->
  51. <dependency>
  52. <groupId>org.cryptomator</groupId>
  53. <artifactId>commons</artifactId>
  54. <version>${project.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.cryptomator</groupId>
  58. <artifactId>keychain</artifactId>
  59. <version>${project.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.cryptomator</groupId>
  63. <artifactId>ui</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.cryptomator</groupId>
  68. <artifactId>launcher</artifactId>
  69. <version>${project.version}</version>
  70. </dependency>
  71. <!-- Cryptomator Libs -->
  72. <dependency>
  73. <groupId>org.cryptomator</groupId>
  74. <artifactId>cryptolib</artifactId>
  75. <version>${cryptomator.cryptolib.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.cryptomator</groupId>
  79. <artifactId>cryptofs</artifactId>
  80. <version>${cryptomator.cryptofs.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.cryptomator</groupId>
  84. <artifactId>fuse-nio-adapter</artifactId>
  85. <version>${cryptomator.fuse.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.cryptomator</groupId>
  89. <artifactId>dokany-nio-adapter</artifactId>
  90. <version>${cryptomator.dokany.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. <!-- JavaFX -->
  103. <dependency>
  104. <groupId>org.openjfx</groupId>
  105. <artifactId>javafx-base</artifactId>
  106. <version>${javafx.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.openjfx</groupId>
  110. <artifactId>javafx-controls</artifactId>
  111. <version>${javafx.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.openjfx</groupId>
  115. <artifactId>javafx-fxml</artifactId>
  116. <version>${javafx.version}</version>
  117. </dependency>
  118. <!-- Logging -->
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-api</artifactId>
  122. <version>${slf4j.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.slf4j</groupId>
  126. <artifactId>slf4j-simple</artifactId>
  127. <version>${slf4j.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>ch.qos.logback</groupId>
  131. <artifactId>logback-core</artifactId>
  132. <version>${logback.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>ch.qos.logback</groupId>
  136. <artifactId>logback-classic</artifactId>
  137. <version>${logback.version}</version>
  138. </dependency>
  139. <!-- Apache Commons -->
  140. <dependency>
  141. <groupId>commons-io</groupId>
  142. <artifactId>commons-io</artifactId>
  143. <version>${commons-io.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.commons</groupId>
  147. <artifactId>commons-lang3</artifactId>
  148. <version>${commons-lang3.version}</version>
  149. </dependency>
  150. <!-- EasyBind -->
  151. <dependency>
  152. <groupId>org.fxmisc.easybind</groupId>
  153. <artifactId>easybind</artifactId>
  154. <version>${easybind.version}</version>
  155. </dependency>
  156. <!-- Google -->
  157. <dependency>
  158. <groupId>com.google.guava</groupId>
  159. <artifactId>guava</artifactId>
  160. <version>${guava.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.google.dagger</groupId>
  164. <artifactId>dagger</artifactId>
  165. <version>${dagger.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.google.code.gson</groupId>
  169. <artifactId>gson</artifactId>
  170. <version>${gson.version}</version>
  171. </dependency>
  172. <!-- JUnit / Mockito / Hamcrest -->
  173. <dependency>
  174. <groupId>org.junit.jupiter</groupId>
  175. <artifactId>junit-jupiter</artifactId>
  176. <version>${junit.jupiter.version}</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.mockito</groupId>
  181. <artifactId>mockito-core</artifactId>
  182. <version>${mockito.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.hamcrest</groupId>
  186. <artifactId>hamcrest</artifactId>
  187. <version>${hamcrest.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.openjfx</groupId>
  191. <artifactId>javafx-swing</artifactId>
  192. <version>${javafx.version}</version>
  193. <scope>test</scope>
  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>org.junit.jupiter</groupId>
  205. <artifactId>junit-jupiter</artifactId>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.hamcrest</groupId>
  209. <artifactId>hamcrest</artifactId>
  210. <scope>test</scope>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.mockito</groupId>
  214. <artifactId>mockito-core</artifactId>
  215. <scope>test</scope>
  216. </dependency>
  217. </dependencies>
  218. <modules>
  219. <module>commons</module>
  220. <module>keychain</module>
  221. <module>ui</module>
  222. <module>launcher</module>
  223. </modules>
  224. <profiles>
  225. <profile>
  226. <id>release</id>
  227. <modules>
  228. <module>buildkit</module>
  229. </modules>
  230. </profile>
  231. <profile>
  232. <id>coverage</id>
  233. <build>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.jacoco</groupId>
  237. <artifactId>jacoco-maven-plugin</artifactId>
  238. </plugin>
  239. </plugins>
  240. </build>
  241. </profile>
  242. </profiles>
  243. <build>
  244. <pluginManagement>
  245. <plugins>
  246. <plugin>
  247. <artifactId>maven-dependency-plugin</artifactId>
  248. <version>3.1.0</version>
  249. <executions>
  250. <execution>
  251. <id>copy-libs</id>
  252. <goals>
  253. <goal>copy-dependencies</goal>
  254. </goals>
  255. <configuration>
  256. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  257. <includeScope>runtime</includeScope>
  258. </configuration>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-jar-plugin</artifactId>
  265. <configuration>
  266. <archive>
  267. <manifest>
  268. <!-- adds Implementation-Version which can be read during runtime -->
  269. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  270. </manifest>
  271. </archive>
  272. </configuration>
  273. </plugin>
  274. <plugin>
  275. <groupId>org.jacoco</groupId>
  276. <artifactId>jacoco-maven-plugin</artifactId>
  277. <version>0.8.2</version>
  278. <executions>
  279. <execution>
  280. <id>prepare-agent</id>
  281. <goals>
  282. <goal>prepare-agent</goal>
  283. </goals>
  284. </execution>
  285. <execution>
  286. <id>report</id>
  287. <goals>
  288. <goal>report</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.8.0</version>
  305. <configuration>
  306. <release>11</release>
  307. <annotationProcessorPaths>
  308. <path>
  309. <groupId>com.google.dagger</groupId>
  310. <artifactId>dagger-compiler</artifactId>
  311. <version>${dagger.version}</version>
  312. </path>
  313. </annotationProcessorPaths>
  314. </configuration>
  315. </plugin>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-surefire-plugin</artifactId>
  319. <version>2.22.1</version>
  320. </plugin>
  321. </plugins>
  322. </build>
  323. </project>