tycho

Add Fragment to tycho-surefire-plugin

会有一股神秘感。 提交于 2021-02-10 16:39:37
问题 I want to start a fragment with the tycho-surefire-plugin . Simple, right? <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tycho-version}</version> <configuration> <providerHint>junit4</providerHint> <dependencies> <!-- I want to add my fragment here --> </dependencies> </configuration> </plugin> However, due to the missing documentation (or maybe it's hidden) I can't figure out what to enter: <!-- this works for a plug-in -->

tycho to publish p2 site with a history of features for installation

心不动则不痛 提交于 2020-01-26 04:11:12
问题 I would like to ask about how to preserve the history of available plugins for download with tycho. Here's the scenario: I have a few versions of a feature (feature.1.0.0, feature.2.0.0, etc) being built with Eclipse "Build Site" feature. The metadata, content.jar and artifacts.jar were created from Eclipse, by reading the site.xml. Now I have maven tycho to automate the p2 repository creation. I saw how tycho generate the p2 repo with category.xml. But I don't understand how to include the

Maven Tycho RCP Product Not Found After Moving Folder

自古美人都是妖i 提交于 2020-01-25 11:28:55
问题 Following the Vogella Maven-Tycho tutorial, I have ran into a runtime error. After exporting my project I am unable to launch it. The following error occurs after my headless build, and also after an eclipse export wizard build. It triggers the following runtime error: !SESSION 2018-08-23 13:42:44.875 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_181 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Eclipse cannot find dependencies of a plugin built with Maven Tycho

女生的网名这么多〃 提交于 2020-01-13 06:00:31
问题 I am using Maven Tycho to compile my projects which are structured like this : - plugin1 - plugin2 (depends on plugin1) - plugin3 (depends on plugin1 & 2) - plugin4 (depends on plugin1) - plugin5 (depends on plugin1 & 4) - plugin6 (depends on all previous plugins) - plugin7 (depends on all previous plugins) {all these plugins are compiled as eclipse-plugin} - feature1 (contains all previous plugins) {eclipse-feature} - updatesite1 {eclipse-repository} - generalproject (contains only the

Eclipse RCP e4 + Tycho Maven + separate Target Platform

房东的猫 提交于 2020-01-07 03:08:14
问题 I have an e4 RCP project, built with Tycho My projects consist of: aggregator, parent, product, rcp, and target - as learnt in the vogella tutorials The target platform points to eclipse update sites, and it's also loaded into eclipse as the default platform. The app is PLUGIN BASED. I don't really want to add a feature for nothing. The catch is, the build of product fails because multi-platform plugins like org.eclipse.core.filesystem.hpux.ia64_32 org.eclipse.swt.carbon.macosx org.eclipse

Dependencies In Same Reactor

被刻印的时光 ゝ 提交于 2020-01-07 02:32:12
问题 I have a very simple Tycho reactor with two modules: one is a standard Maven project with this addition to make it a bundle: <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <id>default-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> <configuration> <instructions> <Export-Package>org.acme.jar</Export-Package> </instructions> <manifestLocation>META-INF</manifestLocation> <

Dependencies In Same Reactor

社会主义新天地 提交于 2020-01-07 02:32:10
问题 I have a very simple Tycho reactor with two modules: one is a standard Maven project with this addition to make it a bundle: <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <id>default-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> <configuration> <instructions> <Export-Package>org.acme.jar</Export-Package> </instructions> <manifestLocation>META-INF</manifestLocation> <

How does Tycho bind its goals to the Maven lifecycle

余生颓废 提交于 2020-01-06 19:30:24
问题 I didn't understand how Tycho is bound to the Maven lifecyle as I did not see any pom.xml configuration which binds the Tycho goals. My questions are: How does Tycho hook into Maven's building reactor stage, i.e. when it prints below messages before reactor is computed? [exec] [WARNING] No explicit target runtime environment configuration. Build is platform dependent. How does Tycho bind its goals to Maven's build lifecycle? I see that there are goals executed during build which were not