@@ -33,71 +33,6 @@ java {
3333	withSourcesJar()
3434}
3535
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- 
10136var signingKey =  resolveSigningKey()
10237var signingPassword =  findSigningProperty( " signingPassword"   )
10338
@@ -237,7 +172,6 @@ tasks.release.dependsOn tasks.test, tasks.publishToSonatype
237172tasks. preVerifyRelease. dependsOn build
238173tasks. preVerifyRelease. dependsOn generateMetadataFileForPublishedArtifactsPublication
239174tasks. preVerifyRelease. dependsOn generatePomFileForPublishedArtifactsPublication
240- tasks. preVerifyRelease. dependsOn generatePomFileForRelocationPomPublication
241175
242176tasks. publishToSonatype. mustRunAfter test
243177
0 commit comments