Skip to content

Commit dccfc97

Browse files
committed
HBX-3096: Revert "HBX-3096: Add execution to 'exec-maven-plugin' to perform clean for the Gradle plugin subproject"
- This commit prevents the automated release to work properly This reverts commit 7f5482a.
1 parent 7f5482a commit dccfc97

File tree

1 file changed

+24
-38
lines changed

1 file changed

+24
-38
lines changed

gradle/pom.xml

Lines changed: 24 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -61,44 +61,30 @@
6161
<skip>true</skip>
6262
</configuration>
6363
</plugin>
64-
<!-- execute Gradle command -->
65-
<plugin>
66-
<groupId>org.codehaus.mojo</groupId>
67-
<artifactId>exec-maven-plugin</artifactId>
68-
<executions>
69-
<execution>
70-
<id>gradle-package</id>
71-
<phase>prepare-package</phase>
72-
<configuration>
73-
<executable>${gradle.executable}</executable>
74-
<arguments>
75-
<argument>clean</argument>
76-
<argument>build</argument>
77-
<argument>-PprojectVersion=${project.version}</argument>
78-
<argument>-Ph2Version=${h2.version}</argument>
79-
</arguments>
80-
</configuration>
81-
<goals>
82-
<goal>exec</goal>
83-
</goals>
84-
</execution>
85-
<execution>
86-
<id>gradle-clean</id>
87-
<phase>clean</phase>
88-
<configuration>
89-
<executable>${gradle.executable}</executable>
90-
<arguments>
91-
<argument>clean</argument>
92-
<argument>-PprojectVersion=${project.version}</argument>
93-
<argument>-Ph2Version=${h2.version}</argument>
94-
</arguments>
95-
</configuration>
96-
<goals>
97-
<goal>exec</goal>
98-
</goals>
99-
</execution>
100-
</executions>
101-
</plugin>
64+
<!-- execute Gradle command -->
65+
<plugin>
66+
<groupId>org.codehaus.mojo</groupId>
67+
<artifactId>exec-maven-plugin</artifactId>
68+
<executions>
69+
<execution>
70+
<id>gradle</id>
71+
<phase>prepare-package</phase>
72+
<configuration>
73+
<executable>${gradle.executable}</executable>
74+
<arguments>
75+
<argument>clean</argument>
76+
<argument>build</argument>
77+
<argument>-PprojectVersion=${project.version}</argument>
78+
<argument>-Ph2Version=${h2.version}</argument>
79+
<argument>-Dmaven.repo.local=${settings.localRepository}</argument>
80+
</arguments>
81+
</configuration>
82+
<goals>
83+
<goal>exec</goal>
84+
</goals>
85+
</execution>
86+
</executions>
87+
</plugin>
10288
</plugins>
10389
</build>
10490

0 commit comments

Comments
 (0)