pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>cryptomator</artifactId>
  6. <version>1.6.0-SNAPSHOT</version>
  7. <name>Cryptomator Desktop App</name>
  8. <organization>
  9. <name>cryptomator.org</name>
  10. <url>https://cryptomator.org</url>
  11. </organization>
  12. <developers>
  13. <developer>
  14. <name>Sebastian Stenzel</name>
  15. <email>sebastian.stenzel@gmail.com</email>
  16. <timezone>+1</timezone>
  17. </developer>
  18. </developers>
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.jdk.version>16</project.jdk.version>
  22. <!-- Group IDs of jars that need to stay on the class path for now -->
  23. <nonModularGroupIds>com.github.serceman,com.github.jnr,org.ow2.asm,net.java.dev.jna,org.apache.jackrabbit,org.apache.httpcomponents,de.swiesend,org.purejava,com.github.hypfvieh</nonModularGroupIds>
  24. <!-- cryptomator dependencies -->
  25. <cryptomator.cryptofs.version>2.1.0-beta9</cryptomator.cryptofs.version>
  26. <cryptomator.integrations.version>1.0.0-rc1</cryptomator.integrations.version>
  27. <cryptomator.integrations.win.version>1.0.0-beta2</cryptomator.integrations.win.version>
  28. <cryptomator.integrations.mac.version>1.0.0-beta2</cryptomator.integrations.mac.version>
  29. <cryptomator.integrations.linux.version>1.0.0-beta1</cryptomator.integrations.linux.version>
  30. <cryptomator.fuse.version>1.3.1</cryptomator.fuse.version>
  31. <cryptomator.dokany.version>1.3.1</cryptomator.dokany.version>
  32. <cryptomator.webdav.version>1.2.5</cryptomator.webdav.version>
  33. <!-- 3rd party dependencies -->
  34. <javafx.version>16</javafx.version>
  35. <commons-lang3.version>3.12.0</commons-lang3.version>
  36. <bouncycastle.version>1.69</bouncycastle.version>
  37. <jwt.version>3.18.1</jwt.version>
  38. <easybind.version>2.2</easybind.version>
  39. <guava.version>30.1.1-jre</guava.version>
  40. <dagger.version>2.37</dagger.version>
  41. <gson.version>2.8.7</gson.version>
  42. <zxcvbn.version>1.5.2</zxcvbn.version>
  43. <slf4j.version>1.7.31</slf4j.version>
  44. <logback.version>1.2.3</logback.version>
  45. <jetty.version>10.0.6</jetty.version>
  46. <!-- test dependencies -->
  47. <junit.jupiter.version>5.7.2</junit.jupiter.version>
  48. <mockito.version>3.11.2</mockito.version>
  49. <hamcrest.version>2.2</hamcrest.version>
  50. </properties>
  51. <dependencies>
  52. <!-- Cryptomator Libs -->
  53. <dependency>
  54. <groupId>org.cryptomator</groupId>
  55. <artifactId>cryptofs</artifactId>
  56. <version>${cryptomator.cryptofs.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.cryptomator</groupId>
  60. <artifactId>fuse-nio-adapter</artifactId>
  61. <version>${cryptomator.fuse.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.cryptomator</groupId>
  65. <artifactId>dokany-nio-adapter</artifactId>
  66. <version>${cryptomator.dokany.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.cryptomator</groupId>
  70. <artifactId>webdav-nio-adapter</artifactId>
  71. <version>${cryptomator.webdav.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.cryptomator</groupId>
  75. <artifactId>integrations-api</artifactId>
  76. <version>${cryptomator.integrations.version}</version>
  77. </dependency>
  78. <!-- JavaFX -->
  79. <dependency>
  80. <groupId>org.openjfx</groupId>
  81. <artifactId>javafx-base</artifactId>
  82. <version>${javafx.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.openjfx</groupId>
  86. <artifactId>javafx-graphics</artifactId>
  87. <version>${javafx.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.openjfx</groupId>
  91. <artifactId>javafx-controls</artifactId>
  92. <version>${javafx.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.openjfx</groupId>
  96. <artifactId>javafx-fxml</artifactId>
  97. <version>${javafx.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>ch.qos.logback</groupId>
  107. <artifactId>logback-core</artifactId>
  108. <version>${logback.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. <version>${logback.version}</version>
  114. </dependency>
  115. <!-- Apache Commons -->
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. <version>${commons-lang3.version}</version>
  120. </dependency>
  121. <!-- BouncyCastle -->
  122. <dependency>
  123. <groupId>org.bouncycastle</groupId>
  124. <artifactId>bcpkix-jdk15on</artifactId>
  125. <version>${bouncycastle.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.eclipse.jetty</groupId>
  129. <artifactId>jetty-server</artifactId>
  130. <version>${jetty.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.eclipse.jetty</groupId>
  134. <artifactId>jetty-webapp</artifactId>
  135. <version>${jetty.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.eclipse.jetty</groupId>
  139. <artifactId>jetty-servlets</artifactId>
  140. <version>${jetty.version}</version>
  141. </dependency>
  142. <!-- JWT -->
  143. <dependency>
  144. <groupId>com.auth0</groupId>
  145. <artifactId>java-jwt</artifactId>
  146. <version>${jwt.version}</version>
  147. </dependency>
  148. <!-- EasyBind -->
  149. <dependency>
  150. <groupId>com.tobiasdiez</groupId>
  151. <artifactId>easybind</artifactId>
  152. <version>${easybind.version}</version>
  153. </dependency>
  154. <!-- Zxcvbn -->
  155. <dependency>
  156. <groupId>com.nulab-inc</groupId>
  157. <artifactId>zxcvbn</artifactId>
  158. <version>${zxcvbn.version}</version>
  159. </dependency>
  160. <!-- Google -->
  161. <dependency>
  162. <groupId>com.google.guava</groupId>
  163. <artifactId>guava</artifactId>
  164. <version>${guava.version}</version>
  165. <exclusions>
  166. <!-- see https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies -->
  167. <exclusion>
  168. <groupId>com.google.guava</groupId>
  169. <artifactId>listenablefuture</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>com.google.code.findbugs</groupId>
  173. <artifactId>jsr305</artifactId>
  174. </exclusion>
  175. <exclusion>
  176. <groupId>org.checkerframework</groupId>
  177. <artifactId>checker-qual</artifactId>
  178. </exclusion>
  179. <exclusion>
  180. <groupId>com.google.errorprone</groupId>
  181. <artifactId>error_prone_annotations</artifactId>
  182. </exclusion>
  183. <exclusion>
  184. <groupId>com.google.j2objc</groupId>
  185. <artifactId>j2objc-annotations</artifactId>
  186. </exclusion>
  187. </exclusions>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.google.dagger</groupId>
  191. <artifactId>dagger</artifactId>
  192. <version>${dagger.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.google.code.gson</groupId>
  196. <artifactId>gson</artifactId>
  197. <version>${gson.version}</version>
  198. </dependency>
  199. <!-- JUnit / Mockito / Hamcrest -->
  200. <dependency>
  201. <groupId>org.junit.jupiter</groupId>
  202. <artifactId>junit-jupiter</artifactId>
  203. <version>${junit.jupiter.version}</version>
  204. <scope>test</scope>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.mockito</groupId>
  208. <artifactId>mockito-core</artifactId>
  209. <version>${mockito.version}</version>
  210. <scope>test</scope>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.hamcrest</groupId>
  214. <artifactId>hamcrest</artifactId>
  215. <version>${hamcrest.version}</version>
  216. <scope>test</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.openjfx</groupId>
  220. <artifactId>javafx-swing</artifactId>
  221. <version>${javafx.version}</version>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.google.jimfs</groupId>
  226. <artifactId>jimfs</artifactId>
  227. <version>1.2</version>
  228. <scope>test</scope>
  229. </dependency>
  230. </dependencies>
  231. <build>
  232. <pluginManagement>
  233. <plugins>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-compiler-plugin</artifactId>
  237. <version>3.8.1</version>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-resources-plugin</artifactId>
  242. <version>3.2.0</version>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-dependency-plugin</artifactId>
  247. <version>3.2.0</version>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-assembly-plugin</artifactId>
  252. <version>3.3.0</version>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-surefire-plugin</artifactId>
  257. <version>3.0.0-M5</version>
  258. </plugin>
  259. <plugin>
  260. <groupId>org.codehaus.mojo</groupId>
  261. <artifactId>license-maven-plugin</artifactId>
  262. <version>2.0.0</version>
  263. </plugin>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-jar-plugin</artifactId>
  267. <version>3.2.0</version>
  268. </plugin>
  269. <plugin>
  270. <groupId>org.jacoco</groupId>
  271. <artifactId>jacoco-maven-plugin</artifactId>
  272. <version>0.8.7</version>
  273. </plugin>
  274. <plugin>
  275. <groupId>org.owasp</groupId>
  276. <artifactId>dependency-check-maven</artifactId>
  277. <version>6.2.2</version>
  278. </plugin>
  279. </plugins>
  280. </pluginManagement>
  281. <plugins>
  282. <plugin>
  283. <groupId>org.apache.maven.plugins</groupId>
  284. <artifactId>maven-compiler-plugin</artifactId>
  285. <configuration>
  286. <release>${project.jdk.version}</release>
  287. <annotationProcessorPaths>
  288. <path>
  289. <groupId>com.google.dagger</groupId>
  290. <artifactId>dagger-compiler</artifactId>
  291. <version>${dagger.version}</version>
  292. </path>
  293. </annotationProcessorPaths>
  294. <compilerArgs>
  295. <arg>-Adagger.fastInit=enabled</arg>
  296. <arg>-Adagger.formatGeneratedSource=enabled</arg>
  297. </compilerArgs>
  298. </configuration>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-jar-plugin</artifactId>
  303. <configuration>
  304. <archive>
  305. <manifest>
  306. <!-- adds Implementation-Version which can be read during runtime -->
  307. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  308. </manifest>
  309. </archive>
  310. </configuration>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-surefire-plugin</artifactId>
  315. </plugin>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-resources-plugin</artifactId>
  319. <executions>
  320. <execution>
  321. <id>copy-resources</id>
  322. <phase>prepare-package</phase>
  323. <goals>
  324. <goal>copy-resources</goal>
  325. </goals>
  326. <configuration>
  327. <outputDirectory>${project.build.directory}</outputDirectory>
  328. <resources>
  329. <resource>
  330. <directory>${project.basedir}/src/package</directory>
  331. <includes>
  332. <include>version.txt</include>
  333. <include>ffi-version.txt</include>
  334. <include>launcher-mac.sh</include>
  335. <include>launcher-linux.sh</include>
  336. <include>launcher-win.bat</include>
  337. <include>LICENSE.txt</include>
  338. </includes>
  339. <filtering>true</filtering>
  340. </resource>
  341. </resources>
  342. </configuration>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-dependency-plugin</artifactId>
  349. <executions>
  350. <execution>
  351. <id>copy-mods</id>
  352. <phase>prepare-package</phase>
  353. <goals>
  354. <goal>copy-dependencies</goal>
  355. </goals>
  356. <configuration>
  357. <includeScope>runtime</includeScope>
  358. <outputDirectory>${project.build.directory}/mods</outputDirectory>
  359. <excludeClassifiers>linux,mac,win</excludeClassifiers>
  360. <excludeGroupIds>${nonModularGroupIds}</excludeGroupIds>
  361. </configuration>
  362. </execution>
  363. <execution>
  364. <id>copy-libs</id>
  365. <phase>prepare-package</phase>
  366. <goals>
  367. <goal>copy-dependencies</goal>
  368. </goals>
  369. <configuration>
  370. <includeScope>runtime</includeScope>
  371. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  372. <includeGroupIds>${nonModularGroupIds}</includeGroupIds>
  373. </configuration>
  374. </execution>
  375. </executions>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.codehaus.mojo</groupId>
  379. <artifactId>license-maven-plugin</artifactId>
  380. <executions>
  381. <execution>
  382. <id>add-third-party</id>
  383. <goals>
  384. <goal>add-third-party</goal>
  385. </goals>
  386. <phase>generate-resources</phase>
  387. <configuration>
  388. <outputDirectory>${project.basedir}/src/main/resources/license</outputDirectory>
  389. <thirdPartyFilename>THIRD-PARTY.txt</thirdPartyFilename>
  390. <includedScopes>compile</includedScopes>
  391. <excludedGroups>org\.cryptomator</excludedGroups>
  392. <licenseMerges>
  393. <licenseMerge>Apache License v2.0|Apache License, Version 2.0|The Apache Software License, Version 2.0|Apache 2.0|Apache Software License - Version 2.0</licenseMerge>
  394. <licenseMerge>MIT License|The MIT License (MIT)|The MIT License|MIT license</licenseMerge>
  395. <licenseMerge>LGPL 2.1|LGPL, version 2.1|GNU Lesser/Library General Public License version 2|GNU Lesser General Public License Version 2.1</licenseMerge>
  396. <licenseMerge>GPLv2|GNU General Public License Version 2</licenseMerge>
  397. <licenseMerge>GPLv2+CE|CDDL + GPLv2 with classpath exception</licenseMerge>
  398. </licenseMerges>
  399. <fileTemplate>${project.basedir}/src/license/template.ftl</fileTemplate>
  400. </configuration>
  401. </execution>
  402. </executions>
  403. </plugin>
  404. </plugins>
  405. </build>
  406. <profiles>
  407. <profile>
  408. <id>coverage</id>
  409. <build>
  410. <plugins>
  411. <plugin>
  412. <groupId>org.jacoco</groupId>
  413. <artifactId>jacoco-maven-plugin</artifactId>
  414. <executions>
  415. <execution>
  416. <id>prepare-agent</id>
  417. <goals>
  418. <goal>prepare-agent</goal>
  419. </goals>
  420. </execution>
  421. <execution>
  422. <id>report</id>
  423. <goals>
  424. <goal>report</goal>
  425. </goals>
  426. </execution>
  427. </executions>
  428. <configuration>
  429. <excludes>
  430. <exclude>**/*_*</exclude>
  431. <exclude>**/Dagger*</exclude>
  432. </excludes>
  433. </configuration>
  434. </plugin>
  435. </plugins>
  436. </build>
  437. </profile>
  438. <profile>
  439. <id>dependency-check</id>
  440. <build>
  441. <plugins>
  442. <plugin>
  443. <groupId>org.owasp</groupId>
  444. <artifactId>dependency-check-maven</artifactId>
  445. <configuration>
  446. <cveValidForHours>24</cveValidForHours>
  447. <failBuildOnCVSS>0</failBuildOnCVSS>
  448. <skipTestScope>true</skipTestScope>
  449. <detail>true</detail>
  450. <suppressionFile>suppression.xml</suppressionFile>
  451. </configuration>
  452. <executions>
  453. <execution>
  454. <goals>
  455. <goal>check</goal>
  456. </goals>
  457. </execution>
  458. </executions>
  459. </plugin>
  460. </plugins>
  461. </build>
  462. </profile>
  463. <profile>
  464. <id>mac</id>
  465. <activation>
  466. <os>
  467. <family>mac</family>
  468. </os>
  469. <property>
  470. <name>idea.version</name>
  471. </property>
  472. </activation>
  473. <dependencies>
  474. <dependency>
  475. <groupId>org.cryptomator</groupId>
  476. <artifactId>integrations-mac</artifactId>
  477. <version>${cryptomator.integrations.mac.version}</version>
  478. </dependency>
  479. </dependencies>
  480. <build>
  481. <plugins>
  482. <plugin>
  483. <groupId>org.apache.maven.plugins</groupId>
  484. <artifactId>maven-assembly-plugin</artifactId>
  485. <executions>
  486. <execution>
  487. <id>assemble-mac</id>
  488. <phase>package</phase>
  489. <goals>
  490. <goal>single</goal>
  491. </goals>
  492. <configuration>
  493. <descriptors>
  494. <descriptor>assembly-mac.xml</descriptor>
  495. </descriptors>
  496. <appendAssemblyId>false</appendAssemblyId>
  497. <finalName>buildkit-mac</finalName>
  498. </configuration>
  499. </execution>
  500. </executions>
  501. </plugin>
  502. <plugin>
  503. <groupId>org.apache.maven.plugins</groupId>
  504. <artifactId>maven-dependency-plugin</artifactId>
  505. <executions>
  506. <execution>
  507. <id>copy-mac-libs</id>
  508. <phase>prepare-package</phase>
  509. <goals>
  510. <goal>copy-dependencies</goal>
  511. </goals>
  512. <configuration>
  513. <outputDirectory>${project.build.directory}/mods</outputDirectory>
  514. <includeGroupIds>org.openjfx</includeGroupIds>
  515. <classifier>mac</classifier>
  516. </configuration>
  517. </execution>
  518. </executions>
  519. </plugin>
  520. </plugins>
  521. </build>
  522. </profile>
  523. <profile>
  524. <id>linux</id>
  525. <activation>
  526. <os>
  527. <family>unix</family>
  528. <name>Linux</name>
  529. </os>
  530. <property>
  531. <name>idea.version</name>
  532. </property>
  533. </activation>
  534. <dependencies>
  535. <dependency>
  536. <groupId>org.cryptomator</groupId>
  537. <artifactId>integrations-linux</artifactId>
  538. <version>${cryptomator.integrations.linux.version}</version>
  539. </dependency>
  540. </dependencies>
  541. <build>
  542. <plugins>
  543. <plugin>
  544. <groupId>org.apache.maven.plugins</groupId>
  545. <artifactId>maven-assembly-plugin</artifactId>
  546. <executions>
  547. <execution>
  548. <id>assemble-linux</id>
  549. <phase>package</phase>
  550. <goals>
  551. <goal>single</goal>
  552. </goals>
  553. <configuration>
  554. <descriptors>
  555. <descriptor>assembly-linux.xml</descriptor>
  556. </descriptors>
  557. <appendAssemblyId>false</appendAssemblyId>
  558. <finalName>buildkit-linux</finalName>
  559. </configuration>
  560. </execution>
  561. </executions>
  562. </plugin>
  563. <plugin>
  564. <groupId>org.apache.maven.plugins</groupId>
  565. <artifactId>maven-dependency-plugin</artifactId>
  566. <executions>
  567. <execution>
  568. <id>copy-linux-libs</id>
  569. <phase>prepare-package</phase>
  570. <goals>
  571. <goal>copy-dependencies</goal>
  572. </goals>
  573. <configuration>
  574. <outputDirectory>${project.build.directory}/mods</outputDirectory>
  575. <includeGroupIds>org.openjfx</includeGroupIds>
  576. <classifier>linux</classifier>
  577. </configuration>
  578. </execution>
  579. </executions>
  580. </plugin>
  581. </plugins>
  582. </build>
  583. </profile>
  584. <profile>
  585. <id>windows</id>
  586. <activation>
  587. <os>
  588. <family>windows</family>
  589. </os>
  590. <property>
  591. <name>idea.version</name>
  592. </property>
  593. </activation>
  594. <dependencies>
  595. <dependency>
  596. <groupId>org.cryptomator</groupId>
  597. <artifactId>integrations-win</artifactId>
  598. <version>${cryptomator.integrations.win.version}</version>
  599. </dependency>
  600. </dependencies>
  601. <build>
  602. <plugins>
  603. <plugin>
  604. <groupId>org.apache.maven.plugins</groupId>
  605. <artifactId>maven-assembly-plugin</artifactId>
  606. <executions>
  607. <execution>
  608. <id>assemble-win</id>
  609. <phase>package</phase>
  610. <goals>
  611. <goal>single</goal>
  612. </goals>
  613. <configuration>
  614. <descriptors>
  615. <descriptor>assembly-win.xml</descriptor>
  616. </descriptors>
  617. <appendAssemblyId>false</appendAssemblyId>
  618. <finalName>buildkit-win</finalName>
  619. </configuration>
  620. </execution>
  621. </executions>
  622. </plugin>
  623. <plugin>
  624. <groupId>org.apache.maven.plugins</groupId>
  625. <artifactId>maven-dependency-plugin</artifactId>
  626. <executions>
  627. <execution>
  628. <id>copy-win-libs</id>
  629. <phase>prepare-package</phase>
  630. <goals>
  631. <goal>copy-dependencies</goal>
  632. </goals>
  633. <configuration>
  634. <outputDirectory>${project.build.directory}/mods</outputDirectory>
  635. <includeGroupIds>org.openjfx</includeGroupIds>
  636. <classifier>win</classifier>
  637. </configuration>
  638. </execution>
  639. </executions>
  640. </plugin>
  641. </plugins>
  642. </build>
  643. </profile>
  644. </profiles>
  645. </project>