[java-identity-provider] branch main updated: JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build
Rod Widdowson
rdw at steadingsoftware.com
Mon Nov 15 14:39:23 UTC 2021
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=62c97de901c530fbfe8790d895e8c32df67e0867
The following commit(s) were added to refs/heads/main by this push:
new 62c97de90 JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build
62c97de90 is described below
commit 62c97de901c530fbfe8790d895e8c32df67e0867
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Nov 15 13:54:44 2021 +0000
JPAR-190 Investigate an enforcer to check all jars and poms ~/.m2/.... towards the end of a build
https://shibboleth.atlassian.net/browse/JPAR-190
Add a profile (checkM2Repo) to turn this on.
---
idp-distribution/pom.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/idp-distribution/pom.xml b/idp-distribution/pom.xml
index 27cbbad66..826981b90 100644
--- a/idp-distribution/pom.xml
+++ b/idp-distribution/pom.xml
@@ -19,8 +19,18 @@
<properties>
<idp.finalName>shibboleth-identity-provider-${project.version}</idp.finalName>
<idp.assemblyDirectory>${project.build.directory}/${idp.finalName}</idp.assemblyDirectory>
+ <checkM2>false</checkM2>
</properties>
+ <profiles>
+ <profile>
+ <id>checkMavenRepo</id>
+ <properties>
+ <checkM2>true</checkM2>
+ </properties>
+ </profile>
+ </profiles>
+
<dependencies>
<!-- Compile Dependencies -->
@@ -272,6 +282,7 @@
<checkSignatures>true</checkSignatures>
<checkDependencies>true</checkDependencies>
<listJarSources>false</listJarSources>
+ <checkM2>${checkM2}</checkM2>
<artifactMap>${basedir}/src/main/enforcer/artifactMap.properties</artifactMap>
</jarEnforcer>
</rules>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list