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

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