fix: 打包出错

This commit is contained in:
taojinlong
2025-09-18 15:04:34 +08:00
parent d385411118
commit 4257aaab2b

View File

@@ -173,28 +173,28 @@
</filesets>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-antrun-plugin</artifactId>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>copy-front-2-back</id>-->
<!-- <phase>generate-resources</phase>-->
<!-- <configuration>-->
<!-- <target>-->
<!-- <copy todir="src/main/resources/static">-->
<!-- <fileset dir="../core-frontend/dist">-->
<!-- <include name="**"/>-->
<!-- </fileset>-->
<!-- </copy>-->
<!-- </target>-->
<!-- </configuration>-->
<!-- <goals>-->
<!-- <goal>run</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-front-2-back</id>
<phase>generate-resources</phase>
<configuration>
<target>
<copy todir="src/main/resources/static">
<fileset dir="../core-frontend/dist">
<include name="**"/>
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>