Skip to content

Commit 36122bd

Browse files
committed
HBX-3096: Add execution to 'exec-maven-plugin' to perform clean for the Gradle plugin subproject
Signed-off-by: Koen Aers <[email protected]>
1 parent 5ed38cf commit 36122bd

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

gradle/pom.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,29 @@
6767
<artifactId>exec-maven-plugin</artifactId>
6868
<executions>
6969
<execution>
70-
<id>gradle</id>
70+
<id>gradle-package</id>
7171
<phase>prepare-package</phase>
7272
<configuration>
7373
<executable>${gradle.executable}</executable>
7474
<arguments>
7575
<argument>clean</argument>
7676
<argument>build</argument>
7777
<argument>-Pversion=${project.version}</argument>
78-
<argument>-Dmaven.repo.local=${settings.localRepository}</argument>
78+
</arguments>
79+
</configuration>
80+
<goals>
81+
<goal>exec</goal>
82+
</goals>
83+
</execution>
84+
<execution>
85+
<id>gradle-clean</id>
86+
<phase>clean</phase>
87+
<configuration>
88+
<executable>${gradle.executable}</executable>
89+
<arguments>
90+
<argument>clean</argument>
91+
<argument>-PprojectVersion=${project.version}</argument>
92+
<argument>-Ph2Version=${h2.version}</argument>
7993
</arguments>
8094
</configuration>
8195
<goals>

0 commit comments

Comments
 (0)