|
@@ -14,51 +14,4 @@
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>com.github.eirslett</groupId>
|
|
|
- <artifactId>frontend-maven-plugin</artifactId>
|
|
|
- <version>1.6</version>
|
|
|
- <configuration>
|
|
|
- <workingDirectory>.</workingDirectory>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>install node and npm</id>
|
|
|
- <goals>
|
|
|
- <goal>install-node-and-npm</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <nodeVersion>v16.13.1</nodeVersion>
|
|
|
- <npmVersion>8.1.2</npmVersion>
|
|
|
- <nodeDownloadRoot>https://npm.taobao.org/mirrors/node/</nodeDownloadRoot>
|
|
|
- <npmDownloadRoot>https://registry.npm.taobao.org/npm/-/</npmDownloadRoot>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- <!-- Install all project dependencies -->
|
|
|
- <execution>
|
|
|
- <id>npm install</id>
|
|
|
- <goals>
|
|
|
- <goal>npm</goal>
|
|
|
- </goals>
|
|
|
- <phase>generate-resources</phase>
|
|
|
- <configuration>
|
|
|
- <arguments>install</arguments>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- <!-- Build and minify static files -->
|
|
|
- <execution>
|
|
|
- <id>npm run build</id>
|
|
|
- <goals>
|
|
|
- <goal>npm</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <arguments>run build:prod</arguments>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
</project>
|