Questions tagged [tycho]

Tycho is a Maven extension for building Eclipse artifacts: Eclipse plug-ins/OSGI bundles, features, p2 repositories, and RCP applications/Eclipse distributions

Eclipse plugins and OSGI bundles have their own metadata for expressing dependencies, source folder locations, etc. that are normally found in a Maven POM. Tycho uses native metadata for Eclipse plugins and OSGi bundles and uses the POM to configure and drive the build. Tycho supports bundles, fragments, features, update site projects and RCP applications. Tycho also knows how to run JUnit test plugins using OSGi runtime and there is also support for sharing build results using Maven artifact repositories.

Useful links

797 questions
40
votes
2 answers

Tool for managing/hosting own p2 repositories?

Our company uses Maven. We use the Nexus repository manager in order to store our snapshots and releases. Currently, we are developing a product based on Eclipse. We use Tycho to do that. The problem is the following: In our Eclipse-based product…
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61
19
votes
1 answer

Cannot build Eclipse RCP project with Tycho and Java 9

My Eclipse RCP Maven project builds fine with Java 8, but fails with Java 9: [INFO] Scanning for projects... [WARNING] Could not start bundle org.eclipse.equinox.registry org.osgi.framework.BundleException: Could not resolve module:…
ZhekaKozlov
  • 36,558
  • 20
  • 126
  • 155
19
votes
2 answers

"Unknown packaging: eclipse-plugin" in Maven

I want to build a project in Maven using eclipse-plugin packaging, but I get the following error for my POM: [ERROR] Unknown packaging: eclipse-plugin @ line 15, column 13 . pom.xml:
dev
  • 271
  • 1
  • 3
  • 11
18
votes
3 answers

Should I use POM first or MANIFEST first when developing OSGi application with Maven?

There are two main approaches when developing an OSGi application with Maven: POM-first and MANIFEST first. I'm looking for an answer that is in a form of a table that shows pros and cons of each method. To be more specific, I would also like to…
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
15
votes
2 answers

How to automate version number update process for my Eclipse plugin built with Maven

I working with a project similar to the project described here. So, it has a few modules in parent pom.xml: ../de.vogella.tycho.plugin ../de.vogella.tycho.feature
14
votes
2 answers

How can I use a local directory as target platform for a Tycho build?

I want to build an RCP-Application with a target platform which is a directory with Maven/Tycho. Now I have some troubles that the dependencies could not be resolved. Internal error: java.lang.RuntimeException: "No solution found because the …
Orri
  • 920
  • 1
  • 8
  • 20
14
votes
2 answers

Using third-party libraries in Eclipse RCP Tycho app

I've created a boiler-plate project following vogella's extensive Tycho tutorial. Facts: There's no feature, and there's no plugin. The only plugin is the RCP app, which is also the entry-point. Problem: I have no idea in which pom.xml do I…
Georgian
  • 8,795
  • 8
  • 46
  • 87
14
votes
4 answers

How to keep plug-in manifest version and pom version in sync in Maven with Tycho

I am using Maven with Tycho to build an eclipse plugin. Tycho generates the pom.xml file for Maven by inspecting the manifest file of the plugin. Now both the manifest file and the pom file have the version of the plugin and they need to be kept in…
Abhinav Sarkar
  • 23,534
  • 11
  • 81
  • 97
14
votes
3 answers

Handling non-OSGi dependencies when integrating Maven, Tycho and Eclipse

I have a bunch of Eclipse-based plugins that I have been migrating to Maven/Tycho. Most of these plugins depend on separate libraries that I now manage through Maven, rather than muddle around with .jar files. The most cumbersome part of my current…
thkala
  • 84,049
  • 23
  • 157
  • 201
13
votes
1 answer

Building a p2 repository by resolving Tycho features from a Maven repository

I'm trying to build a p2 repository from Tycho feature artifacts which are deployed in a remote Maven repository, without having to install the artifacts into the local Maven repository first (as in Tycho fails to resolve reference from product to…
ryanp
  • 4,905
  • 1
  • 30
  • 39
13
votes
2 answers

tycho-p2-repository-plugin fails with "No content specified for p2 repository"

I am trying to build a p2 repository using Tycho and the tycho-p2-repository-plugin in an eclipse-repository packaging type. When I run the build, it is giving me the following exception: Failed to execute goal…
ezcode
  • 271
  • 4
  • 14
12
votes
1 answer

Tycho & Eclipse-PlatformFilter

I'm using tycho to automatically build my RCP application (actually, I've adopted the structure reported in one of the examples). I have to say that it works very well and I'm able to support all the three architectures I need (linux x86, linux…
Matteo
  • 1,367
  • 7
  • 25
12
votes
3 answers

Maven Tycho: Not a valid OSGi version

in my project I'm trying to export a Eclipse RCP application using Maven/Tycho. All the plugins (and the product it-self) use the following version pattern when in "SNAPSHOT" release configuration: OSGI: x.y.z.qualifier MVN: x.y.z-SNAPSHOT the…
slux83
  • 686
  • 9
  • 20
12
votes
1 answer

Combine/aggregate eclipse p2 repositories / extendable p2 repository

With maven/tycho build for Nodeclipse Eclipse plugin there is new p2 repository every release. Release is done on Bintray that does not allow to update files. So every version goes in its…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
12
votes
4 answers

How to use directory containing third party bundles in a Tycho build

In the past, we had our bundles and features on the file system and made them available in Eclipse through a target definition file with a 'Directory' location. In this way, it was easy to use them with the Export wizards in Eclipse. Now I'm trying…
xoned
  • 2,701
  • 2
  • 31
  • 43
1
2 3
53 54