From 51941ba55225bf9a877ccb830208d8c01fbd44e6 Mon Sep 17 00:00:00 2001 From: lgoubet Date: Wed, 25 Sep 2019 11:56:50 +0200 Subject: [PATCH] Re-enable signing and tycho-p2-plugin, switch website to antrun See bug 551450. The wrong zip file ends up being used as the build artifact for the documentation plugin when using maven-assembly-plugin. Using maven-antrun plugin instead allows us to workaround the issue and have EMF Compare's doc plugin be signed correctly. Change-Id: Ib6656920ea2b5fea6be03b338d61a8ad0abebbca --- org.eclipse.emf.compare-parent/pom.xml | 16 ++++++++++++++++ .../META-INF/MANIFEST.MF | 2 +- plugins/org.eclipse.emf.compare.doc/assembly.xml | 20 -------------------- plugins/org.eclipse.emf.compare.doc/pom.xml | 22 +++++++++++----------- .../publisher.properties | 6 ------ 5 files changed, 28 insertions(+), 38 deletions(-) delete mode 100644 plugins/org.eclipse.emf.compare.doc/assembly.xml delete mode 100644 plugins/org.eclipse.emf.compare.doc/publisher.properties diff --git a/org.eclipse.emf.compare-parent/pom.xml b/org.eclipse.emf.compare-parent/pom.xml index e2c5d435e..b344279ba 100644 --- a/org.eclipse.emf.compare-parent/pom.xml +++ b/org.eclipse.emf.compare-parent/pom.xml @@ -583,6 +583,22 @@ + + org.eclipse.tycho + tycho-p2-plugin + + + p2-metadata + + p2-metadata + + verify + + + + false + + diff --git a/plugins/org.eclipse.emf.compare.doc/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.compare.doc/META-INF/MANIFEST.MF index 7f1b70c3e..b8067e12b 100644 --- a/plugins/org.eclipse.emf.compare.doc/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.emf.compare.doc/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.emf.compare.doc; singleton:=true -Bundle-Version: 3.3.0.qualifier +Bundle-Version: 3.3.9.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.emf.compare.doc/assembly.xml b/plugins/org.eclipse.emf.compare.doc/assembly.xml deleted file mode 100644 index be328f18c..000000000 --- a/plugins/org.eclipse.emf.compare.doc/assembly.xml +++ /dev/null @@ -1,20 +0,0 @@ - - website - - zip - - false - - - false - false - runtime - - - - - ${project.build.directory}/website - / - - - \ No newline at end of file diff --git a/plugins/org.eclipse.emf.compare.doc/pom.xml b/plugins/org.eclipse.emf.compare.doc/pom.xml index 96aa3d3aa..a0a150241 100644 --- a/plugins/org.eclipse.emf.compare.doc/pom.xml +++ b/plugins/org.eclipse.emf.compare.doc/pom.xml @@ -21,7 +21,7 @@ org.eclipse.emf.compare org.eclipse.emf.compare.doc - 3.3.0-SNAPSHOT + 3.3.9-SNAPSHOT eclipse-plugin @@ -120,8 +120,8 @@ -website ${project.build.directory}/website -version - - 3.3.0.${buildQualifier} + + 3.3.9.${buildQualifier} @@ -129,22 +129,22 @@ org.apache.maven.plugins - maven-assembly-plugin + maven-antrun-plugin package - single + run - - ${project.artifactId}-website-3.3.0.${buildQualifier} - false - - assembly.xml - + + + + + + diff --git a/plugins/org.eclipse.emf.compare.doc/publisher.properties b/plugins/org.eclipse.emf.compare.doc/publisher.properties deleted file mode 100644 index 7b3ec579c..000000000 --- a/plugins/org.eclipse.emf.compare.doc/publisher.properties +++ /dev/null @@ -1,6 +0,0 @@ -# EMFCompare publisher properties -# TODO update qualified version for each release. Please also update the pom.xml. -DOCUMENTATION_WEBSITE__UNQUALIFIED_VERSION=3.3.0 -DOCUMENTATION_WEBSITE__QUALIFIED_VERSION=3.3.0.${buildQualifier} -DOCUMENTATION_WEBSITE__ARTIFACT_NAME=${project.groupId}-website-3.3.0.${buildQualifier}.zip -DOCUMENTATION_WEBSITE__ARTIFACT_URL=${env.JOB_URL}${env.BUILD_NUMBER}/artifact/plugins/org.eclipse.emf.compare.doc/target/${project.artifactId}-website-3.3.0.${buildQualifier}.zip -- 2.11.4.GIT