`updateSbtClassifiers` tried wrong bintray doc and src address.

40 views
Skip to first unread message

Chung Cause

unread,
Aug 30, 2017, 10:48:31 AM8/30/17
to sbt-dev
## steps
Use IDEA refresh project via sbt-shell with "Download sbt and plugin src and doc" checked.


## problem
IDEA executed `updateSbtClassifiers` and failed to download src and doc because of wrong uri:
```
https://dl.bintray.com/cuzfrog/maven/com/github/cuzfrog/sbt-tmpfs_2.12_1.0/0.3.0/sbt-tmpfs-0.3.0-sources.jar
```

and it did not try
```
https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.github.cuzfrog/sbt-tmpfs/scala_2.12/sbt_1.0//0.3.0/docs/sbt-tmpfs-javadoc.jar
```
## notes

use `reload plugins` then `updateClassifiers` worked around this.
sbt 0.13.16 works fine without this problem.


sbt version: *1.0.0*

eugene yokota

unread,
Aug 30, 2017, 10:50:50 AM8/30/17
to sbt-dev
Hi,

This sounds like something specific to IntelliJ, if so it might be better to report to them directly.

-eugene
Message has been deleted

Chung Cause

unread,
Aug 31, 2017, 1:12:09 AM8/31/17
to sbt-dev
`updateSbtClassifiers` is an sbt phrase, IntelliJ uses it.

This problem does not occur in sbt 0.13.16, that means under previous version `updateSbtClassifiers` is fine.

Aleh Aleshka

unread,
Nov 6, 2017, 1:44:01 PM11/6/17
to sbt-dev
Hi Eugene.
This is not specific to intellij. `updateSbtClassifiers` is just broken in 1.0 https://github.com/sbt/sbt/issues/3432.

Oleg.

Aleh Aleshka

unread,
Nov 6, 2017, 1:45:36 PM11/6/17
to sbt-dev
I reported it to intellij just to complete the circle https://youtrack.jetbrains.com/issue/SCL-12788
Reply all
Reply to author
Forward
0 new messages