[java-identity-provider] 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
Wed Nov 17 10:16:26 UTC 2021


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=cde3cb4083ac6f72a6898480ec0aebd5dd276498

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

commit cde3cb4083ac6f72a6898480ec0aebd5dd276498
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Nov 17 10:15:05 2021 +0000

    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 a couple of missed keys.
    Clean up the way of turning it on - use a (better distinguished)
    property rather than a profile
---
 idp-distribution/pom.xml                                 |  13 ++-----------
 .../keyRings/net.shibboleth.maven.enforcer.rules.gpg     | Bin 0 -> 3988 bytes
 .../enforcer/keyRings/net.shibboleth.maven.plugins.gpg   | Bin 0 -> 3988 bytes
 3 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/idp-distribution/pom.xml b/idp-distribution/pom.xml
index 826981b90..07512a4f8 100644
--- a/idp-distribution/pom.xml
+++ b/idp-distribution/pom.xml
@@ -19,18 +19,9 @@
     <properties>
         <idp.finalName>shibboleth-identity-provider-${project.version}</idp.finalName>
         <idp.assemblyDirectory>${project.build.directory}/${idp.finalName}</idp.assemblyDirectory>
-        <checkM2>false</checkM2>
+        <net.shibboleth.idp.checkM2>false</net.shibboleth.idp.checkM2>
     </properties>
 
-    <profiles>
-        <profile>
-            <id>checkMavenRepo</id>
-            <properties>
-                <checkM2>true</checkM2>
-            </properties>
-        </profile>
-    </profiles>
-
     <dependencies>
         <!-- Compile Dependencies -->
 
@@ -282,7 +273,7 @@
                                     <checkSignatures>true</checkSignatures>
                                     <checkDependencies>true</checkDependencies>
                                     <listJarSources>false</listJarSources>
-                                    <checkM2>${checkM2}</checkM2>
+                                    <checkM2>${net.shibboleth.idp.checkM2}</checkM2>
                                     <artifactMap>${basedir}/src/main/enforcer/artifactMap.properties</artifactMap>
                                 </jarEnforcer>
                             </rules>
diff --git a/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.enforcer.rules.gpg b/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.enforcer.rules.gpg
index e69de29bb..9ac00c2ee 100644
Binary files a/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.enforcer.rules.gpg and b/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.enforcer.rules.gpg differ
diff --git a/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.plugins.gpg b/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.plugins.gpg
new file mode 100644
index 000000000..9ac00c2ee
Binary files /dev/null and b/idp-distribution/src/main/enforcer/keyRings/net.shibboleth.maven.plugins.gpg differ

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


More information about the commits mailing list