Hello,
I am doing “mvn clean install” on this repository: https://github.com/deep-modeling/melanee-core . With version 0.20 everything works fine. After upgrading to version 0.21 I get the following errors:
[INFO] --- tycho-surefire-plugin:0.21.0:test (default-test) @ org.melanee.core.tests.plm ---
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] You requested to install 'org.melanee.core.product 0.0.0' but it could not be found
[ERROR]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.21.0:test (default-test) on project org.melanee.core.tests.plm: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r230_201406101339 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r231_201409160728 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; Unable to satisfy dependency from tycho-extra-1414573481057 0.0.0.1414573481057 to org.melanee.core.product 0.0.0.; Unable to satisfy dependency from tycho-1414573481104 0.0.0.1414573481104 to org.melanee.core.product 0.0.0.; No solution found because the problem is unsatisfiable.] -> [Help 1]
My pom.xml looks like described in the New & Noteworthy section of version 0.21. Here it is (https://github.com/deep-modeling/melanee-core/blob/master/tests/org.melanee.core.tests.plm/pom.xml):
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.melanee.tycho.build</groupId>
<artifactId>tests</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.melanee.tycho.build</groupId>
<artifactId>org.melanee.core.tests.plm</artifactId>
<packaging>eclipse-test-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<product>org.melanee.core.product</product>
<testRuntime>p2Installed</testRuntime>
<useUIHarness>false</useUIHarness>
<testSuite>org.melanee.core.tests.plm</testSuite>
<testClass>org.melanee.core.tests.plm.PLMTestSuite</testClass>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<dependency-resolution>
<extraRequirements>
<!-- add dependency to product IU under test -->
<requirement>
<type>p2-installable-unit</type>
<id>org.melanee.core.product</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
</plugins>
</build>
</project>
Are there any advices on how to solve/debug this problem?
Best Regards,
Ralph