代码拉取完成,页面将自动刷新
<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/maven-v4_0_0.xsd">
<groupId>com.xxx.xiaomi</groupId>
<artifactId>GitBook-RealityDemo</artifactId>
<version>1.0-SNAPSHOT</version>
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
<build>
<finalName>GitBook-RealityDemo</finalName>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>copy</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo message="******************** gitbook build... ********************"></echo>
<echo message="-- node dir : ${project.basedir}\node"/>
<echo message="-- build dir: ${project.build.directory}"/>
<exec dir="${project.basedir}\node" executable="cmd.exe">
<arg line="/c build.bat"/>
<arg line="/c exit"/>
</exec>
<copy todir="${project.basedir}/src/main/webapp/doc" overwrite="true">
<fileset dir="${project.basedir}\node\_book">
<exclude name="**/*.md"/>
</fileset>
</copy>
</tasks>
</configuration>
</execution>
<execution>
<id>delete</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo message="*****clean*****"/>
<delete dir="${project.basedir}/src/main/webapp/doc"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warSourceExcludes>**/*.js,**/*.css</warSourceExcludes>
<webResources>
<resource>
<!-- this is relative to the pom.xml directory -->
<directory>src/main/webapp</directory>
</resource>
</webResources>
<warName>GitBook-RealityDemo</warName>
</configuration>
</plugin>
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。