Skip to content

Commit

Permalink
[HOTFIX][DDL-Base] Fix the error that the antrun-maven plugin moves t…
Browse files Browse the repository at this point in the history
…he miss target class. (#1344)
  • Loading branch information
FlechazoW authored Oct 24, 2022
1 parent 26a3ca5 commit 027eb63
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions chunjun-ddl/chunjun-ddl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,33 +87,6 @@
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<!-- here the phase you need -->
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy todir="${basedir}/../../${dist.dir}/ddl-plugins"
file="${basedir}/target/${project.artifactId}-${project.version}.jar"/>
<move file="${basedir}/../../${dist.dir}/ddl-plugins/${project.artifactId}-${project.version}.jar"
tofile="${basedir}/../../${dist.dir}/ddl-plugins/${project.artifactId}.jar"/>
<delete>
<fileset dir="${basedir}/../../${dist.dir}/ddl-plugins"
includes="${project.artifactId}-*.jar"
excludes="${project.artifactId}.jar"/>
</delete>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 027eb63

Please sign in to comment.