[java-identity-provider] branch maint-4.1 updated: IDP-1909 Enforcer plugin prevents maven-deploy plugin from uploading artifacts
Rod Widdowson
rdw at steadingsoftware.com
Fri Feb 25 16:27:37 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch maint-4.1
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=7d3ae0514a34212ed8ba425a8dbb7f22241e96d8
The following commit(s) were added to refs/heads/maint-4.1 by this push:
new 7d3ae0514 IDP-1909 Enforcer plugin prevents maven-deploy plugin from uploading artifacts
7d3ae0514 is described below
commit 7d3ae0514a34212ed8ba425a8dbb7f22241e96d8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Feb 25 16:25:20 2022 +0000
IDP-1909 Enforcer plugin prevents maven-deploy plugin from uploading artifacts
https://shibboleth.atlassian.net/browse/IDP-1909
If you have <pluginRepositories> descriptions in a project
it will get a different class path and a different deploy MOJO
This means that deployAtEnd stops working.
Fix this by moving that configuration into the parent pom.
---
idp-distribution/pom.xml | 16 ----------------
idp-parent/pom.xml | 16 +++++++++++++++-
2 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/idp-distribution/pom.xml b/idp-distribution/pom.xml
index 0eebb3e11..c1b31eed7 100644
--- a/idp-distribution/pom.xml
+++ b/idp-distribution/pom.xml
@@ -289,20 +289,4 @@
</plugins>
</build>
- <!-- Add the snap shot repository which allows us to specify the SNAPSHOT jar enforcer above -->
- <pluginRepositories>
- <pluginRepository>
- <id>shib-snapshot</id>
- <url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>fail</checksumPolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-
</project>
diff --git a/idp-parent/pom.xml b/idp-parent/pom.xml
index c2b0f71e2..51357477c 100644
--- a/idp-parent/pom.xml
+++ b/idp-parent/pom.xml
@@ -462,7 +462,21 @@
</plugin>
</plugins>
-
</build>
+ <!-- Add the snap shot repository which allows us to specify the SNAPSHOT jar enforcer above -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>shib-snapshot</id>
+ <url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>fail</checksumPolicy>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
</project>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list