From 29124a83628e22f129e5dc5dea172a84af98d148 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Fri, 11 Sep 2026 11:15:40 +0200 Subject: [PATCH] [25] Adopt JustJ's publisher application for promotion Bug: https://github.com/eclipse-emfservices/emf-validation/issues/25 Signed-off-by: Pierre-Charles David --- README.md | 6 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../feature.xml | 2 +- .../org.eclipse.emf.validation.releng/pom.xml | 14 ++- .../promotion/.gitignore | 1 + .../promotion/pom.xml | 113 ++++++++++++++++++ 11 files changed, 137 insertions(+), 11 deletions(-) create mode 100644 releng/org.eclipse.emf.validation.releng/promotion/.gitignore create mode 100644 releng/org.eclipse.emf.validation.releng/promotion/pom.xml diff --git a/README.md b/README.md index d1561b0..2598f02 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ The official builds are run in the Eclipse Foundation's infrastructure, at : nightly builds -* : milestone builds -* : releases +* : latest nightly build +* : latest milestone build +* : latest release | Version | Repository URL | |:--------------------|:--------------------------------------------------------------------------------------| diff --git a/features/org.eclipse.emf.validation-feature/feature.xml b/features/org.eclipse.emf.validation-feature/feature.xml index 0c97bc0..b605ca8 100644 --- a/features/org.eclipse.emf.validation-feature/feature.xml +++ b/features/org.eclipse.emf.validation-feature/feature.xml @@ -44,7 +44,7 @@ SPDX-License-Identifier: EPL-2.0 - + diff --git a/features/org.eclipse.emf.validation.doc-feature/feature.xml b/features/org.eclipse.emf.validation.doc-feature/feature.xml index 287da1d..c705afc 100644 --- a/features/org.eclipse.emf.validation.doc-feature/feature.xml +++ b/features/org.eclipse.emf.validation.doc-feature/feature.xml @@ -39,7 +39,7 @@ SPDX-License-Identifier: EPL-2.0 - + diff --git a/features/org.eclipse.emf.validation.examples-feature/feature.xml b/features/org.eclipse.emf.validation.examples-feature/feature.xml index 93719a0..f1f5b6c 100644 --- a/features/org.eclipse.emf.validation.examples-feature/feature.xml +++ b/features/org.eclipse.emf.validation.examples-feature/feature.xml @@ -39,7 +39,7 @@ SPDX-License-Identifier: EPL-2.0 - + diff --git a/features/org.eclipse.emf.validation.master-feature/feature.xml b/features/org.eclipse.emf.validation.master-feature/feature.xml index 20fcc50..7980e04 100644 --- a/features/org.eclipse.emf.validation.master-feature/feature.xml +++ b/features/org.eclipse.emf.validation.master-feature/feature.xml @@ -39,7 +39,7 @@ SPDX-License-Identifier: EPL-2.0 - + - + diff --git a/features/org.eclipse.emf.validation.sdk-feature/feature.xml b/features/org.eclipse.emf.validation.sdk-feature/feature.xml index 9fd79d1..af99593 100644 --- a/features/org.eclipse.emf.validation.sdk-feature/feature.xml +++ b/features/org.eclipse.emf.validation.sdk-feature/feature.xml @@ -39,7 +39,7 @@ SPDX-License-Identifier: EPL-2.0 - + - + diff --git a/releng/org.eclipse.emf.validation.releng/pom.xml b/releng/org.eclipse.emf.validation.releng/pom.xml index 9419cf5..b2c8cd2 100644 --- a/releng/org.eclipse.emf.validation.releng/pom.xml +++ b/releng/org.eclipse.emf.validation.releng/pom.xml @@ -19,7 +19,7 @@ 2024-12 UTF-8 scm:git:https://github.com/eclipse-emfservices/emf-validation.git - https://download.eclipse.org/modeling/emf/validation/updates/releases/ + https://download.eclipse.org/modeling/emf/validation/updates/release/latest/ @@ -133,6 +133,18 @@ + + promote + + + promote + true + + + + promotion + + sbom diff --git a/releng/org.eclipse.emf.validation.releng/promotion/.gitignore b/releng/org.eclipse.emf.validation.releng/promotion/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/releng/org.eclipse.emf.validation.releng/promotion/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/releng/org.eclipse.emf.validation.releng/promotion/pom.xml b/releng/org.eclipse.emf.validation.releng/promotion/pom.xml new file mode 100644 index 0000000..56b0011 --- /dev/null +++ b/releng/org.eclipse.emf.validation.releng/promotion/pom.xml @@ -0,0 +1,113 @@ + + + + 4.0.0 + + + org.eclipse.emf.validation + org.eclipse.emf.validation.releng + 1.14.2-SNAPSHOT + .. + + + org.eclipse.emf.validation.promotion + pom + + + https://download.eclipse.org/releases/latest + https://download.eclipse.org/justj/tools/updates/nightly/latest + genie.emfservices + modeling/emf/validation + updates + -remote ${org.eclipse.storage.user}@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/${org.eclipse.justj.p2.manager.target} + + http://www.example.com/ + yyyyMMddHHmm + nightly + + + + + + org.eclipse.tycho + tycho-eclipse-plugin + ${tycho.version} + + JavaSE-21 + + + org.eclipse.justj.p2 + eclipse-plugin + + + org.apache.felix.scr + eclipse-plugin + + + + + eclipse.repo + p2 + ${eclipse.repo} + + + justj.tools.repo + p2 + ${justj.tools.repo} + + + + + + promote + generate-sources + + eclipse-run + + + + + -consoleLog + -application org.eclipse.justj.p2.manager + -data @None + -nosplash + ${org.eclipse.justj.p2.manager.args} + -retain 5 + -label "EMF Validation" + -build-url ${org.eclipse.justj.p2.manager.build.url} + -root ${project.build.directory}/validation-sync + -relative ${org.eclipse.justj.p2.manager.relative} + -version-iu org.eclipse.emf.validation.sdk.feature.group + -commit https://github.com/eclipse-emfservices/emf-validation/commit/${commit.id} + -target-url https://download.eclipse.org/modeling/emf/validation + -promote ${project.basedir}/../../org.eclipse.emf.validation.repository/target/repository + -timestamp ${build.timestamp} + -type ${build.type} + -favicon https://raw.githubusercontent.com/eclipse-emfservices/emf-validation/master/features/org.eclipse.emf.validation-feature/modeling32.png + -body-image https://www.eclipse.org/modeling/emf/images/emf_logo.png + -breadcrumb "Modeling https://www.eclipse.org/modeling" + -breadcrumb "EMF https://www.eclipse.org/modeling/emf" + -breadcrumb "EMF Services https://projects.eclipse.org/projects/modeling.emfservices" + -mapping validation->Validation + ${org.eclipse.justj.p2.manager.extra.args} + + + + + + + + +