thanks for reply. I have Tycho Project Configuration already installed. As a starting point I'm using tycho.demo examples from this repository: http://git.eclipse.org/gitroot/tycho/org.eclipse.tycho-demo.git, and here is my configuration:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>tycho.demo.itp02</groupId>
<artifactId>itp02-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho-version>0.17.0</tycho-version>
</properties>
<repositories>
<repository>
<id>helios</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/helios</url>
</repository>
</repositories>
<modules>
<module>tycho.demo.itp02.bundle</module>
<module>tycho.demo.itp02.bundle.tests</module>
</modules>
<dependencies>
<dependency>
<groupId>tycho.demo.itp02</groupId>
<artifactId>pomfirst-bundle</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>tycho.demo.itp02</groupId>
<artifactId>pomfirst-thirdparty</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.2.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>tycho.demo.itp02</groupId>
<artifactId>itp02-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>tycho.demo.itp02.bundle.tests</artifactId>
<packaging>eclipse-test-plugin</packaging>
</project>
Child MANIFEST:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: bundle Plug-in
Bundle-SymbolicName: tycho.demo.itp02.bundle.tests
Bundle-Version: 1.0.0.qualifier
Require-Bundle: org.junit4;bundle-version="4.0.0",
org.eclipse.core.runtime,
com.fasterxml.jackson.core.jackson-core
Import-Package: tycho.demo.itp02.bundle
As you can see I have added only com.fasterxml.jackson.core to dependencies node and to Require-Bundle in MANIFEST.MF. Eclipse marks this line in MANIFEST red and shows: Bundle 'com.fasterxml.jackson.core.jackson-core' cannot be resolved. Am I doing something wrong?
Thanks,
Artem.