I did some more investigation
- using a different machine
- delete & fresh install of the IDE
- important shelly binding as existing maven project to the IDE
- set git upstream to my repo
- run mvn from the main branch with -Dohc.version=3.0.1
- saw downloading files with /3.0.1
- build was successful
- copied the shelly jar to a 3.1M3 (RPi4 with Zulu 11)
and it works!!
BUT
(same machine)
- I switchd to the Shelly 3.1-5 branch
- ran the same mvn command
- again a bunch of files were downloaded (mustly checksdtyle and findbug) - why? I’m pretty sure they didn’t changed within 10minutes
- copied to the RPi
- and it DOESN’T work, same issue unable to resolve the component
THEN
- I repeated procediure 1 to delete and re-install the IDE
- run mvn with -Dohc.version=3.0.1
- build successful, but jar doesn’t run
I’m pretty sure I could repeat it 10 times and it will fail.
It seems that the initial build process runs well, but afterwards something is downloaded/updated, which adds a dependincy to the new OSGi version.
@wborn Could you do me a favor and repeat the test on your machine, but
- build on the main branch with 3.0.1, try jar
- switch to shelly_snapshort3.1-5 branch
- build again for 3.0.1 core and try again
Are there any cached files I could delete - what’s about the bundle pool?
PS: Thanks for supporting me