[java-idp-plugin-archetype] branch main updated: Add Enforcer to dist project
Phil Smart
philip.smart at jisc.ac.uk
Tue Oct 17 16:25:52 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-archetype.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-archetype.git;a=commit;h=f9e61211bb9621a2a1d915b62544122f4cd3a3fb
The following commit(s) were added to refs/heads/main by this push:
new f9e6121 Add Enforcer to dist project
f9e6121 is described below
commit f9e61211bb9621a2a1d915b62544122f4cd3a3fb
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Oct 17 17:25:45 2023 +0100
Add Enforcer to dist project
---
.../archetype-resources/plugin-dist/pom.xml | 36 ++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/src/main/resources/archetype-resources/plugin-dist/pom.xml b/src/main/resources/archetype-resources/plugin-dist/pom.xml
index b4da02b..b8ce174 100644
--- a/src/main/resources/archetype-resources/plugin-dist/pom.xml
+++ b/src/main/resources/archetype-resources/plugin-dist/pom.xml
@@ -44,6 +44,42 @@
</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>oidc-rp-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>
+ <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>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list