Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2022-03-24 08:33:30 +0000
committerQuentin Le Menez2022-03-24 12:56:56 +0000
commite81d8127803aa388e830c7c1eb97619cd82555b3 (patch)
treee50bdd9fa51aa4e79c6e89e8be75a19b69d9c5ec /releng/rcp/org.eclipse.papyrus.rcp.product
parent422b072d23342e61d4f44f89747b4affb3ac2468 (diff)
downloadorg.eclipse.papyrus-e81d8127803aa388e830c7c1eb97619cd82555b3.tar.gz
org.eclipse.papyrus-e81d8127803aa388e830c7c1eb97619cd82555b3.tar.xz
org.eclipse.papyrus-e81d8127803aa388e830c7c1eb97619cd82555b3.zip
Bug 577567 - [Releng] 2022-03 Update signing behavior and RCP6.1.0_RCP
Change-Id: Icba245339ce7dac3e196cd5269a5538258947fdc Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'releng/rcp/org.eclipse.papyrus.rcp.product')
-rwxr-xr-xreleng/rcp/org.eclipse.papyrus.rcp.product/application.entitlement18
-rw-r--r--releng/rcp/org.eclipse.papyrus.rcp.product/papyrus.product7
-rw-r--r--releng/rcp/org.eclipse.papyrus.rcp.product/pom.xml96
3 files changed, 93 insertions, 28 deletions
diff --git a/releng/rcp/org.eclipse.papyrus.rcp.product/application.entitlement b/releng/rcp/org.eclipse.papyrus.rcp.product/application.entitlement
new file mode 100755
index 00000000000..6fdb9d33d10
--- /dev/null
+++ b/releng/rcp/org.eclipse.papyrus.rcp.product/application.entitlement
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.cs.allow-jit</key>
+ <true/>
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+ <true/>
+ <key>com.apple.security.cs.disable-executable-page-protection</key>
+ <true/>
+ <key>com.apple.security.cs.allow-dyld-environment-variables</key>
+ <true/>
+ <key>com.apple.security.cs.disable-library-validation</key>
+ <true/>
+ <key>com.apple.security.cs.debugger</key>
+ <true/>
+</dict>
+</plist> \ No newline at end of file
diff --git a/releng/rcp/org.eclipse.papyrus.rcp.product/papyrus.product b/releng/rcp/org.eclipse.papyrus.rcp.product/papyrus.product
index e9ca32b2e81..09f7a8f6ebc 100644
--- a/releng/rcp/org.eclipse.papyrus.rcp.product/papyrus.product
+++ b/releng/rcp/org.eclipse.papyrus.rcp.product/papyrus.product
@@ -207,10 +207,9 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
</configurations>
<repositories>
- <repository location="https://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/master/" enabled="true" />
- <repository location="https://download.eclipse.org/releases/latest/" enabled="true" />
- <repository location="https://download.eclipse.org/releases/2021-12/" enabled="true" />
- <repository location="https://download.eclipse.org/eclipse/updates/4.22/" enabled="true" />
+ <repository location="https://download.eclipse.org/modeling/mdt/papyrus/updates/releases/2022-03/" enabled="true" />
+ <repository location="https://download.eclipse.org/releases/2022-03/" enabled="true" />
+ <repository location="https://download.eclipse.org/eclipse/updates/4.23/" enabled="true" />
</repositories>
<preferencesInfo>
diff --git a/releng/rcp/org.eclipse.papyrus.rcp.product/pom.xml b/releng/rcp/org.eclipse.papyrus.rcp.product/pom.xml
index 8654a0d857a..154c71ae5d9 100644
--- a/releng/rcp/org.eclipse.papyrus.rcp.product/pom.xml
+++ b/releng/rcp/org.eclipse.papyrus.rcp.product/pom.xml
@@ -29,30 +29,30 @@
</configuration>
</plugin>
<!-- The 32 bit launchers are not supported by the new 4.10 platform framework -->
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <environments>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>macosx</os>
- <ws>cocoa</ws>
- <arch>x86_64</arch>
- </environment>
- </environments>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
@@ -88,9 +88,57 @@
<goals>
<goal>archive-products</goal>
</goals>
+ <phase>pre-integration-test</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>sign</id>
+ <activation>
+ <property>
+ <name>SIGN</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-macsigner-plugin</artifactId>
+ <configuration>
+ <fileNames>Papyrus.app</fileNames>
+ <entitlements>${project.basedir}/application.entitlement</entitlements>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-winsigner-plugin</artifactId>
+ <configuration>
+ <fileNames>Papyrus.exe,eclipsec.exe</fileNames>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top