question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
jgoniancommented, Dec 10, 2017

I discovered addMavenResolverPlugin and sbt-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?

1reaction
slandellecommented, Nov 29, 2017

I’m not familiar with sbt sources yet, but I’ll give it a try.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found