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

Added Scala and SBT path fragments for Ivy repo pattern #895

Closed
wants to merge 1 commit into from

Conversation

jochenschneider
Copy link

@jochenschneider
Copy link
Author

I just signed the CLA.

@@ -40,7 +40,7 @@ The default configuration file for sbt as an application looks like:

[repositories]
local
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But typesafe-ivy-releases hosts sbt 0.13 artifacts like this https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.18/ so I am not sure if this is necessary.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, didn't realize that it was that they were for. I just used this line as a template for setting up our own repos, which then failed. The other option I see would be to document scalaVersion and sbtVersion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need those to resolve extra properties set on sbt plugins. So https://github.com/sbt/website/blob/develop/src/reference/02-DetailTopics/03-Dependency-Management/04-Proxy-Repositories.md does say:

   my-ivy-proxy-releases: http://repo.company.com/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to add:

  # not actually in the default launcher, but added for documentation
  my-ivy-proxy-releases: http://repo.company.com/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
  my-maven-proxy-releases: http://repo.company.com/maven-releases/

rather than changing typesafe-ivy-releases from what's actually being shipped.

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

Successfully merging this pull request may close these issues.

None yet

2 participants