I just upgraded my Eclipse to 2020-09 and my KNIME-AP.target definition to Releases/2020-07. Everything went smoothly except for a dependency on the Apache Commons Collections4.
To fix the upgrade problem, I followed these steps:
- Opened plugin.xml
- Navigated to [Dependencies] tab
- [Add…] org.apache.commons.commons-collections4;bundle-version=“4.4.0”
- [Remove] org.apache.commons.collections4;bundle-version=“4.1.0”
After that I was able to cleanly compile, develop and debug. BTW - I needed the upgrade so I could “Add Optional Input Ports” to my nodes - it was easy and works great!
Unfortunately, now that I am trying to build the project in Jenkins I’m failing because of the exact opposite issue! I’m getting the error:
ERROR  : No suitable provider for component org.apache.commons.commons-collections4:osgi.bundle/4.4.0 was found in resourceMap
Looks like Jenkins is expecting [org.apache.commons.collections4] while the target definition is expecting [org.apache.commons.commons-collections4].
Can somebody please look into this? Log attached.