[java-parent-project] 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:24:53 UTC 2022


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

rdw pushed a commit to branch main
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=1a320d461ad0c00938d822d9cf8cd24f0304795a

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

commit 1a320d461ad0c00938d822d9cf8cd24f0304795a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Oct 9 14:08:55 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
    
    Add parameterization to allow the m2 check to be deployed in projects which
    do not create a target.
    
    Rev to latest (SNAPSHOT) of the enforcer
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 67ff62a..da8ad51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,8 +73,9 @@
         <xmlsec.version>2.3.0</xmlsec.version>
         <xmlunit.version>2.9.0</xmlunit.version>
 
-        <maven-dist-enforcer.version>3.1.1</maven-dist-enforcer.version>
+        <maven-dist-enforcer.version>3.2.0-SNAPSHOT</maven-dist-enforcer.version>
         <maven-dist-enforcer-data.version>1.0.12-SNAPSHOT</maven-dist-enforcer-data.version>
+        <maven-dist-enforcer-data.m2ReportPath>${basedir}/target/m2SignatureReport.txt</maven-dist-enforcer-data.m2ReportPath>
 
         <checkstyle.version>8.41</checkstyle.version>
         <checkstyle-plugin.version>3.1.2</checkstyle-plugin.version>
@@ -1234,6 +1235,7 @@
                                             <compileRuntimeArtifactFatal>false</compileRuntimeArtifactFatal>
                                             <listJarSources>false</listJarSources>
                                             <checkM2>true</checkM2>
+                                            <m2ReportPath>${maven-dist-enforcer-data.m2ReportPath}</m2ReportPath>
                                         </jarEnforcer>
                                     </rules>
                                 </configuration>

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


More information about the commits mailing list