Skip to content

Commit 81a9884

Browse files
committed
[#1622] Remove JBoss snapshot repository from the build
No reason to keep it. We needed it for testing ORM snapshots, but now they are on the Sonatype repository.
1 parent b414b70 commit 81a9884

File tree

5 files changed

+1
-28
lines changed

5 files changed

+1
-28
lines changed

build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@ subprojects {
148148
}
149149

150150
mavenCentral()
151-
152-
// Example: ./gradlew build -PenableJBossSnapshotsRep
153-
if ( project.hasProperty('enableJBossSnapshotsRep') ) {
154-
// Used only for testing with the latest Hibernate ORM snapshots.
155-
maven { url 'https://repository.jboss.org/nexus/content/repositories/snapshots' }
156-
}
157151
}
158152

159153
ext.publishScript = rootProject.rootDir.absolutePath + '/publish.gradle'

examples/native-sql-example/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ buildscript {
3535
url 'https://plugins.gradle.org/m2/'
3636
}
3737
mavenCentral()
38-
39-
// Example: ./gradlew build -PenableJBossSnapshotsRep
40-
if ( project.hasProperty( 'enableJBossSnapshotsRep' ) ) {
41-
// Used only for testing with the latest Hibernate ORM snapshots.
42-
maven { url 'https://repository.jboss.org/nexus/content/repositories/snapshots' }
43-
}
4438
}
4539
dependencies {
4640
classpath "org.hibernate.orm:hibernate-gradle-plugin:${hibernateOrmGradlePluginVersion}"

examples/session-example/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ buildscript {
3636
url 'https://plugins.gradle.org/m2/'
3737
}
3838
mavenCentral()
39-
40-
// Example: ./gradlew build -PenableJBossSnapshotsRep
41-
if ( project.hasProperty( 'enableJBossSnapshotsRep' ) ) {
42-
// Used only for testing with the latest Hibernate ORM snapshots.
43-
maven { url 'https://repository.jboss.org/nexus/content/repositories/snapshots' }
44-
}
4539
}
4640
dependencies {
4741
classpath "org.hibernate.orm:hibernate-gradle-plugin:${hibernateOrmGradlePluginVersion}"
@@ -99,4 +93,4 @@ task runAllExamplesOnMySQL(
9993

10094
task runAllExamples( dependsOn: ["runAllExamplesOnPostgreSQL", "runAllExamplesOnMySQL"] ) {
10195
description = "Run examples on ${mainClasses}"
102-
}
96+
}

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ org.gradle.java.installations.auto-download=false
3131
# Enable the SonatypeOS maven repository (mainly for Vert.x snapshots) when present (value ignored)
3232
#enableSonatypeOpenSourceSnapshotsRep = true
3333

34-
# Enable the JBoss Snapshot maven repository (mainly for Hibernate ORM snapshots) when present (value ignored)
35-
#enableJBossSnapshotsRep = true
36-
3734
# Enable the maven local repository (for local development when needed) when present (value ignored)
3835
#enableMavenLocalRepo = true
3936

integration-tests/bytecode-enhancements-it/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ buildscript {
3838
url 'https://plugins.gradle.org/m2/'
3939
}
4040
mavenCentral()
41-
42-
// Example: ./gradlew build -PenableJBossSnapshotsRep
43-
if ( project.hasProperty( 'enableJBossSnapshotsRep' ) ) {
44-
// Used only for testing with the latest Hibernate ORM snapshots.
45-
maven { url 'https://repository.jboss.org/nexus/content/repositories/snapshots' }
46-
}
4741
}
4842
dependencies {
4943
classpath "org.hibernate.orm:hibernate-gradle-plugin:${hibernateOrmGradlePluginVersion}"

0 commit comments

Comments
 (0)