[spring-extensions] branch main updated: JPAR-190 Add (optional) M2 check to spring-support
Rod Widdowson
rdw at steadingsoftware.com
Sun Jan 16 14:57:16 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=3d4773984aeca3b56d47df04446747ce971bd801
The following commit(s) were added to refs/heads/main by this push:
new 3d47739 JPAR-190 Add (optional) M2 check to spring-support
3d47739 is described below
commit 3d4773984aeca3b56d47df04446747ce971bd801
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jan 16 14:34:10 2022 +0000
JPAR-190 Add (optional) M2 check to spring-support
https://shibboleth.atlassian.net/browse/JPAR-190
---
pom.xml | 39 +++++++++++++++++++++++++++++++++++
src/main/enforcer/shibbolethKeys.gpg | Bin 0 -> 55209 bytes
2 files changed, 39 insertions(+)
diff --git a/pom.xml b/pom.xml
index 2fe2dfc..57d822b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,6 +27,7 @@
<properties>
<automatic.module.name>net.shibboleth.ext.spring</automatic.module.name>
<java-support.version>8.2.1</java-support.version>
+ <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
<!-- TODO: Remove when parent POM updated. -->
<spring.version>5.3.9</spring.version>
<shibboleth.site.deploy.url>//shibboleth.net/home/javasites/staging/</shibboleth.site.deploy.url>
@@ -207,6 +208,44 @@
</archive>
</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.1.0-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.0-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>
<!-- TODO: Remove when parent POM updated. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
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