Bump exec-maven-plugin to 3.1.0
diff --git a/fluss-dist/pom.xml b/fluss-dist/pom.xml index dbc7c26..152310b 100644 --- a/fluss-dist/pom.xml +++ b/fluss-dist/pom.xml
@@ -154,25 +154,24 @@ <build> <plugins> <plugin> + <artifactId>maven-clean-plugin</artifactId> + <configuration> + <filesets> + <fileset> + <directory>${project.basedir}/..</directory> + <includes> + <include>build-target</include> + </includes> + </fileset> + </filesets> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.5.0</version> + <version>3.1.0</version> <executions> <execution> - <id>remove-build-target-link</id> - <phase>clean</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <executable>rm</executable> - <arguments> - <argument>-f</argument> - <argument>${project.basedir}/../build-target</argument> - </arguments> - </configuration> - </execution> - <execution> <id>create-build-target-link</id> <phase>package</phase> <goals> @@ -187,6 +186,8 @@ </argument> <argument>${project.basedir}/../build-target</argument> </arguments> + <async>true</async> + <asyncDestroyOnShutdown>true</asyncDestroyOnShutdown> </configuration> </execution> </executions>