Skip to content

Commit 95cb682

Browse files
committed
[fix-34193][root][pom] delete plugins dir in maven clean phase
1 parent d95f04c commit 95cb682

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,26 @@
140140
</gitDescribe>
141141
</configuration>
142142
</plugin>
143+
<plugin>
144+
<artifactId>maven-antrun-plugin</artifactId>
145+
<version>1.8</version>
146+
<executions>
147+
<execution>
148+
<id>clean-plugins</id>
149+
<!-- here the phase you need -->
150+
<phase>clean</phase>
151+
<goals>
152+
<goal>run</goal>
153+
</goals>
154+
<configuration>
155+
<tasks>
156+
<delete dir="plugins"></delete>
157+
<delete dir="sqlplugins"></delete>
158+
</tasks>
159+
</configuration>
160+
</execution>
161+
</executions>
162+
</plugin>
143163
</plugins>
144164
</build>
145165
</project>

0 commit comments

Comments
 (0)