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

Support SBT 1.0 #1041

Closed
bharath12345 opened this issue Oct 5, 2017 · 1 comment
Closed

Support SBT 1.0 #1041

bharath12345 opened this issue Oct 5, 2017 · 1 comment

Comments

@bharath12345
Copy link

Expected behaviour

Upgrade from SBT 0.13.16 to 1.0.1 should work

Actual behaviour

plugin jar for SBT 1.0 does not get resolved

Information

  • What sbt-native-packager are you using
    1.2.0

  • What sbt version
    1.0.1

  • What scala version
    2.12

  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
    MacOS

  • What package are you building (e.g. docker, rpm, ...)
    zip (universal) and docker

Do I have to add any new repo to the resolvers? If so, what exactly?

This works:
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.10/sbt_0.13/1.2.0/jars/sbt-native-packager.jar ...
[info] [SUCCESSFUL ] com.typesafe.sbt#sbt-native-packager;1.2.0!sbt-native-packager.jar (8450ms)

This does NOT work:
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0//1.2.0/ivys/ivy.xml
...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-native-packager;1.2.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

This ALSO does NOT work:
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.10/sbt_1.0//1.2.0/ivys/ivy.xml
...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-native-packager;1.2.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

@muuki88
Copy link
Contributor

muuki88 commented Oct 5, 2017

Thanks for your question. You are not using the SBT 1.0 compatible version. 1.2.2 is the first version supporting SBT 1.x.
See https://github.com/sbt/sbt-native-packager/releases/tag/v1.2.2

@muuki88 muuki88 closed this as completed Oct 5, 2017
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