Java Stacked Crypto https://jastacry.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>org.jastacry</groupId>
  4. <artifactId>jastacry</artifactId>
  5. <version>0.6.5</version>
  6. <!-- 'mvn scm:tag' will create a new git tag with above value -->
  7. <description>Java Stacked Crypto</description>
  8. <url>https://jastacry.org/</url>
  9. <name>JaStaCry</name>
  10. <licenses>
  11. <license>
  12. <!-- SPDX-License-Identifier: MIT -->
  13. <name>MIT License</name>
  14. </license>
  15. </licenses>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <pmd.version>6.18.0</pmd.version>
  19. <checkstyle.version>8.25</checkstyle.version>
  20. <surefire.version>3.0.0-M3</surefire.version>
  21. <jacoco.version>0.8.5</jacoco.version>
  22. <junit4.version>4.12</junit4.version>
  23. <junit5.version>5.5.2</junit5.version>
  24. <junit5platform.version>1.5.2</junit5platform.version>
  25. <dependency.locations.enabled>false</dependency.locations.enabled>
  26. <maven.compiler.source>11</maven.compiler.source>
  27. <maven.compiler.target>11</maven.compiler.target>
  28. </properties>
  29. <profiles>
  30. <profile>
  31. <id>withShade</id>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-shade-plugin</artifactId>
  37. <version>3.2.1</version>
  38. <executions>
  39. <execution>
  40. <phase>package</phase>
  41. <goals>
  42. <goal>shade</goal>
  43. </goals>
  44. <configuration>
  45. <transformers>
  46. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  47. <mainClass>org.jastacry.JaStaCry</mainClass>
  48. </transformer>
  49. <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
  50. <resource>META-INF/LICENSE</resource>
  51. <file>LICENSE.txt</file>
  52. </transformer>
  53. <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
  54. <resource>META-INF/THIRD-PARTY</resource>
  55. <file>target/generated-sources/license/THIRD-PARTY.txt</file>
  56. </transformer>
  57. <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
  58. <resource>META-INF/licenses.xml</resource>
  59. <file>target/generated-resources/licenses.xml</file>
  60. </transformer>
  61. </transformers>
  62. <filters>
  63. <filter>
  64. <artifact>*:*</artifact>
  65. <excludes>
  66. <exclude>META-INF/*.SF</exclude>
  67. <exclude>META-INF/*.DSA</exclude>
  68. <exclude>META-INF/*.RSA</exclude>
  69. <exclude>META-INF/LICENSE</exclude>
  70. <exclude>META-INF/LICENSE.*</exclude>
  71. <exclude>META-INF/NOTICE</exclude>
  72. <exclude>META-INF/NOTICE.*</exclude>
  73. <exclude>THIRD-PARTY</exclude>
  74. <exclude>THIRD-PARTY.txt</exclude>
  75. </excludes>
  76. </filter>
  77. </filters>
  78. </configuration>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </profile>
  85. </profiles>
  86. <build>
  87. <pluginManagement>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.codehaus.mojo</groupId>
  91. <artifactId>versions-maven-plugin</artifactId>
  92. <version>2.7</version>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.jacoco</groupId>
  96. <artifactId>jacoco-maven-plugin</artifactId>
  97. <version>${jacoco.version}</version>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-scm-plugin</artifactId>
  102. <version>1.11.2</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-enforcer-plugin</artifactId>
  107. <version>3.0.0-M2</version>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-release-plugin</artifactId>
  112. <version>2.5.3</version>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-clean-plugin</artifactId>
  116. <version>3.1.0</version>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-deploy-plugin</artifactId>
  120. <version>3.0.0-M1</version>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <version>3.8.1</version>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-dependency-plugin</artifactId>
  130. <version>3.1.1</version>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-assembly-plugin</artifactId>
  134. <version>3.1.1</version>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-jar-plugin</artifactId>
  139. <version>3.1.2</version>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-shade-plugin</artifactId>
  144. <version>3.2.1</version>
  145. </plugin>
  146. <plugin>
  147. <artifactId>maven-antrun-plugin</artifactId>
  148. <version>1.8</version>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-site-plugin</artifactId>
  153. <version>3.8.2</version>
  154. <dependencies>
  155. <dependency><!-- add support for ssh/scp -->
  156. <groupId>org.apache.maven.wagon</groupId>
  157. <artifactId>wagon-ssh</artifactId>
  158. <version>3.3.3</version>
  159. </dependency>
  160. </dependencies>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.codehaus.mojo</groupId>
  164. <artifactId>license-maven-plugin</artifactId>
  165. <version>2.0.0</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-surefire-plugin</artifactId>
  169. <version>${surefire.version}</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.spdx</groupId>
  173. <artifactId>spdx-maven-plugin</artifactId>
  174. <version>0.5.3</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-checkstyle-plugin</artifactId>
  179. <version>3.1.0</version>
  180. <dependencies>
  181. <dependency>
  182. <groupId>com.puppycrawl.tools</groupId>
  183. <artifactId>checkstyle</artifactId>
  184. <version>${checkstyle.version}</version>
  185. </dependency>
  186. </dependencies>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-pmd-plugin</artifactId>
  191. <version>3.12.0</version>
  192. <dependencies>
  193. <dependency>
  194. <groupId>net.sourceforge.pmd</groupId>
  195. <artifactId>pmd-core</artifactId>
  196. <version>${pmd.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>net.sourceforge.pmd</groupId>
  200. <artifactId>pmd-java</artifactId>
  201. <version>${pmd.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>net.sourceforge.pmd</groupId>
  205. <artifactId>pmd-javascript</artifactId>
  206. <version>${pmd.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>net.sourceforge.pmd</groupId>
  210. <artifactId>pmd-jsp</artifactId>
  211. <version>${pmd.version}</version>
  212. </dependency>
  213. </dependencies>
  214. </plugin>
  215. </plugins>
  216. </pluginManagement>
  217. <plugins>
  218. <plugin>
  219. <groupId>org.codehaus.mojo</groupId>
  220. <artifactId>versions-maven-plugin</artifactId>
  221. <configuration>
  222. <generateBackupPoms>false</generateBackupPoms>
  223. </configuration>
  224. </plugin>
  225. <plugin>
  226. <groupId>org.apache.maven.plugins</groupId>
  227. <artifactId>maven-pmd-plugin</artifactId>
  228. <configuration>
  229. <sourceEncoding>utf-8</sourceEncoding>
  230. <targetJdk>11</targetJdk>
  231. </configuration>
  232. </plugin>
  233. <plugin>
  234. <groupId>org.apache.maven.plugins</groupId>
  235. <artifactId>maven-surefire-plugin</artifactId>
  236. <configuration>
  237. <excludes>
  238. <exclude>**/AllTests.java</exclude>
  239. </excludes>
  240. </configuration>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-enforcer-plugin</artifactId>
  245. <executions>
  246. <execution>
  247. <id>enforce-maven</id>
  248. <goals>
  249. <goal>enforce</goal>
  250. </goals>
  251. <configuration>
  252. <rules>
  253. <requireMavenVersion>
  254. <version>3.6.1</version>
  255. </requireMavenVersion>
  256. </rules>
  257. </configuration>
  258. </execution>
  259. </executions>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.jacoco</groupId>
  263. <artifactId>jacoco-maven-plugin</artifactId>
  264. <executions>
  265. <execution>
  266. <id>prepare-agent</id>
  267. <goals>
  268. <goal>prepare-agent</goal>
  269. </goals>
  270. </execution>
  271. <execution>
  272. <id>report</id>
  273. <phase>prepare-package</phase>
  274. <goals>
  275. <goal>report</goal>
  276. </goals>
  277. </execution>
  278. <execution>
  279. <id>post-unit-test</id>
  280. <phase>test</phase>
  281. <goals>
  282. <goal>report</goal>
  283. </goals>
  284. <configuration>
  285. <!-- Sets the path to the file which contains the execution data. -->
  286. <dataFile>target/jacoco.exec</dataFile>
  287. <!-- Sets the output directory for the code coverage report. -->
  288. <outputDirectory>target/jacoco-ut</outputDirectory>
  289. </configuration>
  290. </execution>
  291. </executions>
  292. <configuration>
  293. <systemPropertyVariables>
  294. <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
  295. </systemPropertyVariables>
  296. </configuration>
  297. </plugin>
  298. <plugin>
  299. <artifactId>maven-clean-plugin</artifactId>
  300. <configuration>
  301. <filesets>
  302. <fileset>
  303. <directory>logs</directory>
  304. <includes>
  305. <include>*.log</include>
  306. </includes>
  307. <followSymlinks>false</followSymlinks>
  308. </fileset>
  309. <fileset>
  310. <directory>reports</directory>
  311. <includes>
  312. <include>*.txt</include>
  313. </includes>
  314. <followSymlinks>false</followSymlinks>
  315. </fileset>
  316. </filesets>
  317. </configuration>
  318. </plugin>
  319. <plugin>
  320. <artifactId>maven-compiler-plugin</artifactId>
  321. <configuration>
  322. <verbose>false</verbose>
  323. </configuration>
  324. </plugin>
  325. <plugin>
  326. <groupId>org.apache.maven.plugins</groupId>
  327. <artifactId>maven-dependency-plugin</artifactId>
  328. <executions>
  329. <execution>
  330. <id>copy-dependencies</id>
  331. <phase>package</phase>
  332. <goals>
  333. <goal>copy-dependencies</goal>
  334. </goals>
  335. <configuration>
  336. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  337. <overWriteReleases>false</overWriteReleases>
  338. <overWriteSnapshots>false</overWriteSnapshots>
  339. <overWriteIfNewer>true</overWriteIfNewer>
  340. </configuration>
  341. </execution>
  342. </executions>
  343. </plugin>
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-scm-plugin</artifactId>
  347. <configuration>
  348. <tag>version/${project.version}</tag>
  349. </configuration>
  350. </plugin>
  351. <plugin>
  352. <groupId>org.apache.maven.plugins</groupId>
  353. <artifactId>maven-release-plugin</artifactId>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.codehaus.mojo</groupId>
  357. <artifactId>license-maven-plugin</artifactId>
  358. <configuration>
  359. <licenseName>mit</licenseName>
  360. </configuration>
  361. <executions>
  362. <execution>
  363. <id>download-licenses</id>
  364. <goals>
  365. <goal>download-licenses</goal>
  366. <goal>add-third-party</goal>
  367. </goals>
  368. </execution>
  369. </executions>
  370. </plugin>
  371. <plugin>
  372. <groupId>org.apache.maven.plugins</groupId>
  373. <artifactId>maven-checkstyle-plugin</artifactId>
  374. <configuration>
  375. <configLocation>checkstyle.xml</configLocation>
  376. <linkXRef>false</linkXRef>
  377. </configuration>
  378. </plugin>
  379. <plugin>
  380. <groupId>org.spdx</groupId>
  381. <artifactId>spdx-maven-plugin</artifactId>
  382. <executions>
  383. <execution>
  384. <id>build-spdx</id>
  385. <goals>
  386. <goal>createSPDX</goal>
  387. </goals>
  388. </execution>
  389. </executions>
  390. <configuration>
  391. <excludedFilePatterns>
  392. <param>*.spdx</param>
  393. </excludedFilePatterns>
  394. </configuration>
  395. </plugin>
  396. </plugins>
  397. <extensions>
  398. <extension>
  399. <groupId>org.apache.maven.wagon</groupId>
  400. <artifactId>wagon-ftp</artifactId>
  401. <version>2.10</version>
  402. </extension>
  403. </extensions>
  404. </build>
  405. <repositories>
  406. <repository>
  407. <id>rdfa-bintray</id>
  408. <url>https://dl.bintray.com/yevster/maven</url>
  409. </repository>
  410. </repositories>
  411. <dependencies>
  412. <dependency>
  413. <groupId>commons-cli</groupId>
  414. <artifactId>commons-cli</artifactId>
  415. <version>1.4</version>
  416. </dependency>
  417. <dependency>
  418. <groupId>org.junit.jupiter</groupId>
  419. <artifactId>junit-jupiter-api</artifactId>
  420. <version>${junit5.version}</version>
  421. <scope>test</scope>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.junit.jupiter</groupId>
  425. <artifactId>junit-jupiter-engine</artifactId>
  426. <version>${junit5.version}</version>
  427. <scope>test</scope>
  428. </dependency>
  429. <dependency>
  430. <groupId>org.junit.platform</groupId>
  431. <artifactId>junit-platform-runner</artifactId>
  432. <version>${junit5platform.version}</version>
  433. <scope>test</scope>
  434. </dependency>
  435. <dependency>
  436. <groupId>com.ginsberg</groupId>
  437. <artifactId>junit5-system-exit</artifactId>
  438. <version>1.0.0</version>
  439. <scope>test</scope>
  440. </dependency>
  441. <dependency>
  442. <groupId>com.github.stefanbirkner</groupId>
  443. <artifactId>system-rules</artifactId>
  444. <version>1.19.0</version>
  445. <scope>test</scope>
  446. </dependency>
  447. <dependency>
  448. <groupId>org.apache.logging.log4j</groupId>
  449. <artifactId>log4j-core</artifactId>
  450. <version>2.12.1</version>
  451. </dependency>
  452. <dependency>
  453. <groupId>org.apache.maven.shared</groupId>
  454. <artifactId>maven-shared-utils</artifactId>
  455. <version>3.2.1</version>
  456. <scope>test</scope>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.slf4j</groupId>
  460. <artifactId>slf4j-simple</artifactId>
  461. <version>1.7.25</version>
  462. <scope>test</scope>
  463. </dependency>
  464. <dependency>
  465. <groupId>commons-io</groupId>
  466. <artifactId>commons-io</artifactId>
  467. </dependency>
  468. <dependency>
  469. <groupId>net.iharder</groupId>
  470. <artifactId>base64</artifactId>
  471. <version>2.3.9</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>org.mockito</groupId>
  475. <artifactId>mockito-all</artifactId>
  476. <version>1.10.19</version>
  477. <scope>test</scope>
  478. </dependency>
  479. </dependencies>
  480. <reporting>
  481. <plugins>
  482. <plugin>
  483. <groupId>org.apache.maven.plugins</groupId>
  484. <artifactId>maven-jxr-plugin</artifactId>
  485. <version>3.0.0</version>
  486. </plugin>
  487. <plugin>
  488. <groupId>org.jacoco</groupId>
  489. <artifactId>jacoco-maven-plugin</artifactId>
  490. <version>${jacoco.version}</version>
  491. <reportSets>
  492. <reportSet>
  493. <reports>
  494. <report>report</report>
  495. </reports>
  496. </reportSet>
  497. </reportSets>
  498. </plugin>
  499. <plugin>
  500. <groupId>org.apache.maven.plugins</groupId>
  501. <artifactId>maven-javadoc-plugin</artifactId>
  502. <version>3.1.1</version>
  503. <configuration>
  504. <javadocVersion>11.0.2</javadocVersion>
  505. </configuration>
  506. </plugin>
  507. <plugin>
  508. <groupId>org.apache.maven.plugins</groupId>
  509. <artifactId>maven-checkstyle-plugin</artifactId>
  510. <configuration>
  511. <configLocation>checkstyle.xml</configLocation>
  512. <linkXRef>false</linkXRef>
  513. </configuration>
  514. </plugin>
  515. <plugin>
  516. <groupId>org.apache.maven.plugins</groupId>
  517. <artifactId>maven-surefire-report-plugin</artifactId>
  518. <version>${surefire.version}</version>
  519. </plugin>
  520. <plugin>
  521. <groupId>org.apache.maven.plugins</groupId>
  522. <artifactId>maven-site-plugin</artifactId>
  523. <configuration>
  524. <generateSitemap>true</generateSitemap>
  525. </configuration>
  526. </plugin>
  527. <plugin>
  528. <groupId>org.apache.maven.plugins</groupId>
  529. <artifactId>maven-project-info-reports-plugin</artifactId>
  530. <version>3.0.0</version>
  531. <reportSets>
  532. <reportSet>
  533. <reports>
  534. <report>summary</report>
  535. <report>licenses</report>
  536. <report>team</report>
  537. <report>ci-management</report>
  538. <report>dependencies</report>
  539. <report>dependency-info</report>
  540. <report>dependency-management</report>
  541. <report>dependency-convergence</report>
  542. <report>issue-management</report>
  543. <report>plugin-management</report>
  544. <report>plugins</report>
  545. <report>scm</report>
  546. </reports>
  547. </reportSet>
  548. </reportSets>
  549. </plugin>
  550. </plugins>
  551. </reporting>
  552. <distributionManagement>
  553. <site>
  554. <id>kretschmanndev</id>
  555. <name>Site JaStaCry Website</name>
  556. <url>scp://ci@kretschmann.dev/var/www/ci/jastacry/</url>
  557. </site>
  558. <snapshotRepository>
  559. <id>nexussnapshots</id>
  560. <name>Nexus local snapshots</name>
  561. <url>https://nexus.myocastor.de/repository/maven-snapshots/</url>
  562. </snapshotRepository>
  563. <repository>
  564. <id>nexusreleases</id>
  565. <name>Nexus local releases</name>
  566. <url>https://nexus.myocastor.de/repository/maven-releases/</url>
  567. </repository>
  568. </distributionManagement>
  569. <developers>
  570. <developer>
  571. <id>kkr</id>
  572. <name>Kai Kretschmann</name>
  573. <email>kai@kretschmann.consulting</email>
  574. <roles>
  575. <role>developer</role>
  576. </roles>
  577. <timezone>Europe/Berlin</timezone>
  578. <properties>
  579. <picUrl><![CDATA[https://avatars2.githubusercontent.com/u/1115638?s=64&v=4]]></picUrl>
  580. </properties>
  581. </developer>
  582. </developers>
  583. <scm>
  584. <url>https://git.kretschmann.software/kai/JaStaCry</url>
  585. <tag>HEAD</tag>
  586. <connection>scm:git:https://git.kretschmann.software/kai/JaStaCry.git</connection>
  587. <developerConnection>scm:git:ssh://git@git.kretschmann.software:kai/JaStaCry.git</developerConnection>
  588. </scm>
  589. <issueManagement>
  590. <system>jira</system>
  591. <url>https://jira.myocastor.de/projects/JAS/summary</url>
  592. </issueManagement>
  593. <ciManagement>
  594. <system>Jenkins</system>
  595. <url>https://jen.myocastor.de/job/JaStaCry/</url>
  596. </ciManagement>
  597. <dependencyManagement>
  598. <dependencies>
  599. <dependency>
  600. <groupId>commons-io</groupId>
  601. <artifactId>commons-io</artifactId>
  602. <version>2.6</version>
  603. </dependency>
  604. <dependency>
  605. <groupId>org.junit.platform</groupId>
  606. <artifactId>junit-platform-launcher</artifactId>
  607. <version>${junit5platform.version}</version>
  608. </dependency>
  609. <dependency>
  610. <groupId>junit</groupId>
  611. <artifactId>junit</artifactId>
  612. <version>${junit4.version}</version>
  613. </dependency>
  614. </dependencies>
  615. </dependencyManagement>
  616. <organization>
  617. <url>https://kai.kretschmann.consulting/</url>
  618. <name>Kai Kretschmann</name>
  619. </organization>
  620. <inceptionYear>2019</inceptionYear>
  621. </project>
Social stuff:
Mastodon