[java-idp-plugin-oidc-rp] branch main updated: Enable enforcer

Phil Smart philip.smart at jisc.ac.uk
Thu May 4 15:04:09 UTC 2023


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

philsmart pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=8a52eabb90004d14c2a128b205306dbd6a2b0fa2

The following commit(s) were added to refs/heads/main by this push:
     new 8a52eab  Enable enforcer
8a52eab is described below

commit 8a52eabb90004d14c2a128b205306dbd6a2b0fa2
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu May 4 16:04:06 2023 +0100

    Enable enforcer
---
 idp-oidc-rp-dist/pom.xml                           |  37 +++++++++++++++++++++
 .../src/main/enforcer/shibbolethKeys.gpg           | Bin 0 -> 55669 bytes
 2 files changed, 37 insertions(+)

diff --git a/idp-oidc-rp-dist/pom.xml b/idp-oidc-rp-dist/pom.xml
index 5341835..9439037 100644
--- a/idp-oidc-rp-dist/pom.xml
+++ b/idp-oidc-rp-dist/pom.xml
@@ -43,6 +43,43 @@
                     </execution>
                 </executions>
             </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>${maven-dist-enforcer.version}</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>duo-nimbus-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>${maven-dist-enforcer-data.version}</dataVersion>
+                                    <dataKeyRing>${basedir}/src/main/enforcer/shibbolethKeys.gpg</dataKeyRing>
+                                    <parentPomDir>${basedir}/..</parentPomDir>
+                                    <zipFiles>${project.build.directory}/${dist.plugin.finalName}.zip</zipFiles>
+                                    <tgzFiles>${project.build.directory}/${dist.plugin.finalName}.tar.gz</tgzFiles>
+                                    <checkSignatures>true</checkSignatures>
+                                    <checkDependencies>true</checkDependencies>
+                                    <listJarSources>true</listJarSources>
+                                    <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
+                                </jarEnforcer>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
 
     </build>
diff --git a/idp-oidc-rp-dist/src/main/enforcer/shibbolethKeys.gpg b/idp-oidc-rp-dist/src/main/enforcer/shibbolethKeys.gpg
new file mode 100644
index 0000000..6d8fc48
Binary files /dev/null and b/idp-oidc-rp-dist/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