tycho

Using maven dependencies on Eclipse plug-ins

ⅰ亾dé卋堺 提交于 2019-12-11 18:21:32
问题 I would like to use a maven dependency in my Eclipse plug-in. What I've done so far is I added the dependency on my pom: <dependency> <groupId>com.mandrillapp.wrapper.lutung</groupId> <artifactId>lutung</artifactId> <version>0.0.5</version> </dependency> And when I try to use the dependency I get the run time exception below (omitted the stack trace): org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: com/microtripit/mandrillapp/lutung/MandrillApi . . . Caused by: java

Plain JARs and Bundles in the Same Reactor

流过昼夜 提交于 2019-12-11 17:54:54
问题 Our software consists of deployable server components and RCP applications. Still these applications share a lot of code. Right now we have Maven reactors with all the code we need as a "plain" JAR, even though the Manifest information for bundles gets added as well. And we have Tycho reactors for all our bundles that are only ever used in an OSGi context. Which means for every technical module we have two reactors, which from an architectural perspective is completely wrong. That's why I'd

Test Tycho Master POM

岁酱吖の 提交于 2019-12-11 13:20:08
问题 All our company's RCP plug-ins have the same Maven parent, and after adding a bunch of Maven plug-ins to it I realized that Tycho is not as deterministic as I'd like it to be. That's hardly news, I know, so that's why I want to set up some tests for the parent pom.xml . I'm thinking of basic stuff: which profiles are enabled, which plug-ins are executed, what exception is thrown for a defined pom.xml , command line arguments and target platform. Even though most other projects seem to have a

Jarsigner doesn't sign plugin dependencies

假装没事ソ 提交于 2019-12-11 11:45:50
问题 In a maven repository I have an eclipse plugin, which I need in order to create a feature. The local dependency test.branding.plugin is signed, but the downloaded from nexus test.plugin.nexus isn't. This is how I have defined the dependency in my parent pom.xml <dependencies> <dependency> <groupId>test.plugin</groupId> <artifactId>nexus</artifactId> <version>1.0.0</version> </dependency> </dependencies> Here is the rest of the pom.xml file. <modules> <module>../test.feature</module> <module>.

Tycho | How to build multiple version of same plugin using tycho

半城伤御伤魂 提交于 2019-12-11 08:23:58
问题 I have a plugin which contains other plugins and feature projects. I am able to build plugin using tycho and I am getting deliverable in eclipsepluginupdateSite\target in zip format which is working fine for single version of eclipse. Now I am facing error how to configure tycho for to build multiple version of same plugin? In manual process I am following below steps: For example I want to create a plugin with version 4.8.800 along with(4.6.612,4.7.711) versions Delete

Tycho skips Tests

孤街浪徒 提交于 2019-12-11 08:03:32
问题 My project uses maven to build, but during install it always skips the tests. If i use -X it tells me: [DEBUG] (f) skipTests = true Where does this come from? This is my pom: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>project</artifactId> <packaging>eclipse-test-plugin</packaging>

Project dependency error when using my local p2 repository with necessary jar files

眉间皱痕 提交于 2019-12-11 07:43:34
问题 I have created a eclipse plugin and I am in need of converting the eclipse plugin project into maven so that I converted it into maven with the help of Tycho.when i try to execute as eclipse application it works fine.But when i try to maven clean it fails. [INFO] Scanning for projects... [INFO] Cannot complete the request. Generating details. [INFO] Cannot complete the request. Generating details. [INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}

Project files created with the maven-eclipse-plugin are not supported in M2Eclipse

五迷三道 提交于 2019-12-11 00:55:00
问题 We have a really simple Tycho project: <properties> <tycho-version>0.26.0</tycho-version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.build.timestamp.format>yyyyMMdd_HHmmss</maven.build.timestamp.format> </properties> <build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-maven-plugin</artifactId> <extensions>true</extensions> <version>${tycho-version}</version> </plugin> <plugin> <groupId>org.eclipse

How do I create an Eclipse plugin release using Maven and Tycho?

旧巷老猫 提交于 2019-12-10 16:47:12
问题 I am building an Eclipse project that consists of a number of plug-ins that are packed together. I have create POM files for each component and a main POM for the project. Something like this: projectDir\releng\pom.xml <-- Parent project projectDir\proj1\pom.xml <-- Child project 1 projectDir\proj2\pom.xml <-- Child project 2 My build currently works by calling the parent POM which builds everything. Until now I have been building using 0.0.1-SNAPSHOT as the version of the parent POM, and in

Transitive dependencies not resolved with maven dependency and tycho pomConsider option

China☆狼群 提交于 2019-12-10 13:16:47
问题 I try to create an eclipse plugin using OSGI dependencies from two repositories, one with maven dependencies, and one with p2 dependencies : <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <id>bintray-anrgenstar-genstar-packages</id> <name>bintray</name> <url>http://dl.bintray.com/anrgenstar/genstar-packages</url> </repository> </repositories> <repository> <id>gama</id> <name>GAMA Snapshots</name> <url>http://gama.unthinkingdepths.fr</url> <layout>p2</layout>