From 98ecc7a316ced423572607418b674594b8fc1f2f Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Thu, 31 Aug 2023 08:25:08 +0200 Subject: [PATCH] chore: we now use Central for snapshots --- doc/jenkins/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/jenkins/build.sh b/doc/jenkins/build.sh index 4a6b25ed296..946f57e3dfb 100755 --- a/doc/jenkins/build.sh +++ b/doc/jenkins/build.sh @@ -148,7 +148,7 @@ xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project" --type el xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories" --type elem -n pluginRepository -v "" pom.bak.xml > pom.bak1.xml xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories/x:pluginRepository[last()]" --type elem -n id -v "ow2.org-snapshot" pom.bak1.xml > pom.bak2.xml xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories/x:pluginRepository[last()]" --type elem -n name -v "Maven repository for Spoon Snapshot" pom.bak2.xml > pom.bak3.xml -xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories/x:pluginRepository[last()]" --type elem -n url -v "https://repository.ow2.org/nexus/content/repositories/snapshots/" pom.bak3.xml > pom.bak4.xml +xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories/x:pluginRepository[last()]" --type elem -n url -v "https://oss.sonatype.org/content/repositories/snapshots/" pom.bak3.xml > pom.bak4.xml xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:pluginRepositories/x:pluginRepository[last()]" --type elem -n snapshots -v "" pom.bak4.xml > pom.bak5.xml mv pom.bak5.xml pom.xml rm pom.bak*.xml