sbt-maven-resolver no longer available in 1.0.x
See original GitHub issue(See the guidelines for contributing, linked above)
steps
Add the maven resolver plugin to any project by putting
addMavenResolverPlugin
in project/plugins.sbt
problem
The project can’t be loaded due to the fact that org.scala-sbt:sbt-maven-resolver:1.0.0 cannot be resolved.
expectation
notes
I don’t know if this plugin is supported in the 1.0.x series, but the settings hook function is still available in the global API. I propose that it should be either removed, or replaced with an implementation that just logs the fact that the plugin is not available/compatible with 1.0.x
sbt version: insert sbt version
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:16 (5 by maintainers)
Top Results From Across the Web
sbt Reference Manual — Resolvers
Resolvers for Maven repositories are added as follows: ... sbt provides an interface to the repository types available in Ivy: file, URL, SSH,...
Read more >SBT 1.x fails to resolve parent pom - Stack Overflow
Found a workaround for this issue. Looks like there is a bug in new http client. So setting updateOptions := updateOptions.value.
Read more >sbt-maven-resolver - Scaladex
An sbt plugin to resolve dependencies using Aether (Maven's dependency resolver) together with Apache Ivy. It solves the problems: sbt does not resolve...
Read more >sbt Repository - Cloudsmith Help
sbt is an open-source build tool for Scala and Java projects. Its main features are native support for compiling Scala code and integrating...
Read more >Project Info » Maven Repository - Spray.io
The latest spray releases are available from Maven Central, so no special resolver should be ... If you use SBT you'll want to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I discovered
addMavenResolverPlugin
andsbt-maven-resolver
in the SBT documentation while I was trying to overcome multiple integration issues between SBT and Maven during our company’s migration to SBT.For example, this is the only available way to have libraries released truly in Maven style, including updating the
maven-metadata.xml
file that many plugins are depending upon.When I read the documentation (http://www.scala-sbt.org/1.0/docs/Combined+Pages.html#Maven+resolver+plugin and #1793) I still think that this is a useful plugin and removing it without putting a better integration with Maven in place, feels like a huge step backwards.
@dwijnand, wouldn’t it make more sense to port it to SBT 1.0 instead of deprecating it in #3781?
I’m not familiar with sbt sources yet, but I’ll give it a try.