2 Star 3 Fork 1

JRebelX/GitBook-RealityDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 3.22 KB
一键复制 编辑 原始数据 按行查看 历史
CCCCP 提交于 2019-01-09 14:40 . init
<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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/HDMBS/GitBook-RealityDemo.git
git@gitee.com:HDMBS/GitBook-RealityDemo.git
HDMBS
GitBook-RealityDemo
GitBook-RealityDemo
master

搜索帮助