scalacenter / scaladex

The Scala Package Index
https://index.scala-lang.org
BSD 3-Clause "New" or "Revised" License
198 stars 76 forks source link

BintrayDownloadSbtPlugins should also read maven style (poms). #503

Open MasseGuillaume opened 7 years ago

MasseGuillaume commented 7 years ago

When we search Bintray for plugins under https://bintray.com/sbt/sbt-plugin-releases/ we assume ivy releases.

plugins can publish with maven style, for example:

https://bintray.com/laughedelic/sbt-plugins/literator

/cc @laughedelic

laughedelic commented 7 years ago

Isn't it published ivy style? In the Files tab of the 0.7.1 version I see

docs
ivys
jars
srcs

The v0.7.0 is published maven style, but this was exactly the reason I published 0.7.1.

MasseGuillaume commented 7 years ago

Aw, good catch. So by default sbt has a ivy resolver for sbt/sbt-plugin-releases ?

laughedelic commented 7 years ago

sbt-bintray sets publishMavenStyle depending on the value of sbtPlugin. So it should publish plugins ivy-style. And yes, as far as I know there is an ivy resolver in for sbt-plugin-releases in the default resolver chain.