Skip to content

Commit fb90792

Browse files
committed
HBX-3096: Add execution to 'exec-maven-plugin' to perform clean for the Gradle plugin subproject
- Remove the unneeded dependency section - Restore the '-Dmaven.repo.local' argument to the 'gradle-package' execution of the exec-maven-plugin - Fix the wrong arguments in the 'gradle-clean' execution of the exec-maven-plugin Signed-off-by: Koen Aers <[email protected]>
1 parent 36122bd commit fb90792

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

gradle/pom.xml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@
4444
<gradle.executable>./gradlew</gradle.executable>
4545
</properties>
4646

47-
<dependencies>
48-
<dependency>
49-
<groupId>org.hibernate.tool</groupId>
50-
<artifactId>hibernate-tools-orm</artifactId>
51-
</dependency>
52-
</dependencies>
53-
5447
<build>
5548
<plugins>
5649
<!-- Maven deploy is skipped on purpose as Gradle build will stage the artifact itself. -->
@@ -75,6 +68,7 @@
7568
<argument>clean</argument>
7669
<argument>build</argument>
7770
<argument>-Pversion=${project.version}</argument>
71+
<argument>-Dmaven.repo.local=${settings.localRepository}</argument>
7872
</arguments>
7973
</configuration>
8074
<goals>
@@ -88,8 +82,7 @@
8882
<executable>${gradle.executable}</executable>
8983
<arguments>
9084
<argument>clean</argument>
91-
<argument>-PprojectVersion=${project.version}</argument>
92-
<argument>-Ph2Version=${h2.version}</argument>
85+
<argument>-Pversion=${project.version}</argument>
9386
</arguments>
9487
</configuration>
9588
<goals>

0 commit comments

Comments
 (0)