[java-shib-shared] branch main updated: JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build

Rod Widdowson rdw at steadingsoftware.com
Sun Oct 9 13:29:10 UTC 2022


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=b4e0ed0cb0db63605d1a75e40dc44e8fddb1b12a

The following commit(s) were added to refs/heads/main by this push:
     new b4e0ed0c JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build
b4e0ed0c is described below

commit b4e0ed0cb0db63605d1a75e40dc44e8fddb1b12a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Oct 9 14:27:02 2022 +0100

    JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build
    
    https://shibboleth.atlassian.net/browse/JPAR-190
    
    shib-shared-bom does not create a target directory and there is no point in pinning
    one in git because maven will clean it away.
    
    Instead arrange for the m2 signature report to be written into the shibd-shared-bom
    directory.
---
 .gitignore                      | 1 +
 shib-shared-bom/pom.xml         | 5 +++++
 shib-shared-bom/target/.gitkeep | 0
 3 files changed, 6 insertions(+)

diff --git a/.gitignore b/.gitignore
index 11cb1067..aa73350e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 .project
 .classpath
 .settings
+shib-shared-bom/m2SignatureReport.txt
diff --git a/shib-shared-bom/pom.xml b/shib-shared-bom/pom.xml
index 12913117..5f451a45 100644
--- a/shib-shared-bom/pom.xml
+++ b/shib-shared-bom/pom.xml
@@ -14,6 +14,11 @@
     <description>Bill of Materials</description>
     <artifactId>shib-shared-bom</artifactId>
     <packaging>pom</packaging>
+
+    <properties>
+      <!-- This project does not create a target, so the M2 check needs to go elsewhere -->
+      <maven-dist-enforcer-data.m2ReportPath>${basedir}\m2SignatureReport.txt</maven-dist-enforcer-data.m2ReportPath>
+    </properties>
     
     <dependencyManagement>
         <dependencies>
diff --git a/shib-shared-bom/target/.gitkeep b/shib-shared-bom/target/.gitkeep
deleted file mode 100644
index e69de29b..00000000

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list