Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package conflicts due to updates #19

Closed
carlosedp opened this issue Jul 27, 2022 · 5 comments
Closed

Package conflicts due to updates #19

carlosedp opened this issue Jul 27, 2022 · 5 comments

Comments

@carlosedp
Copy link

We've seen some package conflicts related to scala-xml library. After updating the sbt-scoverage plugin (ref), I started getting errors due to the use of scala-xml 1.2 (newer plugins started using 2.1). I tracked down to sbt-dependency-updates since it uses scalariform and artifact-versions.

[success] Total time: 2 s, completed Jul 27, 2022, 2:05:24 PM
[error] java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] 	* org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.2.0}
[error] 	    +- org.scoverage:scalac-scoverage-reporter_2.12:2.0.1 (depends on 2.1.0)
[error] 	    +- org.scalariform:scalariform_2.12:0.2.10            (depends on 1.2.0)
[error] 	    +- org.jmotor.artifact:artifact-versions_2.12:1.0.6   (depends on 1.2.0)

Is there anything that can be done here to mitigate this?
Thanks

@carlosedp
Copy link
Author

I've opened:

As they get merged and published, we can bump them here too.

@aiyanbo
Copy link
Owner

aiyanbo commented Aug 5, 2022

I am very sorry for taking so long to reply to you, this issue will be solved within the next two days.

@carlosedp
Copy link
Author

Thanks!

@carlosedp
Copy link
Author

@aiyanbo please check scala-ide/scalariform#294 (comment) comment.

@aiyanbo aiyanbo closed this as completed in a9aebf1 Aug 8, 2022
@carlosedp
Copy link
Author

Awesome! Just merged and bumped the conflicting lib as well (scoverage) and worked perfectly.
Thanks a lot, this is by far the best dependency check plugin for SBT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants