Tycho 3.0 requires new Maven based JUnit bundles, even on older targets #1457
-
Upgrading multiple builds with Tycho 2.7.5 to 3.0 on company projects with older target platforms leads to missing dependency errors mentioning the new 2022-09 Maven based JUnit Jupiter bundles. Those are not available anywhere in older targets and surely not mentioned in any of my files. Does this mean Tycho 3.0 cannot be used on target platforms older than 2022-09?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
You project most probably requesting a JUNIT5 classpath container. As those have changed with 2022-09 Tycho has adapted accordingly. You can add the JUnit dependencies as maven location in your target, or upgrade your project to use a newer eclipse target. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Basically we should add JUnit 5 as dependency even if we're not really using it, that's the meaning? |
Beta Was this translation helpful? Give feedback.
-
Just as a note: I've meanwhile used that solution in one project successfully. The target platform there includes both the old JUnit 5.8.1 bundles (because SWTBot requires them) and the new renamed 5.9.x based (because Tycho 3.0 requires them). |
Beta Was this translation helpful? Give feedback.
You project most probably requesting a JUNIT5 classpath container. As those have changed with 2022-09 Tycho has adapted accordingly. You can add the JUnit dependencies as maven location in your target, or upgrade your project to use a newer eclipse target.