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

why plugin built via Tycho working with JDT but not CDT

I am so frustrated when trying to find out the reason why the Eclipse plugin I built via Tycho is not working in CDT, but working in JDT. The parent pom.xml looks like the following:
LeonLiu
  • 29
  • 3
0
votes
0 answers

Failed to Resolve Target Definition on OpenShift

I'm trying to get a Tycho build to work on an OpenShift server. Locally resolving the target definition and building works fine, but when deploying I get the following error: Unable to read repository at…
Stefan S.
  • 3,950
  • 5
  • 25
  • 77
0
votes
1 answer

Running and debugging Eclipse RCP as a Maven project

Is it still possible to run and debug Eclipse RCP projects inside Eclipse after they were converted to a Maven project (for example with the help of Maven Tycho plugin). Does the conversion to a Maven project impact the Eclipse RCP project in this…
0
votes
1 answer

org.eclipse.core.runtime bundle is not resolved in tycho build

I have a project which builds and runs fine when built with eclipse, but when I trz to build it with maven & tycho, I get java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is…
Árpád Magosányi
  • 1,394
  • 2
  • 19
  • 35
0
votes
1 answer

Reference a eclipse plugin from a regular project

this is a more conceptual question: I want to create an application which uses the WALA framework, which itself is packaged as a eclipse plugin, built with maven-tycho. When I try to add this as an dependency no transitive dependency gets resolved,…
markusw
  • 1,975
  • 16
  • 28
0
votes
1 answer

How to use a site.xml base update site in a Tycho build

My project has dependencies on Apache Directory Studio plugins. I created a pom.xml file and added Apache Directory Studio update site as a repository. However, Tycho cannot load the Apache Directory Studio update site. The site is not a p2…
The_Cute_Hedgehog
  • 1,280
  • 13
  • 22
0
votes
1 answer

Where in the target directory is the product built by Tycho?

I am trying to learn about building Eclipse applications with Maven/Tycho. I wrote a plugin, which was running separately from within Eclipse. Now I want to distribute it. I made three maven projects. Topmost "parent" project contains the global…
Dims
  • 47,675
  • 117
  • 331
  • 600
0
votes
2 answers

OSGi Require-Capability and Tycho

I created an eclipse plugin that requires a certain capability in its manifest: Require-Capability: osgi.service;filter:="(osgi.service=my.client.SessionService)" My target platform contains another bundle that provides this capability. When I try…
sebplorenz
  • 999
  • 2
  • 10
  • 17
0
votes
1 answer

Maven-build using Groovy-Eclipse compiler plugin includes *.groovy files in jars

I set up a Maven build for an Eclipse RAP project. The project contains java and groovy. The Maven build works without errors but resulting JARs contain both the compiled class files and the groovy source files for most of the classes. I only…
0
votes
4 answers

Snapshot dependency present in multiple repositories

I am facing a unique issue - I have a plugin dependency which is present in multiple repositories. The version number is same just the snapshot qualifier( time-stamp is different ). Is there a way I can force Maven/Tycho to prefer the snapshot from…
Pushkar
  • 7,450
  • 10
  • 38
  • 57
0
votes
2 answers

Tycho Artifactory local repo; dependency to org.eclipse.jet unsolved?

I am creating some OSGI modules contains many plugin and features that require dependencies from p2 repo... I use tycho with artifactory In order to satisfy those dependencies , I add Kepler repo , ( tycho can't resolve dependencies from local…
issamux
  • 1,336
  • 1
  • 19
  • 35
0
votes
1 answer

How to Use JGit in Eclipse Plugin Project

I am creating an Eclipse plug-in that requires the use of JGit. However, I am not sure how to import the bundle as a dependency. When I try to build with tycho I am greeted with errors about being unable to resolve the dependency. I have tried…
0
votes
2 answers

How to make sure a tycho build doesn't include snapshot dependencies

During a non-tycho release, Maven checks if there are snapshot dependencies in the project being built. Is there a way to do the same thing with an E4 project, built with Tycho?
Sébastien
  • 548
  • 1
  • 6
  • 19
0
votes
1 answer

Tycho: maven artifact corresponding to a p2 installable unit in the active target platform

Imagine I have this entry in my target file (used as active target in my tycho build):
Jmini
  • 9,189
  • 2
  • 55
  • 77
0
votes
1 answer

Is there a way to prioritize fragment dependencies?

Is there a way to prioritize fragment dependencies? I have the case that one of the maven plugins that is used at compile time does not use the hierarchical OSGi Classloading, but instead uses a "flat" classpath. Now there is a version conflict…
kutschkem
  • 7,826
  • 3
  • 21
  • 56