lightbend / lightbend-markdown

Support for writing Lagom documentation in Markdown
Apache License 2.0
5 stars 5 forks source link

Publish to sbt community repo #14

Open eed3si9n opened 5 years ago

eed3si9n commented 5 years ago

Originally reported by @dwijnand as https://github.com/sbt/sbt/issues/4825

steps

  1. try with sbt 1.3.0-RC2

problem

Can't resolve it.

[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.lightbend.markdown:sbt-lightbend-markdown:1.7.0 (sbtVersion=1.0, scalaVersion=2.12)
[warn] 
[warn]  Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.lightbend.markdown:sbt-lightbend-markdown;sbtVersion=1.0;scalaVersion=2.12:1.7.0
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/lightbend/markdown/sbt-lightbend-markdown_2.12_1.0/1.7.0/sbt-lightbend-markdown-1.7.0.pom
[error]   not found: /home/travis/.ivy2/local/com.lightbend.markdown/sbt-lightbend-markdown/scala_2.12/sbt_1.0/1.7.0/ivys/ivy.xml
[error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.lightbend.markdown/sbt-lightbend-markdown/scala_2.12/sbt_1.0/1.7.0/ivys/ivy.xml

expectation

sbt-lightbend-markdown should be published either to Maven Central or sbt community repo like most of other sbt plugins.

notes

https://github.com/lightbend/lightbend-markdown/blob/ab7a0b4c0a1abd5dda1b54cf47f2a68f8ccdf5ae/build.sbt#L75-L77

sbt-lightbend-markdown uses typesafe-ivy-releases, which is currently mostly not in use except by sbt 0.13.

dwijnand commented 5 years ago

This is a regression in sbt 1.3.0-RC2, which is being resolved by https://github.com/sbt/sbt/pull/4829