[java-opensaml] branch main updated: Add M2 checking to bom build

Rod Widdowson rdw at steadingsoftware.com
Fri Jan 28 14:31:02 UTC 2022


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=3198460ce1181788e916113608ad09d9743041ff

The following commit(s) were added to refs/heads/main by this push:
     new 3198460ce Add M2 checking to bom build
3198460ce is described below

commit 3198460ce1181788e916113608ad09d9743041ff
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jan 26 10:37:18 2022 +0000

    Add M2 checking to bom build
---
 opensaml-bom/pom.xml                               |  48 +++++++++++++++++++++
 opensaml-bom/src/main/enforcer/shibbolethKeys.gpg  | Bin 0 -> 55209 bytes
 .../src/main/enforcer/shibbolethKeys.gpg           | Bin 0 -> 55209 bytes
 3 files changed, 48 insertions(+)

diff --git a/opensaml-bom/pom.xml b/opensaml-bom/pom.xml
index 3bb4e405b..f4b3223c9 100644
--- a/opensaml-bom/pom.xml
+++ b/opensaml-bom/pom.xml
@@ -11,6 +11,10 @@
         <relativePath>../opensaml-parent</relativePath>
     </parent>
 
+    <properties>
+        <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
+    </properties>
+
     <name>OpenSAML :: BOM</name>
     <description>Bill of Materials</description>
     <artifactId>opensaml-bom</artifactId>
@@ -129,4 +133,48 @@
         </site>
     </distributionManagement>
 
+    <build>
+        <plugins>
+            <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.1.1-SNAPSHOT</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>idp-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.1-SNAPSHOT</dataVersion>
+                                    <dataKeyRing>${basedir}/src/main/enforcer/shibbolethKeys.gpg</dataKeyRing>
+                                    <parentPomDir>.</parentPomDir>
+                                    <zipFiles/>
+                                    <tgzFiles/>
+                                    <checkSignatures>false</checkSignatures>
+                                    <checkDependencies>false</checkDependencies>
+                                    <compileRuntimeArtifactFatal>false</compileRuntimeArtifactFatal>
+                                    <listJarSources>false</listJarSources>
+                                    <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
+                                </jarEnforcer>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+
 </project>
diff --git a/opensaml-bom/src/main/enforcer/shibbolethKeys.gpg b/opensaml-bom/src/main/enforcer/shibbolethKeys.gpg
new file mode 100644
index 000000000..6669d1ef5
Binary files /dev/null and b/opensaml-bom/src/main/enforcer/shibbolethKeys.gpg differ
diff --git a/opensaml-parent/src/main/enforcer/shibbolethKeys.gpg b/opensaml-parent/src/main/enforcer/shibbolethKeys.gpg
new file mode 100644
index 000000000..6669d1ef5
Binary files /dev/null and b/opensaml-parent/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