This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/isis.git
commit 1c888cdfe3b2ce8a5e239aa0dce41456c5f81490 Author: Dan Haywood <[email protected]> AuthorDate: Sun Sep 25 12:37:29 2022 +0100 ISIS-2965: updates supplemental-models.xml per missing license info --- .../comguide/modules/ROOT/pages/cutting-a-release.adoc | 15 ++++++++------- .../src/main/resources/supplemental-models.xml | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc index dac8bd8279..d001908ff5 100644 --- a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc +++ b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc @@ -106,8 +106,8 @@ This is stored in the `src/main/appended-resources/supplemental-models.xml` file [source,bash,subs="attributes+"] ---- pushd bom -mvn -Dgithub clean install -DskipTests # <.> -mvn -Dgithub license:download-licenses # <.> +mvn -Dgithub clean install -T1C -DskipTests # <.> +mvn -Dgithub license:download-licenses # <.> popd groovy scripts/checkmissinglicenses.groovy ---- @@ -116,12 +116,13 @@ groovy scripts/checkmissinglicenses.groovy It's necessary to have built the framework locally at least once (ok to skip tests). + The `-Dgithub` activates the "github" profile which references the exact same ``<module>``s as the official "apache-release" profile. -<.> Captures the missing license information -<.> Reports on the missing license information using: - - +<.> Captures the missing license information. ++ The Maven plugin creates a `license.xml` file in the `target/generated-resources` directory of each module. -The script then searches for these `licenses.xml` files, and compares them against the contents of the `supplemental-models.xml` file. + +<.> Reports on the missing license information ++ +The script searches for these `licenses.xml` files, and compares them against the contents of the `supplemental-models.xml` file. For example, the output could be something like: diff --git a/supplemental-model/src/main/resources/supplemental-models.xml b/supplemental-model/src/main/resources/supplemental-models.xml index 23844cee66..f0b7b08cf3 100644 --- a/supplemental-model/src/main/resources/supplemental-models.xml +++ b/supplemental-model/src/main/resources/supplemental-models.xml @@ -121,7 +121,7 @@ <project> <groupId>org.webjars.npm</groupId> <artifactId>pdfjs-dist</artifactId> - <version>2.14.305</version> + <version>2.16.105</version> <name>PDF.js</name> <licenses> <license>
