Skip to content

Commit

Permalink
HHH-13069 Go back to non-SSL links for our JBoss Nexus repositories
Browse files Browse the repository at this point in the history
Using SSL repositories with JDK 11 ends up with the error below:
javax.net.ssl.SSLHandshakeException: extension (10) should not be presented in server_hello

This is a bug in JDK 11 that will apparently be fixed in the next update
(planned for January 2019).

Until then, we need to use non-SSL links.

For more information:
https://stackoverflow.com/questions/52016415/jdk-11-ssl-error-on-valid-certificate-working-in-previous-versions
https://bugs.openjdk.java.net/browse/JDK-8209965 - JDK 12 issue
https://bugs.openjdk.java.net/browse/JDK-8210005 - JDK 11 issue
  • Loading branch information
gsmet committed Nov 5, 2018
1 parent 88b3edf commit e67f3df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
mavenCentral()
maven {
name 'jboss-snapshots'
url 'https://repository.jboss.org/nexus/content/repositories/snapshots/'
url 'http://repository.jboss.org/nexus/content/repositories/snapshots/'
}
}
dependencies {
Expand All @@ -38,7 +38,7 @@ allprojects {
mavenCentral()
maven {
name "jboss-snapshots"
url "http://snapshots.jboss.org/maven2/"
url "http://repository.jboss.org/nexus/content/repositories/snapshots/"
}
//Allow loading additional dependencies from a local path;
//useful to load JDBC drivers which can not be distributed in public.
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repositories {
jcenter()
maven {
name 'jboss-releases'
url 'https://repository.jboss.org/nexus/content/repositories/releases/'
url 'http://repository.jboss.org/nexus/content/repositories/releases/'
}
maven {
name 'jboss-snapshots'
url 'https://repository.jboss.org/nexus/content/repositories/snapshots/'
url 'http://repository.jboss.org/nexus/content/repositories/snapshots/'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ repositories {
mavenCentral()
maven {
name 'jboss-public'
url 'https://repository.jboss.org/nexus/content/groups/public/'
url 'http://repository.jboss.org/nexus/content/groups/public/'
}
}
Expand Down
2 changes: 1 addition & 1 deletion hibernate-orm-modules/hibernate-orm-modules.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repositories {
mavenCentral()
maven {
name 'jboss-public'
url 'https://repository.jboss.org/nexus/content/groups/public/'
url 'http://repository.jboss.org/nexus/content/groups/public/'
}
}

Expand Down

0 comments on commit e67f3df

Please sign in to comment.