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
1 answer

How to build java projects as OSGi Deployment Packages with Maven using Tycho?

I have some Java/OSGi projects that I wish to build and package as a single Deployment Package. I'm using Tycho to compile the sources for a particular target-platform, all dependencies are in a local p2 repository. If I set…
Alessandro Da Rugna
  • 4,571
  • 20
  • 40
  • 64
0
votes
0 answers

Incorrect p2 metadata after snapshot removing in Nexus

We're using "Remove Snapshots From Repository" task on daily basis with our repository in Nexus. After snapshots removal is finished, we run a maven build with Tycho plugin which uses the repository in Nexus through Nexus P2 Bridge Plugin. The issue…
Dennis
  • 108
  • 1
  • 7
0
votes
1 answer

How to build two different versions of an e4 RCP application with Maven/Tycho?

I have got an e4 RCP application A. I extend this application with a plugin B which adds GUI functionality via fragments. My project structure looks like this: Application A Plugin B Target-Platform project deployment project (with the .product…
user3726374
  • 583
  • 1
  • 4
  • 24
0
votes
0 answers

RCP Tycho override manifest with pom version

I want to override Manifest version witch maven version, it is possible ? I know that that I can override pom version with manifest with update-pom, but how about something opposite ?
0
votes
1 answer

Update tycho pom & manifest and commit changes to SVN via Maven

I'm using a hudson server to create release builds. My goal is to set the new delevopment version to my snapshot, build the release artefact (RCP artifact build with tycho) and commit the new delevopment version to my svn repository. For this I've…
Mr.Mountain
  • 863
  • 8
  • 32
0
votes
1 answer

Add log4j.properites as an external file (ouside of jar) in an Eclipse RCP application

I want to build an Eclipse RCP application in a way so that the the end user can configure log levels. I want to do it by exposing the log4j.properties file. Currently that file gets bundled into a jar that is placed under…
whomaniac
  • 1,258
  • 4
  • 15
  • 22
0
votes
2 answers

Maven plugin Tycho -> when to use it and when not to use it

What is the purpose to use Maven Tycho plugins. I read here tycho is used for building eclipse plugins and OSGI bundle. Questions:- Can not we build eclipse plugins and OSGI bundle just by using the plain old maven POM.xml file[by not using tycho…
user2166888
  • 579
  • 1
  • 5
  • 13
0
votes
2 answers

Testing my code against two Eclipse releases with Tycho

I am in need to test my code against two target platforms (which can be wrong to start with, but I would like to keep the focus on the issue): Kepler and Luna. To do this, I defined two repositories in my parent project:
Andrea Richiardi
  • 703
  • 6
  • 21
0
votes
0 answers

How to exclude the feature.source in tycho-source feature plugin configuration using regex?

While using the tycho-source-feature-plugin in pom.xml, the name of the feature with .source is given under excludes. Is it possible to use the regular expression which excludes all the features with .source instead of giving the feature.
Anonymous
  • 16
  • 3
0
votes
4 answers

Anyone who actually got Tycho to work?

I'm trying to get Tycho working with m2eclipse. Problem is that all I find are outdated sites and old versions to download. I've found my way to http://github.com/sonatype/sonatype-tycho and downloaded the source. Problem is that the guide at…
0
votes
1 answer

How does Tycho bind its goals to the Maven lifecycle

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…
goodier
  • 395
  • 6
  • 18
0
votes
1 answer

How distinguish from which test suite was junit test run in case the same tests are run more times?

I have JUnit main test suite. This suite contains many suites - for each testing configuration @RunWith(ProgressSuite.class) @SuiteClasses({ SimpleTest.class, AboutTest.class, CDH4_JDBC_TestSuite.class, …
MichalQA
  • 1
  • 2
0
votes
0 answers

Issues in the class path of dependency jar file in update site of a eclipse plugin

I have created a eclipse plugin by using maven tycho, which has a dependency plugin called com.test.antlr .which I already created and exported as a plugin. During my maven build for the update site the com.test.antlr class path entry is…
Obuli Sundar
  • 189
  • 1
  • 12
0
votes
0 answers

How to create local p2 repository which supports multiple target paltform

I have created a eclipse plugin and its feature and update site... everything is under a master project. The strucute is Test master --test-plugin --test-feature --test-update site I converted all the projects into maven with the help of Tycho and…
Obuli Sundar
  • 189
  • 1
  • 12
0
votes
1 answer

Errors when executing tests in Tycho but not in Eclipse

I have a set of test cases that use the Eclipse WorkbenchPage and a couple of other classes to perform a set of functions. When I execute the test bundle in Eclipse, all the test results are green. But when I "clean install" the same package in the…
HiteshJolly
  • 55
  • 1
  • 11