how does classpath resolvement work with bundle imports vs package imports? #1910
jcompagner
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i suddenly have a weird problem that the compile classpath which is resolved for a project, resolves to commons-io 2.2
you see that after fileupload1.4 the commons-io 2.2 is added,
file upload has a package import "org.apache.commons.io".
But the thing is the j2db_server project it self also had that but with a version boundary:
org.apache.commons.io;version="2.8.0",
so it should have mapped to at least 2.8 not 2.2
if i change that package import to bundle import:
org.apache.commons.commons-io;bundle-version="2.8.0"
then suddenly it does resolve to 2.11 (not even 2.8)
any idea why that is?
Beta Was this translation helpful? Give feedback.
All reactions