[xmlsectool] branch main updated: JPAR-182 - Check distribution for consistency

Ian Young ian at iay.org.uk
Fri Dec 17 17:04:14 UTC 2021


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

iay pushed a commit to branch main
in repository xmlsectool.

View the commit online:
http://git.shibboleth.net/view/?p=xmlsectool.git;a=commit;h=fdb61dd559bfd4d283f5f86bfe377b8229d49b60

The following commit(s) were added to refs/heads/main by this push:
     new fdb61dd  JPAR-182 - Check distribution for consistency
fdb61dd is described below

commit fdb61dd559bfd4d283f5f86bfe377b8229d49b60
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Dec 17 17:04:10 2021 +0000

    JPAR-182 - Check distribution for consistency
    
    https://shibboleth.atlassian.net/browse/JPAR-182
---
 pom.xml                              |  41 ++++++++++++++++++++++++++++++++++-
 src/main/enforcer/shibbolethKeys.gpg | Bin 0 -> 55209 bytes
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index cb9dd59..381d536 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
         <opensaml.groupId>org.opensaml</opensaml.groupId>
         <opensaml.version>4.1.0</opensaml.version>
         <java-support.version>8.2.1</java-support.version>
+        <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
     </properties>
 
     <repositories>
@@ -147,7 +148,7 @@
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
             <scope>test</scope>
-        </dependency>        
+        </dependency>
         <dependency>
             <groupId>${opensaml.groupId}</groupId>
             <artifactId>opensaml-security-api</artifactId>
@@ -180,6 +181,44 @@
                     </descriptors>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <dependencies>
+                    <dependency>
+                        <groupId>net.shibboleth.maven.enforcer.rules</groupId>
+                        <artifactId>maven-dist-enforcer</artifactId>
+                        <version>3.0.0</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>enforce</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <jarEnforcer implementation="net.shibboleth.mvn.enforcer.impl.JarEnforcer">
+                                    <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>
+                                    <zipFiles>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip</zipFiles>
+                                    <checkSignatures>true</checkSignatures>
+                                    <checkDependencies>true</checkDependencies>
+                                    <listJarSources>false</listJarSources>
+                                    <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
+                                </jarEnforcer>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
         </plugins>
     </build>
 
diff --git a/src/main/enforcer/shibbolethKeys.gpg b/src/main/enforcer/shibbolethKeys.gpg
new file mode 100644
index 0000000..6669d1e
Binary files /dev/null and b/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