[java-idp-plugin-totp] branch main updated: Move enforcer up to V3

Rod Widdowson rdw at steadingsoftware.com
Tue Dec 14 20:18:20 UTC 2021


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

rdw pushed a commit to branch main
in repository java-idp-plugin-totp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-totp.git;a=commit;h=2b4b78d54965add490ff3fc504e06f142429d25f

The following commit(s) were added to refs/heads/main by this push:
     new 2b4b78d  Move enforcer up to V3
2b4b78d is described below

commit 2b4b78d54965add490ff3fc504e06f142429d25f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Dec 11 16:05:46 2021 +0000

    Move enforcer up to V3
    
    1) Remove keyrings
    2) Add shibbolethKeys.gpg
    3) Add dependency checking
    4) Add optional M2 Checking
---
 totp-dist/pom.xml                                       |  14 ++++++++++----
 .../src/main/enforcer/keyRings/com.warrenstrange.gpg    | Bin 1247 -> 0 bytes
 totp-dist/src/main/enforcer/shibbolethKeys.gpg          | Bin 0 -> 55209 bytes
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/totp-dist/pom.xml b/totp-dist/pom.xml
index 45b8c92..f7a9799 100644
--- a/totp-dist/pom.xml
+++ b/totp-dist/pom.xml
@@ -19,6 +19,7 @@
         <checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
         <dist.finalName>shibboleth-idp-plugin-totp-${project.version}</dist.finalName>
         <dist.assemblyDirectory>${project.build.directory}/${dist.finalName}</dist.assemblyDirectory>
+        <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
     </properties>
 
     <build>
@@ -74,7 +75,7 @@
                     <dependency>
                         <groupId>net.shibboleth.maven.enforcer.rules</groupId>
                         <artifactId>maven-dist-enforcer</artifactId>
-                        <version>2.0.0</version>
+                        <version>3.0.0</version>
                     </dependency>
                 </dependencies>
                 <executions>
@@ -87,12 +88,17 @@
                         <configuration>
                             <rules>
                                 <jarEnforcer implementation="net.shibboleth.mvn.enforcer.impl.JarEnforcer">
-                                    <enforcerData>${basedir}/src/main/enforcer</enforcerData>
+                                    <dataGroupId>net.shibboleth.maven.enforcer.rules</dataGroupId>
+                                    <dataArtifactId>maven-dist-enforcer-data</dataArtifactId>
+                                    <dataVersion>1.0.0-SNAPSHOT</dataVersion>
+                                    <dataKeyRing>${basedir}/src/main/enforcer/shibbolethKeys.gpg</dataKeyRing>
                                     <parentPomDir>${basedir}/..</parentPomDir>
-                                    <jarDirs>${basedir}/../totp-impl/target/dependency</jarDirs>
+                                    <zipFiles>${project.build.directory}/${dist.finalName}.zip</zipFiles>
+                                    <tgzFiles>${project.build.directory}/${dist.finalName}.tar.gz</tgzFiles>
                                     <checkSignatures>true</checkSignatures>
-                                    <checkDependencies>false</checkDependencies>
+                                    <checkDependencies>true</checkDependencies>
                                     <listJarSources>false</listJarSources>
+                                    <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
                                 </jarEnforcer>
                             </rules>
                         </configuration>
diff --git a/totp-dist/src/main/enforcer/keyRings/com.warrenstrange.gpg b/totp-dist/src/main/enforcer/keyRings/com.warrenstrange.gpg
deleted file mode 100644
index 0739412..0000000
Binary files a/totp-dist/src/main/enforcer/keyRings/com.warrenstrange.gpg and /dev/null differ
diff --git a/totp-dist/src/main/enforcer/shibbolethKeys.gpg b/totp-dist/src/main/enforcer/shibbolethKeys.gpg
new file mode 100644
index 0000000..6669d1e
Binary files /dev/null and b/totp-dist/src/main/enforcer/shibbolethKeys.gpg differ

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


More information about the commits mailing list