From 16fe1716c4d47b44c364bdcb0927445ac4988f81 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Mon, 2 Dec 2024 13:16:27 +0100 Subject: [PATCH] HBX-2936 Install gradle plugin with build-helper-maven-plugin as it is build by Gradle, and we need to add an extra jar to the artifacts we publish --- gradle/pom.xml | 37 +++++++++++++++++++++++++++++++++++-- pom.xml | 2 ++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/gradle/pom.xml b/gradle/pom.xml index a5a50e12c8..a020bf21bc 100644 --- a/gradle/pom.xml +++ b/gradle/pom.xml @@ -16,7 +16,7 @@ --> - + 4.0.0 @@ -26,6 +26,7 @@ hibernate-tools-gradle + pom Hibernate Tools Gradle Plugin Gradle plugin to provide hibernate-tools reverse engineering and code/schema generation abilities. @@ -37,9 +38,19 @@ + + false + ./gradlew - + + + + org.hibernate.tool + hibernate-tools-orm + + + @@ -64,6 +75,28 @@ + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + ${project.basedir}/plugin/build/libs/${project.artifactId}-${project.version}.jar + jar + + + + + + diff --git a/pom.xml b/pom.xml index 92031ddc9d..714969f742 100644 --- a/pom.xml +++ b/pom.xml @@ -337,6 +337,8 @@ ossrh + + true