From e18d408cb318e7b565cfd11f371cf8bfe028acfd Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Fri, 27 May 2016 01:24:29 -0400 Subject: [PATCH] Sign the stand-alone debugger on Mac The mac signing has to happen between materialize-products and archive-products goals. Because we only want to do it when the production profile is enabled (eclipse.org server), we have to duplicate some xml to fit the macsigner between the two. I did extract some variables in order to make the duplication less error prone. Change-Id: I523c287c0e1dff15026e1007fa2831af6d14003a Signed-off-by: Marc-Andre Laperle --- .../pom.xml | 60 ++++++++++++++++++- pom.xml | 3 +- 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.application.product/pom.xml b/debug/org.eclipse.cdt.debug.application.product/pom.xml index 04c2c01875d..af9bb231ee9 100644 --- a/debug/org.eclipse.cdt.debug.application.product/pom.xml +++ b/debug/org.eclipse.cdt.debug.application.product/pom.xml @@ -19,6 +19,8 @@ org.eclipse.cdt.debug.application.product yyyyMMdd-HHmm + cdt-stand-alone-debugger-${unqualifiedVersion}-${build.timestamp} + cdt-stand-alone-debugger @@ -42,6 +44,7 @@ tar.gz + tar.gz @@ -49,9 +52,9 @@ - cdt-stand-alone-debugger-${unqualifiedVersion}-${build.timestamp} + ${archiveFileName} ${productId} - cdt-stand-alone-debugger + ${rootFolder} repository @@ -106,6 +109,59 @@ + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + materialize-products + + materialize-products + + + + archive-products + pre-integration-test + + archive-products + + + + tar.gz + tar.gz + + + + + + + + ${archiveFileName} + ${productId} + ${rootFolder} + + + repository + + + + org.eclipse.cbi.maven.plugins + eclipse-macsigner-plugin + ${cbi-plugins.version} + + + + sign + + + + ${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/${rootFolder}.app + + + + + maven-antrun-plugin diff --git a/pom.xml b/pom.xml index 44dec50dba5..6505ab3161d 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,7 @@ 0.25.0 0.25.0 + 1.1.3 jacoco http://hudson.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository tools/cdt/builds/master/nightly @@ -311,7 +312,7 @@ org.eclipse.cbi.maven.plugins eclipse-jarsigner-plugin - 1.1.2 + ${cbi-plugins.version} sign