[java-parent-project] branch main updated: GEN-311 Stop populating/maintaining the third party repo.
Rod Widdowson
rdw at steadingsoftware.com
Fri Mar 4 15:44:44 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-parent-project.
View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=8914e9b5e34ebc7040cf04c1f01eb2df15757e90
The following commit(s) were added to refs/heads/main by this push:
new 8914e9b GEN-311 Stop populating/maintaining the third party repo.
8914e9b is described below
commit 8914e9b5e34ebc7040cf04c1f01eb2df15757e90
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Mar 4 11:33:50 2022 +0000
GEN-311 Stop populating/maintaining the third party repo.
https://shibboleth.atlassian.net/browse/GEN-311
Remove the "central-disabled" profile.
---
pom.xml | 43 +++++--------------------------------------
1 file changed, 5 insertions(+), 38 deletions(-)
diff --git a/pom.xml b/pom.xml
index 670e140..a7a9983 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,9 +22,11 @@
When updating the version of a dependency you *MUST*:
- 1) Run a build of the project you are working on with the
- 'central-disabled' profile to ensure that all the artifacts are in
- the third part repository.
+ 1) Run a build of the project you are working on against a separate
+ repository and with "m2 checking" enabled:
+
+ mvn -Dnet.shibboleth.maven.enforcer.rules.checkM2=true \
+ -Dmaven.repo.local=$(REPO)
The jenkins 'nightly' builds run this profile.
@@ -1170,41 +1172,6 @@
</build>
</profile>
- <!--
- The "central-disabled" profile prevents the use of the
- Maven Central repository. This must be used used on all builds
- used to generate published artifacts, including Jenkins nightly
- jobs, so that products are built on our trusted collection of
- artifacts.
- -->
- <profile>
- <id>central-disabled</id>
- <repositories>
- <repository>
- <id>central</id>
- <url>${maven.central.url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>central</id>
- <url>${maven.central.url}</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </pluginRepository>
- </pluginRepositories>
- </profile>
-
<!--
The "lint" profile adds more warnings to compilation. In particular,
it enables checking for unsafe or unchecked operations.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list