From: Marc-Andre Laperle Date: Tue, 17 May 2016 15:29:53 +0000 (-0400) Subject: rcp: Sign the RCP on Mac X-Git-Url: http://git.efficios.com/?p=deliverable%2Ftracecompass.git;a=commitdiff_plain;h=3398808acf7c43c3546781ae3434556ef933f3a1 rcp: Sign the RCP on Mac The mac signing has to happen between materialize-products and archive-products goals. Because we only want to do it when the signing 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. Bug: 488873 Change-Id: I65168e010dc866ef48b643f6aaf30aa94aedefda Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/72976 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann --- diff --git a/pom.xml b/pom.xml index 2121b4a0e4..33aea3abdc 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ 0.25.0 0.25.0 scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git + 1.1.3 tracecompass-e4.6 http://download.eclipse.org/eclipse/updates/4.5 @@ -129,7 +130,7 @@ org.eclipse.cbi.maven.plugins eclipse-jarsigner-plugin - 1.1.3 + ${cbi-plugins.version} sign diff --git a/rcp/org.eclipse.tracecompass.rcp.product/pom.xml b/rcp/org.eclipse.tracecompass.rcp.product/pom.xml index 7bfdd90304..54990385ff 100644 --- a/rcp/org.eclipse.tracecompass.rcp.product/pom.xml +++ b/rcp/org.eclipse.tracecompass.rcp.product/pom.xml @@ -18,6 +18,10 @@ org.eclipse.tracecompass.rcp yyyyMMdd-HHmm + trace-compass-${unqualifiedVersion}-${build.timestamp} + trace-compass + + ${rootFolder}.app @@ -51,12 +55,11 @@ - trace-compass-${unqualifiedVersion}-${build.timestamp} + ${archiveFileName} ${productId} - trace-compass + ${rootFolder} - - trace-compass.app + ${rootFolderMac} @@ -66,8 +69,73 @@ - + + sign-update-site + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + materialize-products + + materialize-products + + + + archive-products + pre-integration-test + + archive-products + + + + tar.gz + tar.gz + zip + zip + + + + + + + + ${archiveFileName} + ${productId} + ${rootFolder} + + ${rootFolderMac} + + + + repository + + + + org.eclipse.cbi.maven.plugins + eclipse-macsigner-plugin + ${cbi-plugins.version} + + + + sign + + + + ${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/${rootFolderMac} + + + + + + + + + deploy-rcp