Skip to content

Workaround #77 use maven central over http (fix #77) #79

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

Closed
wants to merge 1 commit into from

Conversation

MasseGuillaume
Copy link
Contributor

No description provided.

@MasseGuillaume
Copy link
Contributor Author

@julienrf all green.

@MasseGuillaume MasseGuillaume changed the title Workaround #77 use maven central over http Workaround #77 use maven central over http (fix #77) Jul 2, 2018
@julienrf julienrf requested a review from lrytz July 2, 2018 12:42
@@ -5,7 +5,7 @@ scala:
- 2.12.6
- 2.13.0-M4
jdk:
- openjdk7
- openjdk6
Copy link
Member

Choose a reason for hiding this comment

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

i think we still need the explicit jdk_switcher command, no? f43e772#diff-354f30a63fb0907d4ad57269548329e3L48

local
local-preloaded-ivy: file:///${sbt.preloaded-${sbt.global.base-${user.home}/.sbt}/preloaded/}, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
local-preloaded: file:///${sbt.preloaded-${sbt.global.base-${user.home}/.sbt}/preloaded/}
maven-central-over-http: http://repo1.maven.org/maven2/
Copy link
Member

Choose a reason for hiding this comment

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

so there's also an issue with downloading from maven central, which is worked around here? this doesn't fix publishing to sonatype, right? could you explain in the commit message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, we should also change the publishTo to http.

https://github.com/scala/sbt-scala-module/blob/5c7c76c003cf681ca8d3199bec4cc8b8477942eb/src/main/scala/ScalaModulePlugin.scala#L117-L119

It's using:

> show compat/publishTo
[info] Some(sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots)

However, this would be a security vulnerability. I will close this PR. The other solution to use jdk8 for sbt but use annother jdk forking makes sense.

martijnhoekstra pushed a commit to martijnhoekstra/scala-collection-compat that referenced this pull request Nov 9, 2022
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.

2 participants