|
|
@@ -570,11 +570,11 @@
|
|
|
<target>1.8</target>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
- <!--<plugin>
|
|
|
+ <plugin>
|
|
|
<groupId>com.samaxes.maven</groupId>
|
|
|
<artifactId>minify-maven-plugin</artifactId>
|
|
|
<version>1.7.4</version>
|
|
|
- <!– 静态文件压缩 –>
|
|
|
+ <!-- 静态文件压缩 -->
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-minify</id>
|
|
|
@@ -630,12 +630,12 @@
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
- </plugin>-->
|
|
|
- <!--<plugin>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
<groupId>com.uas.plugins</groupId>
|
|
|
<artifactId>static-maven-plugin</artifactId>
|
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
|
- <!– 静态资源分离 –>
|
|
|
+ <!-- 静态资源分离 -->
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-static</id>
|
|
|
@@ -653,7 +653,7 @@
|
|
|
<sourceInclude>resources/view/**/*.html</sourceInclude>
|
|
|
<sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
</sourceIncludes>
|
|
|
- <!– http://static.ubtoc.com/css/index.css?_v=1450321871828 –>
|
|
|
+ <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
|
|
|
<versionSuffix>
|
|
|
<suffix>?_v=${timestamp}</suffix>
|
|
|
<exclude>*/require.js,*.min.js,*.min.css</exclude>
|
|
|
@@ -664,8 +664,8 @@
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
- </plugin>-->
|
|
|
- <!--<plugin>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
<version>2.4</version>
|
|
|
@@ -679,7 +679,7 @@
|
|
|
</resource>
|
|
|
</webResources>
|
|
|
</configuration>
|
|
|
- </plugin>-->
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
@@ -692,7 +692,7 @@
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
<pluginManagement>
|
|
|
- <!--<plugins>
|
|
|
+ <plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
@@ -725,7 +725,7 @@
|
|
|
</lifecycleMappingMetadata>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
- </plugins>-->
|
|
|
+ </plugins>
|
|
|
</pluginManagement>
|
|
|
</build>
|
|
|
<distributionManagement>
|