|
|
@@ -382,7 +382,7 @@
|
|
|
</resources>
|
|
|
<!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
<plugins>
|
|
|
- <!--<plugin>
|
|
|
+ <plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
<version>1.3</version>
|
|
|
@@ -402,7 +402,7 @@
|
|
|
</items>
|
|
|
</configuration>
|
|
|
</configuration>
|
|
|
- </plugin>-->
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
@@ -416,7 +416,7 @@
|
|
|
<artifactId>minify-maven-plugin</artifactId>
|
|
|
<version>1.7.4</version>
|
|
|
<!-- 静态文件压缩 -->
|
|
|
- <!--<executions>
|
|
|
+ <executions>
|
|
|
<execution>
|
|
|
<id>default-minify</id>
|
|
|
<phase>prepare-package</phase>
|
|
|
@@ -449,9 +449,9 @@
|
|
|
<goal>minify</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
- </executions>-->
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
- <!--<plugin>
|
|
|
+ <plugin>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
@@ -476,7 +476,7 @@
|
|
|
<groupId>com.uas.plugins</groupId>
|
|
|
<artifactId>static-maven-plugin</artifactId>
|
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
|
- <!– 静态资源分离 –>
|
|
|
+ <!-- 静态资源分离 -->
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-static</id>
|
|
|
@@ -494,7 +494,7 @@
|
|
|
<sourceInclude>resources/tpl/**/*.html</sourceInclude>
|
|
|
<sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
</sourceIncludes>
|
|
|
- <!–http://static.ubtob.com/css/index.css?_v=1450321871828–>
|
|
|
+ <!--http://static.ubtob.com/css/index.css?_v=1450321871828-->
|
|
|
<versionSuffix>
|
|
|
<suffix>?_v=${timestamp}</suffix>
|
|
|
<exclude>*/require.js,*.min.js,*.min.css</exclude>
|
|
|
@@ -505,7 +505,7 @@
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
- </plugin>-->
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-war-plugin</artifactId>
|