Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] eclipse-plugin org.junit not found in target platform after Tycho update (from 0.22)

Hi all,

I just discovered that we were still using Tycho 0.22 to build an
offline target site.
After updating to version 1.2, I get an error message about a plugin
(org.junit 4.12) that is no longer found.

I reduced the problem to a feature with only this plugin (also see attachment):
<?xml version="1.0" encoding="UTF-8"?>
<feature ...>
  <plugin id="org.junit" version="4.12.0"/>
</feature>

I also found out it goes wrong starting with Tycho version 0.23:

[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.23.0:package-feature
(default-package-feature) on project
com.sigasi.hdt.dependencies.feature: Execution default-package-feature
of goal org.eclipse.tycho:tycho-pa
ckaging-plugin:0.23.0:package-feature failed: eclipse-plugin artifact
with ID "org.junit" and version matching "4.12.0" was not found in the
target platform

To reproduce the problem:
* run "mvn clean package" to get the error above
* replace 0.23.0 with 0.22.0 in the pom file, and it works

I checked the release notes but do not see what might cause this. Did
I miss something, or do I file a bug?

Thanks,
Hendrik.

Attachment: tychoIssue.zip
Description: Zip archive


Back to the top