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
0
votes
0 answers

Configuring Nexus OSS as P2 repo

I have have an internal Nexus OSS server with dozens of regular Maven jar artifacts in Inhouse, Snapshots and various proxied repos. I have also installed the Nexus P2 Repository Plugin and the P2 Bridge Plugin (2.6.3-01) and the Nexus Unzip Plugin…
Nicholas Albion
  • 3,096
  • 7
  • 33
  • 56
0
votes
1 answer

Including Tycho's itp02.bundle plugin in the itp04-rcp example.product

I'm trying to figure out how the pomfirst-thirdparty bundle can be used within the itp04-rcp eclipse-repository. I figure that I should be able to run: > cd org.eclipse.tycho-demo\itp02\build02 > mvn org.apache.felix:maven-bundle-plugin:install And…
Nicholas Albion
  • 3,096
  • 7
  • 33
  • 56
0
votes
1 answer

Where I can find p2 repository containing OSGI CXF bundle for build with tycho?

Where I can find p2 repository containing OSGI CXF bundle for build with tycho? All I can find is how to get the CXF with maven dependencies.
kofucii
  • 7,393
  • 12
  • 51
  • 79
0
votes
1 answer

How to set up Maven-built Eclipse RCP projects with bndtools

I'm developing an Eclipse RCP (3.7) application and build it with Maven and Tycho. I'd like to use bndtools' ability to monitor version numbers (inspired by the EclipseCon Europe 2013 talk "Never A Wrong (Semantic) Version again!". Unfortunately the…
s.d
  • 4,017
  • 5
  • 35
  • 65
0
votes
1 answer

Eclipse plugin project not consuming OSGI bundle dependencies

I am developing an Eclipse plugin and would like to leverage the Jersey OSGI bundle hosted on SpringSource but once the bundle is pulled down it is not consumed. My question is how do I declare, in my POM or MANIFEST, that I want the Jersey bundle…
0
votes
1 answer

Update tycho pom & manifest via Maven

I have integrated a tycho java project and generated a pom manually for this. This pom is used by a parent pom to build my maven projects. I'm searching for a way to define the version of this sub project and changing the manifest in one step. I…
Mr.Mountain
  • 863
  • 8
  • 32
0
votes
0 answers

Build RCP application with platform specific dll files

what is best practice for adding platform dependent resources to products which were respectively built by the maven tycho plugin for different platforms. The platform configuration looks like this: org.eclipse.tycho
huembert
  • 49
  • 2
  • 5
0
votes
1 answer

Partly mirrored p2 repository does not contain installable units - "There are no items available" in Eclipse

I want to mirror some features from the latest Orbit update site. I use the configuraiton below. (This configuration is taken it from the effective pom, to make sure that this is really the configuration I used.)
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
0
votes
1 answer

Eclipse maven - product not installing my plugin

I recently upgraded a plugin from 3.x to 4.x. When I launch the product via Eclipse, it all seems to be working fine and the IDE has the changes contributed from my plugin. I exported it via PDE and that also works fine. But my final builds are done…
nbz
  • 3,806
  • 3
  • 28
  • 56
0
votes
1 answer

mvn versions:update-parent without tycho extension

How can you easily disable the tycho extension if it is not needed (eg at versions:update-parent)? I have a few dozen eclipse-plugin projects and resolve the target platform slows down the process unbearable.
Nachtgold
  • 539
  • 1
  • 6
  • 27
0
votes
2 answers

eclipse product launching with manual export but not with tycho build no application id has been found dependency leaf issue

I am trying to automate the build of an rcp application I have it working fine when I create my export an eclipse product however when I generate my rcp application using maven with the tycho plugin it fails to launch when I go to the target and…
0
votes
1 answer

Maven install tycho native launcher issue on basic eclipse plugin

I'm trying to automate the build of an eclipse RCP application. I decided to this using maven with its tycho plugin. However I followed the tutorials where I create a plugin, feature and then a product. Following this tutorial,…
0
votes
1 answer

Tycho build fails on Jenkins only for SCM Trigger

I have a little bit of strange Problem with Jenkins, Maven and Tycho and it is hard to find out who is the culprit. All SCM Triggered Builds fail but all manually triggered builds succeed. Jenkins Version : Jenkins ver. 1.527 Maven Version : 3.05 I…
oers
  • 18,436
  • 13
  • 66
  • 75
0
votes
1 answer

Nested classpath entry can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins

The title almost says it all. I'm getting this warning: [WARNING] Dependency from ..\gui to nested classpath entry ..\org.jboss.hibernate\resources can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins The…
0
votes
0 answers

How to run unit tests by Maven Tycho Surfire with custom URL protocols (java.net.MalformedURLException: unknown protocol)

I have experience some difficulties to run JUnit test that needs to use custom URL handler declared as src/sun/net/www/protocol/exotic/Handler.java Tycho's surefire does some different execution of tests that result in failed tested. The exception…
Andrej
  • 558
  • 6
  • 14