Skip to content

Conversation

@ashawley
Copy link
Member

After #246, the build is broken for JDK6. This workaround fixes it by hard-coding HTTP repos for sbt.

This might be an alternative to upgrading to JDK7, see #237.

More information at scala/sbt-scala-module#41

@SethTisue
Copy link
Member

cool!

I guess if we've separately built/tested on JDK 6, then there's no downside to actually publishing from JDK 8...?

@ashawley
Copy link
Member Author

I don't know how publishing works. If it's HTTPS, it may be trouble.

@SethTisue
Copy link
Member

eh? I'm saying we should publish from JDK 8

@ashawley
Copy link
Member Author

Sorry, I hadn't seen your comment. I was just adding an additional comment on this PR, so it wasn't a response to your comment.

I don't understand your JDK8 comment, but maybe discuss further on scala/sbt-scala-module#41?

@SethTisue
Copy link
Member

okay

@SethTisue SethTisue merged commit 7e8a496 into scala:master Jul 30, 2018
@ashawley
Copy link
Member Author

Thanks, Seth!

@ashawley ashawley deleted the http-maven-resolver branch July 30, 2018 20:39
gourlaysama added a commit to gourlaysama/scala-parser-combinators that referenced this pull request Oct 8, 2018
Workaround the lack of TLS 1.2 support in JDK6 by using http to talk to
maven central, as done in scala/scala-xml#247.

See scala/sbt-scala-module#41.

Fixes scala#169.
gourlaysama added a commit to gourlaysama/scala-parser-combinators that referenced this pull request Oct 8, 2018
Workaround the lack of TLS 1.2 support in JDK6 by using http to talk to
maven central, as done in scala/scala-xml#247.

See scala/sbt-scala-module#41.

Fixes scala#169.
@ashawley ashawley mentioned this pull request Jan 31, 2019
@JLLeitschuh
Copy link

This change has introduced a security vulnerability into this library.

@SethTisue
Copy link
Member

good point. let's discuss at scala/sbt-scala-module#41 rather than here, since multiple Scala modules are affected

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.

3 participants