[java-idp-testbed] branch main updated: Add an optional enforcer run over ~/.m2
Rod Widdowson
rdw at steadingsoftware.com
Fri Jan 28 14:28:55 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-idp-testbed.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=c04ad219968a9f3e29da6b78370b3591fe2461b8
The following commit(s) were added to refs/heads/main by this push:
new c04ad21 Add an optional enforcer run over ~/.m2
c04ad21 is described below
commit c04ad219968a9f3e29da6b78370b3591fe2461b8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Jan 28 14:28:17 2022 +0000
Add an optional enforcer run over ~/.m2
---
pom.xml | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/pom.xml b/pom.xml
index a318c81..1008375 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,6 +23,7 @@
<spring-extensions.version>6.2.0-SNAPSHOT</spring-extensions.version>
<cas-client.version>3.5.1</cas-client.version>
<oidc-commons.version>1.2.0-SNAPSHOT</oidc-commons.version>
+ <net.shibboleth.maven.enforcer.rules.checkM2>false</net.shibboleth.maven.enforcer.rules.checkM2>
</properties>
<repositories>
@@ -372,6 +373,44 @@
<attachClasses>true</attachClasses>
</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.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>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list