[java-support] branch main updated: JPAR-190 Add (optional) M2 check to java-parent project
Rod Widdowson
rdw at steadingsoftware.com
Sat Jan 15 16:06:25 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=aa50eca15ad2e60e6a2fa78194455d9b7e4311c7
The following commit(s) were added to refs/heads/main by this push:
new aa50eca JPAR-190 Add (optional) M2 check to java-parent project
aa50eca is described below
commit aa50eca15ad2e60e6a2fa78194455d9b7e4311c7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jan 15 16:05:25 2022 +0000
JPAR-190 Add (optional) M2 check to java-parent project
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 258f509..a1b7fba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,7 @@
<properties>
<automatic.module.name>net.shibboleth.utilities.java.support</automatic.module.name>
+ <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
<!-- TODO: Remove when parent POM updated. -->
<shibboleth.site.deploy.url>//shibboleth.net/home/javasites/staging/</shibboleth.site.deploy.url>
</properties>
@@ -201,6 +202,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