@@ -33,71 +33,6 @@ java {
33
33
withSourcesJar()
34
34
}
35
35
36
- publishing {
37
- publications {
38
- // main publication
39
- publishedArtifacts {
40
- from components. java
41
- }
42
-
43
- // relocation for the published artifacts based on the old groupId
44
- relocationPom( MavenPublication ) {
45
- pom {
46
- name = project. name + ' - relocation'
47
- groupId = ' org.hibernate'
48
- artifactId = project. name
49
- version = project. version
50
-
51
- description = project. description
52
- url = ' https://hibernate.org/orm'
53
-
54
- organization {
55
- name = ' Hibernate.org'
56
- url = ' https://hibernate.org'
57
- }
58
-
59
- licenses {
60
- license {
61
- name = ' GNU Library General Public License v2.1 or later'
62
- url = ' https://www.opensource.org/licenses/LGPL-2.1'
63
- comments = ' See discussion at https://hibernate.org/community/license/ for more details.'
64
- distribution = ' repo'
65
- }
66
- }
67
-
68
- scm {
69
- url = ' https://github.com/hibernate/hibernate-orm'
70
- connection = ' scm:git:https://github.com/hibernate/hibernate-orm.git'
71
- developerConnection
= ' scm:git:[email protected] :hibernate/hibernate-orm.git'
72
- }
73
-
74
- developers {
75
- developer {
76
- id = ' hibernate-team'
77
- name = ' The Hibernate Development Team'
78
- organization = ' Hibernate.org'
79
- organizationUrl = ' https://hibernate.org'
80
- }
81
- }
82
-
83
- issueManagement {
84
- system = ' jira'
85
- url = ' https://hibernate.atlassian.net/browse/HHH'
86
- }
87
-
88
- distributionManagement {
89
- relocation {
90
- groupId = ' org.hibernate.orm'
91
- artifactId = project. name
92
- version = project. version
93
- }
94
- }
95
- }
96
- }
97
- }
98
- }
99
-
100
-
101
36
var signingKey = resolveSigningKey()
102
37
var signingPassword = findSigningProperty( " signingPassword" )
103
38
@@ -237,7 +172,6 @@ tasks.release.dependsOn tasks.test, tasks.publishToSonatype
237
172
tasks. preVerifyRelease. dependsOn build
238
173
tasks. preVerifyRelease. dependsOn generateMetadataFileForPublishedArtifactsPublication
239
174
tasks. preVerifyRelease. dependsOn generatePomFileForPublishedArtifactsPublication
240
- tasks. preVerifyRelease. dependsOn generatePomFileForRelocationPomPublication
241
175
242
176
tasks. publishToSonatype. mustRunAfter test
243
177
0 commit comments