Skip to content

Commit 09b12ac

Browse files
marko-bekhtasebersole
authored andcommitted
Make sure that the maven plugin is included in the staging dir for releases [HHH-19940]
1 parent 1598d66 commit 09b12ac

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

tooling/hibernate-maven-plugin/hibernate-maven-plugin.gradle

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
*/
55

66
plugins {
7-
id "local.java-module"
8-
id "local.publishing"
9-
id "local.code-quality"
7+
id "local.publishing-java-module"
108
id "org.gradlex.maven-plugin-development" version "1.0.3"
119
}
1210

@@ -42,21 +40,6 @@ dependencies {
4240
intTestRuntimeOnly 'org.apache.maven.resolver:maven-resolver-connector-basic:1.9.24'
4341
}
4442

45-
def releasePrepareTask = tasks.register("releasePrepare") {
46-
group "release-prepare"
47-
description "See :release:releasePrepare for details. Here we hook in the `check` task."
48-
49-
dependsOn tasks.check
50-
}
51-
52-
// used from the h2 CI job
53-
tasks.register("preVerifyRelease") {
54-
group "release-prepare"
55-
description "Delegates to `releasePrepare` task"
56-
57-
dependsOn releasePrepareTask
58-
}
59-
6043
tasks.register('integrationTest', Test) {
6144
description = 'Runs integration tests.'
6245
group = 'verification'
@@ -75,8 +58,6 @@ tasks.forbiddenApisIntTest {
7558

7659
var publishingExtension = project.getExtensions().getByType(PublishingExtension) as PublishingExtension
7760
publishingExtension.publications.named("publishedArtifacts") {
78-
from components.java
79-
8061
// Adjust the pom for 3 things:
8162
// 1. set packaging to maven-plugin (org.gradlex.maven-plugin-development does not in my testing)
8263
// 2. scope of org.apache.maven dependencies

0 commit comments

Comments
 (0)