Hendrik Eeckhaut
2018-06-20 10:05:42 UTC
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.
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.