Proof of Software 1.6.0: sbom-maven from the committed lockfile.json of the maven-lockfile plugin (deterministic CycloneDX 1.6, re-derived by verify --rebuild-from), --source-path . for a repository root
This commit is contained in:
1 parent
829d622719
commit
c3910c07a2
15 files changed
+30533
-31
No files matched your search
@@ -0,0 +1,69 @@
|
||||
# Fixturi Maven (Proof of Software 1.6.0, `sbom-maven`)
|
||||
|
||||
Fisiere REALE scrise de pluginul maven-lockfile (`io.github.chains-project:maven-lockfile`), extrase cu `git show` (octetii COMISI, fara
|
||||
conversia de checkout) din depozitul public https://github.com/chains-project/maven-lockfile la commitul
|
||||
`083b879a2202189aea2b29b47c52ef649b5e4289` (2026-10-16T23:15:34+02:00), pe 2026-10-18. Clona sta in afara depozitului nostru, numai de
|
||||
citit; nimic nu a rulat din ea (nici `mvn`, nici alt interpretor). Amprentele de mai jos sunt ale octetilor extrasi si sunt identice cu ale
|
||||
bloburilor din git (verificat cu `git show ... | sha256sum`). Dosarul e marcat `-text` in `.gitattributes`, ca un checkout cu
|
||||
`core.autocrlf=true` sa nu le schimbe octetii (proba compara SHA-256 al `pom.xml` de pe disc cu `pom.checksum` din lockfile).
|
||||
|
||||
| fixtura | calea in depozitul sursa | pluginul care a scris-o (`metaData.config`) | sha256 | octeti |
|
||||
|---|---|---|---|---|
|
||||
| `maven-lockfile/lockfile.json` | `lockfile.json` (radacina: lockfile-ul propriu al pluginului) | 5.18.6, `checksumMode: remote`, `hermetic: true`, `includeBoms`, `includeParentPom` | `f94e6a78e9680d93089342dd5a922cf89508a7c921433ba75695e34ccc97acf1` | 1453087 |
|
||||
| `maven-lockfile/pom.xml` | `pom.xml` | | `da144afab3256a91113eeca080f9b0836b7615c43327bdcdf40f2db1460a53ce` | 18006 |
|
||||
| `reactor/pom.xml` | `src/test/resources-its/it/IntegrationTestsIT/reactorSnapshotSiblingShouldSucceed/pom.xml` (agregator, `<modules>`) | | `2c5e3529a91fa1289e348d7e7dbb7d2bcea6998882b163c474382a75f4b3daca` | 516 |
|
||||
| `reactor/module-a/pom.xml` | `.../reactorSnapshotSiblingShouldSucceed/module-a/pom.xml` | | `fe5fd57c834ef8943fc6903fe2343708c920ee9e796de245c92e880bfe42be2b` | 1028 |
|
||||
| `reactor/module-a/lockfile.json` | `.../reactorSnapshotSiblingShouldSucceed/module-a/lockfile.json` (dependinta de modul-frate din acelasi reactor, checksum gol) | 5.17.1-SNAPSHOT, `local` | `41de249b2fc9c6fc18777f2b0d589e6462da07040590806c5a17ba3efabcb233` | 2007 |
|
||||
| `reactor/module-b/pom.xml` | `.../reactorSnapshotSiblingShouldSucceed/module-b/pom.xml` (fara lockfile comis) | | `ff80de0e2f3e3f4cb108ba102e51e927f33ee4bf7c57de7de9e9fa814355b32c` | 288 |
|
||||
| `classifier/lockfile.json` | `.../classifierDependencyCheckCorrect/lockfile.json` (acelasi artefact simplu, `sources` si `javadoc`) | 5.14.3-SNAPSHOT, `local` | `b21155db575cdeca577889e8ed18421d0f7b13041ada4f7ad4a57b9aade3a672` | 11527 |
|
||||
| `classifier/pom.xml` | `.../classifierDependencyCheckCorrect/pom.xml` | | `ffb0ec623d40e3b9655330aa563e8c17ca14b4e33bf3f1ac3803c6a02fdd3dee` | 1506 |
|
||||
|
||||
Ce contine fixtura mare, numarat cu o parcurgere INDEPENDENTA a lockfile-ului (in `test/sbom-maven.test.mjs`, alt cod decat `pos.mjs`):
|
||||
986 de noduri in arborele proiectului si in cei 17 arbori de plugin; 325 de artefacte distincte (318 incluse + 7 inregistrate dinamic in
|
||||
modul hermetic, furnizorii surefire, scrise de plugin cu `included: false` si FARA `selectedVersion`); 528 de noduri scoase de mediere
|
||||
(159 pentru conflict, 369 pentru duplicat); 2 cu clasificator (`guice:classes`, `sisu-guice:noaop`); 2 cu `type: pom`; 17 pluginuri; 232 de
|
||||
pom-uri parinte si 43 de BOM-uri; 617 componente in SBOM, toate cu SHA-256; 4 scope-uri (compile, provided, runtime, test); 13 coordonate
|
||||
care apar si in arborele proiectului si intr-un arbore de plugin; 23 cu doua scope-uri.
|
||||
|
||||
## Semantica citita din sursa pluginului (nu din memorie)
|
||||
|
||||
`src/main/java/io/github/chains_project/maven_lockfile/graph/DependencyGraph.java`, `LockFileFacade.java`, `data/*.java`, la acelasi commit:
|
||||
|
||||
- `included = winnerVersion.isEmpty()` (nu exista marcaj de conflict in arborele verbose al lui Maven); `selectedVersion` = versiunea
|
||||
castigatoare cand exista marcaj, altfel chiar versiunea nodului. Deci `included: false` cu `selectedVersion == version` e "omis pentru
|
||||
duplicat", cu alta versiune e "omis pentru conflict"; niciunul nu ajunge pe classpath, parintele primeste versiunea aleasa.
|
||||
- artefactele inregistrate dinamic (`addDynamicDependency`, modul hermetic) se construiesc cu `DependencyNode.of(...)` fara
|
||||
`setIncluded`/`setSelectedVersion`: in JSON `included: false` si fara `selectedVersion`. Sunt rezolvate, nu mediate.
|
||||
- `ArtifactType.of("jar")` si `Classifier.of("")` dau null, deci `type` si `classifier` lipsesc din JSON cand sunt jar, respectiv goale.
|
||||
- checksum-ul e gol pentru radacina si pentru modulele SNAPSHOT din acelasi reactor (`reactorGavs`), altfel e hash-ul fisierului:
|
||||
`remote` il citeste din depozitul de artefacte, `local` il calculeaza pe fisier (`FileSystemChecksumCalculator`, implicit SHA-256).
|
||||
- `pom.checksum` e hash-ul fisierului `pom.xml` din care s-a generat lockfile-ul.
|
||||
|
||||
## Controale pozitive ale metodei, masurate 2026-10-18
|
||||
|
||||
- `pom.checksum` din `maven-lockfile/lockfile.json` == SHA-256 al `pom.xml` COMIS (`da144afa...`): deci `aere:maven-pom-matches-lockfile`
|
||||
masoara ceva real. Proba o recalculeaza in test, independent de `pos.mjs`.
|
||||
- checksum-ul din lockfile == sidecar-ul `.sha256` publicat de Maven Central (citit ca text, nu descarcat): `gson-2.14.0.jar`
|
||||
`2cbd119bf1961c28788310963dc80ba65f58cdeec1dd139c8bdb1240faa2c36f`, `guava-33.5.0-jre.jar`
|
||||
`1e301f0c52ac248b0b14fdc3d12283c77252d4d6f48521d572e7d8c4c2cc4ac7`, `gson-parent-2.14.0.pom`
|
||||
`82b0f6694c5758ab8bb07e05630208d50f589d4b5e04fd0a046d59cdf7ba3d1d`. Deci checksum-ul e hash-ul FISIERULUI si intra in `hashes` CycloneDX.
|
||||
- Masina de lucru nu are `~/.m2/repository`, deci proba cu jar-urile din memoria locala Maven e SARITA aici si ruleaza unde exista.
|
||||
|
||||
## Dogfood pe depozitul public, 2026-10-18
|
||||
|
||||
Pe clona 1 (`083b879a`, checkout superficial) si pe o a DOUA clona proaspata a aceluiasi depozit, FARA checkout (numai obiecte git, 44 MB),
|
||||
cu `sbomMavenFromTree` / `attest` / `verify` din `pos.mjs` chemate dintr-un script din afara clonelor (in clone a intrat numai git):
|
||||
|
||||
- SBOM din clona 1, `--source-path .` (lockfile-ul e la radacina depozitului): 617 componente (71 dependinte, 17 pluginuri, 267 dependinte de
|
||||
plugin, 232 pom-uri parinte, 43 BOM-uri), 617 cu SHA-256, 218 inregistrari de graf, 4 scope-uri, 159/369 noduri omise pentru
|
||||
conflict/duplicat, 7 dinamice, `pom.xml matches lockfile: true`, 452.104 octeti; 131 ms (a doua rulare 119 ms, aceiasi octeti).
|
||||
- Din clona 2: aceiasi octeti, 117 ms. Serialul `urn:uuid:125f2369-0208-518b-84a9-37538ef0fd9a` e derivat din continut.
|
||||
- Atestare cu `source.path "."`, arborele `79b9c003543c`; `verify --rebuild-from <clona 2>`: VALID in 487 ms ("the attested SBOM says what the
|
||||
committed lockfile.json (maven-lockfile) resolves (617 components)"); artefactul e un stand-in declarat (nu a rulat niciun build Maven),
|
||||
deci "rebuild: artifacts" e ABSENT, nu fals.
|
||||
- Control negativ: componentele numite `gson` scoase de mana din SBOM-ul atestat (sunt doua: 2.13.2 si 2.14.0): VALID pe digest, INVALID
|
||||
la reconstructie ("0 component(s) only in the attested SBOM, 2 only in the lockfile; graph same; root same").
|
||||
|
||||
NEMASURAT: un lockfile scris cu `reduced: true` (fara noduri mediate) si unul cu `mavenExtensions` nevid; cititorul le accepta dupa
|
||||
aceeasi schema, dar nicio fixtura reala de aici nu le are. Niciun alt depozit public decat al pluginului nu a fost gasit cu `lockfile.json`
|
||||
comis (cautare web, 2026-10-18), deci un lockfile scris de alt proiect, cu alte optiuni, nu a fost citit.
|
||||
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"artifactId": "classifier-dependency-check-correct",
|
||||
"groupId": "com.mycompany.app",
|
||||
"version": "1",
|
||||
"pom": {
|
||||
"groupId": "com.mycompany.app",
|
||||
"artifactId": "classifier-dependency-check-correct",
|
||||
"version": "1",
|
||||
"relativePath": "pom.xml",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "ffb0ec623d40e3b9655330aa563e8c17ca14b4e33bf3f1ac3803c6a02fdd3dee"
|
||||
},
|
||||
"lockFileVersion": 1,
|
||||
"dependencies": [
|
||||
{
|
||||
"groupId": "org.junit.jupiter",
|
||||
"artifactId": "junit-jupiter-api",
|
||||
"version": "5.9.2",
|
||||
"classifier": "sources",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "2b04279c000da27679100d5854d3045a09c2a9a4cda942777f0b0519bb9f295d",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.9.2/junit-jupiter-api-5.9.2-sources.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "5.9.2",
|
||||
"included": true,
|
||||
"id": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [
|
||||
{
|
||||
"groupId": "org.apiguardian",
|
||||
"artifactId": "apiguardian-api",
|
||||
"version": "1.1.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.1.2",
|
||||
"included": false,
|
||||
"id": "org.apiguardian:apiguardian-api:1.1.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
},
|
||||
{
|
||||
"groupId": "org.junit.platform",
|
||||
"artifactId": "junit-platform-commons",
|
||||
"version": "1.9.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "624a3d745ef1d28e955a6a67af8edba0fdfc5c9bad680a73f67a70bb950a683d",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.2/junit-platform-commons-1.9.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.9.2",
|
||||
"included": false,
|
||||
"id": "org.junit.platform:junit-platform-commons:1.9.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": [
|
||||
{
|
||||
"groupId": "org.junit",
|
||||
"artifactId": "junit-bom",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom",
|
||||
"repositoryId": "central",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "2ed07d65845131f5336a86476c9a4056b59d0b58b9815ab3679bb0f36f35f705"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"groupId": "org.opentest4j",
|
||||
"artifactId": "opentest4j",
|
||||
"version": "1.2.0",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "58812de60898d976fb81ef3b62da05c6604c18fd4a249f5044282479fc286af2",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.2.0",
|
||||
"included": false,
|
||||
"id": "org.opentest4j:opentest4j:1.2.0",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
}
|
||||
],
|
||||
"boms": [
|
||||
{
|
||||
"groupId": "org.junit",
|
||||
"artifactId": "junit-bom",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom",
|
||||
"repositoryId": "central",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "2ed07d65845131f5336a86476c9a4056b59d0b58b9815ab3679bb0f36f35f705"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"groupId": "org.junit.jupiter",
|
||||
"artifactId": "junit-jupiter-api",
|
||||
"version": "5.9.2",
|
||||
"classifier": "javadoc",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "789224a3a7bff190858307399f64ee7d7e4ab810c7eab12ee107e27765acd8d9",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.9.2/junit-jupiter-api-5.9.2-javadoc.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "5.9.2",
|
||||
"included": true,
|
||||
"id": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [
|
||||
{
|
||||
"groupId": "org.apiguardian",
|
||||
"artifactId": "apiguardian-api",
|
||||
"version": "1.1.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.1.2",
|
||||
"included": false,
|
||||
"id": "org.apiguardian:apiguardian-api:1.1.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
},
|
||||
{
|
||||
"groupId": "org.junit.platform",
|
||||
"artifactId": "junit-platform-commons",
|
||||
"version": "1.9.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "624a3d745ef1d28e955a6a67af8edba0fdfc5c9bad680a73f67a70bb950a683d",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.2/junit-platform-commons-1.9.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.9.2",
|
||||
"included": false,
|
||||
"id": "org.junit.platform:junit-platform-commons:1.9.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
},
|
||||
{
|
||||
"groupId": "org.opentest4j",
|
||||
"artifactId": "opentest4j",
|
||||
"version": "1.2.0",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "58812de60898d976fb81ef3b62da05c6604c18fd4a249f5044282479fc286af2",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.2.0",
|
||||
"included": false,
|
||||
"id": "org.opentest4j:opentest4j:1.2.0",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
}
|
||||
],
|
||||
"boms": [
|
||||
{
|
||||
"groupId": "org.junit",
|
||||
"artifactId": "junit-bom",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom",
|
||||
"repositoryId": "central",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "2ed07d65845131f5336a86476c9a4056b59d0b58b9815ab3679bb0f36f35f705"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"groupId": "org.junit.jupiter",
|
||||
"artifactId": "junit-jupiter-api",
|
||||
"version": "5.9.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "f767a170f97127b0ad3582bf3358eabbbbe981d9f96411853e629d9276926fd5",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.9.2/junit-jupiter-api-5.9.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "5.9.2",
|
||||
"included": true,
|
||||
"id": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [
|
||||
{
|
||||
"groupId": "org.apiguardian",
|
||||
"artifactId": "apiguardian-api",
|
||||
"version": "1.1.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.1.2",
|
||||
"included": true,
|
||||
"id": "org.apiguardian:apiguardian-api:1.1.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
},
|
||||
{
|
||||
"groupId": "org.junit.platform",
|
||||
"artifactId": "junit-platform-commons",
|
||||
"version": "1.9.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "624a3d745ef1d28e955a6a67af8edba0fdfc5c9bad680a73f67a70bb950a683d",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.2/junit-platform-commons-1.9.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.9.2",
|
||||
"included": true,
|
||||
"id": "org.junit.platform:junit-platform-commons:1.9.2",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [
|
||||
{
|
||||
"groupId": "org.apiguardian",
|
||||
"artifactId": "apiguardian-api",
|
||||
"version": "1.1.2",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.1.2",
|
||||
"included": false,
|
||||
"id": "org.apiguardian:apiguardian-api:1.1.2",
|
||||
"parent": "org.junit.platform:junit-platform-commons:1.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
}
|
||||
],
|
||||
"boms": []
|
||||
},
|
||||
{
|
||||
"groupId": "org.opentest4j",
|
||||
"artifactId": "opentest4j",
|
||||
"version": "1.2.0",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "58812de60898d976fb81ef3b62da05c6604c18fd4a249f5044282479fc286af2",
|
||||
"scope": "compile",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar",
|
||||
"repositoryId": "central",
|
||||
"selectedVersion": "1.2.0",
|
||||
"included": true,
|
||||
"id": "org.opentest4j:opentest4j:1.2.0",
|
||||
"parent": "org.junit.jupiter:junit-jupiter-api:5.9.2",
|
||||
"children": [],
|
||||
"boms": []
|
||||
}
|
||||
],
|
||||
"boms": [
|
||||
{
|
||||
"groupId": "org.junit",
|
||||
"artifactId": "junit-bom",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom",
|
||||
"repositoryId": "central",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "2ed07d65845131f5336a86476c9a4056b59d0b58b9815ab3679bb0f36f35f705"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mavenPlugins": [],
|
||||
"metaData": {
|
||||
"environment": {
|
||||
"osName": "Linux",
|
||||
"mavenVersion": "3.9.9",
|
||||
"javaVersion": "21.0.9"
|
||||
},
|
||||
"config": {
|
||||
"includeMavenPlugins": false,
|
||||
"allowValidationFailure": false,
|
||||
"allowPomValidationFailure": true,
|
||||
"allowEnvironmentalValidationFailure": true,
|
||||
"includeEnvironment": true,
|
||||
"reduced": false,
|
||||
"mavenLockfileVersion": "5.14.3-SNAPSHOT",
|
||||
"checksumMode": "local",
|
||||
"checksumAlgorithm": "SHA-256"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.mycompany.app</groupId>
|
||||
<artifactId>classifier-dependency-check-correct</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1</version>
|
||||
<properties>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.9.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.9.2</version>
|
||||
<classifier>sources</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.9.2</version>
|
||||
<classifier>javadoc</classifier>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.chains-project</groupId>
|
||||
<artifactId>
|
||||
maven-lockfile</artifactId>
|
||||
<version>@project.version@</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>validate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<checksumMode>local</checksumMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,519 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.github.chains-project</groupId>
|
||||
<artifactId>maven-lockfile</artifactId>
|
||||
<version>5.18.7-SNAPSHOT</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>maven-lockfile-plugin</name>
|
||||
<description>This plugin is a state-of-the-art solution that can be used to validate the integrity
|
||||
of a maven repository.
|
||||
It does this by generating a lock file that contains the checksums of all the artifacts and plugins in the
|
||||
repository.
|
||||
The lock file can then be used to validate the integrity of the repository.
|
||||
This guards the supply chain against malicious actors that might tamper with the artifacts in
|
||||
the repository.</description>
|
||||
<url>https://github.com/chains-project/maven-lockfile</url>
|
||||
<inceptionYear>2023</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>MIT</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>MartinWitt</id>
|
||||
<name>Martin Wittlinger</name>
|
||||
</developer>
|
||||
</developers>
|
||||
<prerequisites>
|
||||
<maven>3.2.5</maven>
|
||||
</prerequisites>
|
||||
<scm>
|
||||
<connection>scm:git:https://github.com/chains-project/maven-lockfile</connection>
|
||||
<developerConnection>scm:git:https://github.com/chains-project/maven-lockfile.git</developerConnection>
|
||||
<tag>v${project.version}</tag>
|
||||
<url>https://github.com/chains-project/maven-lockfile/tree/${project.scm.tag}</url>
|
||||
</scm>
|
||||
<properties>
|
||||
<mavenVersion>3.9.11</mavenVersion>
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
<project.build.outputTimestamp>2026-10-15T22:53:04Z</project.build.outputTimestamp>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<sigstore.skip>true</sigstore.skip>
|
||||
</properties>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- Force upgrade of vulnerable transitive plexus-utils (GHSA-6fmv-xxpf-w3cw / CVE-2025-67030).
|
||||
maven-core pulls in 3.6.0 via maven-model; override to safe version 4.0.3. -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
<version>4.1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-api</artifactId>
|
||||
<version>${mavenVersion}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- plexus-utils 4.x extracted XML APIs into plexus-xml; needed for XmlPullParserException -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-xml</artifactId>
|
||||
<version>4.2.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
<version>3.16.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>6.1.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>${mavenVersion}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.14.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.resolver</groupId>
|
||||
<artifactId>maven-resolver-api</artifactId>
|
||||
<version>2.0.24</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-testing</groupId>
|
||||
<artifactId>maven-plugin-testing-harness</artifactId>
|
||||
<version>4.0.0-beta-4</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-compat</artifactId>
|
||||
<version>3.9.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>6.1.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- Explicit dependency to fix GHSA-rqfh-9r24-8c9r (XXE vulnerability in versions < 3.27.7) -->
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>3.27.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.26.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.soebes.itf.jupiter.extension</groupId>
|
||||
<artifactId>itf-jupiter-extension</artifactId>
|
||||
<version>0.13.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.soebes.itf.jupiter.extension</groupId>
|
||||
<artifactId>itf-assertj</artifactId>
|
||||
<version>0.13.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.instancio</groupId>
|
||||
<artifactId>instancio-junit</artifactId>
|
||||
<version>5.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>33.5.0-jre</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.shared</groupId>
|
||||
<artifactId>maven-dependency-tree</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.shared</groupId>
|
||||
<artifactId>maven-artifact-transfer</artifactId>
|
||||
<version>0.13.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>${mavenVersion}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>${mavenVersion}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.22.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.cyclonedx</groupId>
|
||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||
<version>2.9.3</version>
|
||||
<inherited>true</inherited>
|
||||
<configuration>
|
||||
<includeTestScope>true</includeTestScope>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>makeBom</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>dev.sigstore</groupId>
|
||||
<artifactId>sigstore-maven-plugin</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<configuration>
|
||||
<skip>${sigstore.skip}</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign</id>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-artifact-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.diffplug.spotless</groupId>
|
||||
<artifactId>spotless-maven-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>
|
||||
<includes>
|
||||
<include>.gitignore</include>
|
||||
</includes>
|
||||
<trimTrailingWhitespace/>
|
||||
<endWithNewline/>
|
||||
<indent>
|
||||
<tabs>false</tabs>
|
||||
<spaces>true</spaces>
|
||||
<spacesPerTab>4</spacesPerTab>
|
||||
</indent>
|
||||
</format>
|
||||
</formats>
|
||||
<java>
|
||||
<palantirJavaFormat/>
|
||||
</java>
|
||||
<pom>
|
||||
<includes>
|
||||
<include>pom.xml</include>
|
||||
</includes>
|
||||
<sortPom/>
|
||||
</pom>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmavenplus</groupId>
|
||||
<artifactId>gmavenplus-plugin</artifactId>
|
||||
<version>4.3.1</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.groovy</groupId>
|
||||
<artifactId>groovy</artifactId>
|
||||
<version>5.0.3</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>execute</goal>
|
||||
</goals>
|
||||
<phase>generate-resources</phase>
|
||||
<configuration>
|
||||
<scripts>
|
||||
<script>def
|
||||
file = new File(".github/workflows/Lockfile.yml")
|
||||
project.properties.action_content = file.getText()</script>
|
||||
</scripts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
<!-- kept plugin-level: the release workflows call `mvn resources:copy-resources` directly
|
||||
from the CLI to regenerate action.yml/.mvn/extensions.xml at a specific point in the
|
||||
release job, not as part of every normal build. -->
|
||||
<configuration>
|
||||
<outputDirectory>${project.basedir}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>./template/</directory>
|
||||
<includes>
|
||||
<include>action.yml</include>
|
||||
</includes>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>./template/</directory>
|
||||
<includes>
|
||||
<include>extensions.xml</include>
|
||||
</includes>
|
||||
<targetPath>.mvn</targetPath>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
<executions>
|
||||
<!-- Disabled: otherwise these run on every normal build too, not just the release
|
||||
workflow's explicit `resources:copy-resources` call. -->
|
||||
<execution>
|
||||
<id>default-resources</id>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testResources</id>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
<!-- copy-resources (unlike the resources goal) accepts an outputDirectory/resources
|
||||
override, so src/main/resources still reaches target/classes -->
|
||||
<execution>
|
||||
<id>copy-main-resources</id>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<resources combine.self="override">
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.16.0</version>
|
||||
<configuration/>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.6.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-plugin-versions</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requirePluginVersions>
|
||||
<message>Best Practice is to always define plugin versions!</message>
|
||||
<banLatest>true</banLatest>
|
||||
<banRelease>true</banRelease>
|
||||
<banSnapshots>true</banSnapshots>
|
||||
<phases>clean,deploy,site</phases>
|
||||
<additionalPlugins>
|
||||
<additionalPlugin>org.apache.maven.plugins:maven-reactor-plugin</additionalPlugin>
|
||||
</additionalPlugins>
|
||||
<unCheckedPluginList>org.apache.maven.plugins:maven-enforcer-plugin,org.apache.maven.plugins:maven-idea-plugin,org.apache.maven.plugins:maven-reactor-plugin</unCheckedPluginList>
|
||||
</requirePluginVersions>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.22.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.5.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>test-jar</id>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-plugin-plugin</artifactId>
|
||||
<version>3.16.0</version>
|
||||
<configuration>
|
||||
<!-- see https://issues.apache.org/jira/browse/MNG-5346 -->
|
||||
<goalPrefix>configurator</goalPrefix>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>mojo-descriptor</id>
|
||||
<goals>
|
||||
<goal>descriptor</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.soebes.itf.jupiter.extension</groupId>
|
||||
<artifactId>itf-maven-plugin</artifactId>
|
||||
<version>0.13.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>installing</id>
|
||||
<goals>
|
||||
<goal>install</goal>
|
||||
<goal>resources-its</goal>
|
||||
</goals>
|
||||
<phase>pre-integration-test</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
<configuration>
|
||||
<!--
|
||||
! currently needed to run integration tests.
|
||||
-->
|
||||
<systemPropertyVariables>
|
||||
<maven.version>${maven.version}</maven.version>
|
||||
<maven.home>${maven.home}</maven.home>
|
||||
</systemPropertyVariables>
|
||||
<properties>
|
||||
<configurationParameters>junit.jupiter.execution.parallel.enabled=true
|
||||
junit.jupiter.execution.parallel.mode.default=concurrent
|
||||
junit.jupiter.execution.parallel.mode.classes.default=same_thread
|
||||
junit.jupiter.execution.parallel.config.strategy=fixed
|
||||
junit.jupiter.execution.parallel.config.fixed.parallelism=6</configurationParameters>
|
||||
</properties>
|
||||
<rerunFailingTestsCount>2</rerunFailingTestsCount>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>publication</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.12.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<attach>true</attach>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<attach>true</attach>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"artifactId": "module-a",
|
||||
"groupId": "com.mycompany.app",
|
||||
"version": "1.0.0-SNAPSHOT",
|
||||
"pom": {
|
||||
"groupId": "com.mycompany.app",
|
||||
"artifactId": "module-a",
|
||||
"version": "1.0.0-SNAPSHOT",
|
||||
"relativePath": "pom.xml",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "",
|
||||
"parent": {
|
||||
"groupId": "com.mycompany.app",
|
||||
"artifactId": "reactor-snapshot-sibling-parent",
|
||||
"version": "1.0.0-SNAPSHOT",
|
||||
"relativePath": "../pom.xml",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": ""
|
||||
}
|
||||
},
|
||||
"lockFileVersion": 1,
|
||||
"dependencies": [
|
||||
{
|
||||
"groupId": "com.mycompany.app",
|
||||
"artifactId": "module-b",
|
||||
"version": "1.0.0-SNAPSHOT",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": "",
|
||||
"scope": "compile",
|
||||
"resolved": "",
|
||||
"repositoryId": "",
|
||||
"parentPom": {
|
||||
"groupId": "com.mycompany.app",
|
||||
"artifactId": "reactor-snapshot-sibling-parent",
|
||||
"version": "1.0.0-SNAPSHOT",
|
||||
"relativePath": "pom.xml",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"checksum": ""
|
||||
},
|
||||
"selectedVersion": "1.0.0-SNAPSHOT",
|
||||
"included": true,
|
||||
"id": "com.mycompany.app:module-b:1.0.0-SNAPSHOT",
|
||||
"children": [],
|
||||
"boms": []
|
||||
}
|
||||
],
|
||||
"mavenPlugins": [],
|
||||
"mavenExtensions": [],
|
||||
"metaData": {
|
||||
"config": {
|
||||
"includeMavenPlugins": false,
|
||||
"allowValidationFailure": false,
|
||||
"allowPomValidationFailure": false,
|
||||
"allowMavenPluginValidationFailure": false,
|
||||
"allowEnvironmentalValidationFailure": false,
|
||||
"includeEnvironment": false,
|
||||
"reduced": false,
|
||||
"mavenLockfileVersion": "5.17.1-SNAPSHOT",
|
||||
"checksumMode": "local",
|
||||
"checksumAlgorithm": "SHA-256",
|
||||
"includeBoms": true,
|
||||
"allowBomValidationFailure": false,
|
||||
"includeParentPom": true,
|
||||
"allowParentPomValidationFailure": false,
|
||||
"includeMavenExtensions": true,
|
||||
"allowMavenExtensionsValidationFailure": false
|
||||
}
|
||||
},
|
||||
"boms": []
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.mycompany.app</groupId>
|
||||
<artifactId>reactor-snapshot-sibling-parent</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>module-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.mycompany.app</groupId>
|
||||
<artifactId>module-b</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.chains-project</groupId>
|
||||
<artifactId>maven-lockfile</artifactId>
|
||||
<version>@project.version@</version>
|
||||
<executions>
|
||||
<execution><goals><goal>validate</goal></goals></execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<checksumMode>local</checksumMode>
|
||||
<includeMavenPlugins>false</includeMavenPlugins>
|
||||
<includeEnvironment>false</includeEnvironment>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@@ -0,0 +1,12 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.mycompany.app</groupId>
|
||||
<artifactId>reactor-snapshot-sibling-parent</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>module-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
</project>
|
||||
@@ -0,0 +1,16 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.mycompany.app</groupId>
|
||||
<artifactId>reactor-snapshot-sibling-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<properties>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<modules>
|
||||
<module>module-b</module>
|
||||
<module>module-a</module>
|
||||
</modules>
|
||||
</project>
|
||||
Reference in new issue
Block a user