Discussion:
eclipse-plugin org.junit not found in target platform after Tycho update (from 0.22)
(too old to reply)
Hendrik Eeckhaut
2018-06-20 10:05:42 UTC
Permalink
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.
Dietrich, Christian
2018-06-20 10:37:02 UTC
Permalink
i cannot tell you what and why it has changed but
i think the problem is that the version number is more strict now so
you may need to specify it as
4.12.0.qualifier
0.0.0
4.12.0.v201504281640
Hendrik Eeckhaut
2018-06-20 11:16:14 UTC
Permalink
Hi Christian,

that indeed fixes the issue.

Thanks a lot,
Hendrik.

On Wed, Jun 20, 2018 at 12:37 PM, Dietrich, Christian
Post by Dietrich, Christian
i cannot tell you what and why it has changed but
i think the problem is that the version number is more strict now so
you may need to specify it as
4.12.0.qualifier
0.0.0
4.12.0.v201504281640
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Hendrik Eeckhaut, PhD – CTO

T + 32 9 265 71 38

***@sigasi.com


www.sigasi.com

Sigasi nv - Kerkstraat 108, 9050 Gentbrugge, Belgium
--------------------------------------------------------------------
Continue reading on narkive:
Loading...