代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>hsmdp-frontend-demo</artifactId>
<groupId>com.halosee</groupId>
<version>3.1.1</version>
</parent>
<name>fvue-demo</name>
<packaging>war</packaging>
<artifactId>fvue-demo</artifactId>
<description>fvue模板示例工程</description>
<version>3.1.1</version>
<properties>
<sonar.projectName>fvue-demo</sonar.projectName>
</properties>
<!-- 解决maven默认会打包两次的问题。不需要进行jar包编译操作 begin -->
<profiles>
<profile>
<id>development-mode</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
</profiles>
<!-- 解决maven默认会打包两次的问题。不需要进行jar包编译操作 end -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<webappDirectory>target/fvue-demo</webappDirectory>
<warSourceDirectory>dist</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warName>fvue-demo</warName>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin-version}</version>
<configuration>
<!-- 若不方便访问官网,可使用国内淘宝镜像-->
<nodeDownloadRoot>${download.node.url}</nodeDownloadRoot>
<npmDownloadRoot>${download.npm.url}</npmDownloadRoot>
<yarnDownloadRoot>${download.yarn.url}</yarnDownloadRoot>
<npmRegistryURL>${registry.npm.url}</npmRegistryURL>
<workingDirectory>./</workingDirectory>
<nodeVersion>${build.node.version}</nodeVersion>
<yarnVersion>${build.yarn.version}</yarnVersion>
<installDirectory>target</installDirectory>
</configuration>
<executions>
<!--李勤 2021-01-22 默认关闭安装nodejs和npm插件到model路径,需开发人员自己安装nodejs,注意版本号-->
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<phase>generate-resources</phase>
</execution>
<execution>
<id>yarn config</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set sass_binary_site ${sass.yarn.url}</arguments>
<workingDirectory>./target/</workingDirectory>
</configuration>
</execution>
<execution>
<id>yarn config taobao</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set registry ${download.yarn.url}</arguments>
<workingDirectory>./target/</workingDirectory>
</configuration>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install </arguments>
<workingDirectory>./target/</workingDirectory>
</configuration>
</execution>
<execution>
<id>yarn run build</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>run build</arguments>
<workingDirectory>./target/</workingDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。