IDEMPIERE-6004 Upgrade to Tycho 4.0.4 (#2201)

* IDEMPIERE-6004 Upgrade to Tycho 4.0.4

* Upgrade to Tycho 4.0.4
This commit is contained in:
hengsin 2024-02-02 16:29:41 +08:00 committed by Carlos Ruiz
parent 54018821f1
commit 4d616ac947
2 changed files with 85 additions and 27 deletions

View File

@ -152,6 +152,13 @@
<plugin> <plugin>
<groupId>org.eclipse.tycho.extras</groupId> <groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId> <artifactId>tycho-eclipserun-plugin</artifactId>
<executions>
<execution>
<id>default-eclipse-run-linux</id>
<goals>
<goal>eclipse-run</goal>
</goals>
<phase>${materializeProduct}</phase>
<configuration> <configuration>
<applicationArgs> <applicationArgs>
<arg>-application</arg> <arg>-application</arg>
@ -159,28 +166,79 @@
<arg>-repository</arg> <arg>-repository</arg>
<arg>file:${project.build.directory}/repository</arg> <arg>file:${project.build.directory}/repository</arg>
<arg>-destination</arg> <arg>-destination</arg>
<arg>${project.build.directory}/products/${idempiere.product.id}/${tycho.env.osgi.os}/${tycho.env.osgi.ws}/${tycho.env.osgi.arch}</arg> <arg>${project.build.directory}/products/${idempiere.product.id}/linux/gtk/x86_64</arg>
<arg>-installIU</arg> <arg>-installIU</arg>
<arg>${extra.ui.install}</arg> <arg>${extra.iu.install}</arg>
<arg>-profileProperties</arg> <arg>-profileProperties</arg>
<arg>org.eclipse.update.install.features=true</arg> <arg>org.eclipse.update.install.features=true</arg>
<arg>-p2.os</arg> <arg>-p2.os</arg>
<arg>${tycho.env.osgi.os}</arg> <arg>linux</arg>
<arg>-p2.ws</arg> <arg>-p2.ws</arg>
<arg>${tycho.env.osgi.ws}</arg> <arg>gtk</arg>
<arg>-p2.arch</arg> <arg>-p2.arch</arg>
<arg>${tycho.env.osgi.arch}</arg> <arg>x86_64</arg>
<arg>-consoleLog</arg> <arg>-consoleLog</arg>
<arg>-roaming</arg> <arg>-roaming</arg>
</applicationArgs> </applicationArgs>
</configuration> </configuration>
<executions> </execution>
<execution> <execution>
<id>default-eclipse-run</id> <id>default-eclipse-run-win32</id>
<goals> <goals>
<goal>eclipse-run</goal> <goal>eclipse-run</goal>
</goals> </goals>
<phase>${materializeProduct}</phase> <phase>${materializeProduct}</phase>
<configuration>
<applicationArgs>
<arg>-application</arg>
<arg>org.eclipse.equinox.p2.director</arg>
<arg>-repository</arg>
<arg>file:${project.build.directory}/repository</arg>
<arg>-destination</arg>
<arg>${project.build.directory}/products/${idempiere.product.id}/win32/win32/x86_64</arg>
<arg>-installIU</arg>
<arg>${extra.iu.install}</arg>
<arg>-profileProperties</arg>
<arg>org.eclipse.update.install.features=true</arg>
<arg>-p2.os</arg>
<arg>win32</arg>
<arg>-p2.ws</arg>
<arg>win32</arg>
<arg>-p2.arch</arg>
<arg>x86_64</arg>
<arg>-consoleLog</arg>
<arg>-roaming</arg>
</applicationArgs>
</configuration>
</execution>
<execution>
<id>default-eclipse-run-macosx</id>
<goals>
<goal>eclipse-run</goal>
</goals>
<phase>${materializeProduct}</phase>
<configuration>
<applicationArgs>
<arg>-application</arg>
<arg>org.eclipse.equinox.p2.director</arg>
<arg>-repository</arg>
<arg>file:${project.build.directory}/repository</arg>
<arg>-destination</arg>
<arg>${project.build.directory}/products/${idempiere.product.id}/macosx/cocoa/x86_64</arg>
<arg>-installIU</arg>
<arg>${extra.iu.install}</arg>
<arg>-profileProperties</arg>
<arg>org.eclipse.update.install.features=true</arg>
<arg>-p2.os</arg>
<arg>macosx</arg>
<arg>-p2.ws</arg>
<arg>cocoa</arg>
<arg>-p2.arch</arg>
<arg>x86_64</arg>
<arg>-consoleLog</arg>
<arg>-roaming</arg>
</applicationArgs>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>

View File

@ -12,7 +12,7 @@
<properties> <properties>
<revision>11.0.0-SNAPSHOT</revision> <revision>11.0.0-SNAPSHOT</revision>
<jdk.version>17</jdk.version> <jdk.version>17</jdk.version>
<tycho.version>3.0.5</tycho.version> <tycho.version>4.0.4</tycho.version>
<tycho.extras.version>${tycho.version}</tycho.extras.version> <tycho.extras.version>${tycho.version}</tycho.extras.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jp.version>6.17.0</jp.version> <jp.version>6.17.0</jp.version>
@ -24,12 +24,12 @@
<maven-clean-plugin.version>2.5</maven-clean-plugin.version><!-- get from master, update when mave have update--> <maven-clean-plugin.version>2.5</maven-clean-plugin.version><!-- get from master, update when mave have update-->
<!-- default value of properties, use when run without profile --> <!-- default value of properties, use when run without profile -->
<idempiere.target>org.idempiere.p2.targetplatform</idempiere.target> <idempiere.target>org.idempiere.p2.targetplatform</idempiere.target>
<idempiere-equinox-url>https://download.eclipse.org/eclipse/updates/4.23</idempiere-equinox-url> <idempiere-equinox-url>https://download.eclipse.org/eclipse/updates/4.27</idempiere-equinox-url>
<idempiere-equinox-repository-id>eclipse-2022-03</idempiere-equinox-repository-id> <idempiere-equinox-repository-id>eclipse-2023-03</idempiere-equinox-repository-id>
<idempiere-orbit-url>https://download.eclipse.org/tools/orbit/downloads/drops/R20210602031627/repository</idempiere-orbit-url> <idempiere-orbit-url>https://download.eclipse.org/tools/orbit/downloads/drops/R20210602031627/repository</idempiere-orbit-url>
<idempiere-orbit-repository-id>orbit-2021-06-R20210602031627</idempiere-orbit-repository-id> <idempiere-orbit-repository-id>orbit-2021-06-R20210602031627</idempiere-orbit-repository-id>
<url.file.srv>https://raw.githubusercontent.com/idempiere/binary.file/master</url.file.srv> <url.file.srv>https://raw.githubusercontent.com/idempiere/binary.file/master</url.file.srv>
<extra.ui.install>org.eclipse.equinox.p2.director,org.idempiere.equinox.p2.director.feature.feature.group,org.idempiere.test.feature.feature.group</extra.ui.install> <extra.iu.install>org.eclipse.equinox.p2.director,org.idempiere.equinox.p2.director.feature.feature.group</extra.iu.install>
<idempiere.product.id>org.adempiere.server.product</idempiere.product.id> <idempiere.product.id>org.adempiere.server.product</idempiere.product.id>
<skipClean>false</skipClean> <skipClean>false</skipClean>
<target.version>17</target.version> <target.version>17</target.version>