Skip to content

Commit ff10f89

Browse files
committed
feat[litemall-all]: all模块自动打包litemall-vue的dist文件夹到static/vue
1 parent f75bf9d commit ff10f89

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

litemall-all/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,27 @@
5757
</executions>
5858
</plugin>
5959

60+
<plugin>
61+
<artifactId>maven-resources-plugin</artifactId>
62+
<executions>
63+
<execution>
64+
<id>copy-resources-vue</id>
65+
<phase>validate</phase>
66+
<goals>
67+
<goal>copy-resources</goal>
68+
</goals>
69+
<configuration>
70+
<outputDirectory>${basedir}/target/classes/static/vue</outputDirectory>
71+
<resources>
72+
<resource>
73+
<directory>../litemall-vue/dist</directory>
74+
</resource>
75+
</resources>
76+
</configuration>
77+
</execution>
78+
</executions>
79+
</plugin>
80+
6081

6182
</plugins>
6283
</build>

0 commit comments

Comments
 (0)