-
Notifications
You must be signed in to change notification settings - Fork 56
Maven Build Issue #240
Comments
I can't reproduce this in a project that I created from scratch, so I don't know if your "To reproduce" instructions are assuming something about a pre-existing project, or if there's something different in my environment. Is there any more contextual information that might be in your log output, besides the four lines you quoted? A couple of things here look odd to me:
|
Just to be clear, these are only compiler warnings and are not causing you runtime problems... right? |
Yeah the "To reproduce" instructions are assuming something about a pre-existing project but I'm unsure what that is. I couldn't reproduce the issue myself either. These are compiler warnings yes and I actually copy/pasted old logs. The updated logs would be
This issue has occurred with every upgrade of the jar since
|
Well, I'm not sure why I am unable to reproduce this, but I know we should not be setting In any case, can you clarify whether this is causing you problems other than the appearance of the warnings in the build log? |
(We intend to fix this before too long no matter what, since the Jackson dependency is a regression that we had already tried to fix in 5.5.0, but we would of course prioritize this higher if it is actively causing problems.) |
Great sounds good thank you! This does not cause any problems other than the appearance of the warnings in the build log |
This issue should probably be closed, as we are also helping them over in support. |
@brooswit I'd rather leave this issue open, since removing the Class-Path header and the spurious Jackson dependencies is a real fix that we intend to make in any case. When we release the fix, I'll reference this issue in the changelog and close it— that's how we normally handle any bug that was reported in GitHub if it results in an SDK change. |
@michaelli321 When you have a chance, could you please retest with the 5.6.1 release of |
yes the warnings have gone away now, thank you @eli-darkly! |
Glad that worked. Thanks for bringing this to our attention. |
Describe the bug
I just added
to my
pom.xml
and I'm running into multiplebad path element
warnings when building using Maven.To reproduce
add dependency to
pom.xml
and runmvn clean install
Expected behavior
A clean build
Logs
SDK version
5.5.0
Language version, developer tools
Java 11 and Maven version 3.6.1
OS/platform
MacOS Catalina 10.15.7
The text was updated successfully, but these errors were encountered: