|
@@ -29,10 +29,7 @@
|
|
|
<!-- static plugin -->
|
|
<!-- static plugin -->
|
|
|
<static-path>static</static-path>
|
|
<static-path>static</static-path>
|
|
|
</properties>
|
|
</properties>
|
|
|
- <!-- 默认 -->
|
|
|
|
|
- <activation>
|
|
|
|
|
- <activeByDefault>true</activeByDefault>
|
|
|
|
|
- </activation>
|
|
|
|
|
|
|
+
|
|
|
</profile>
|
|
</profile>
|
|
|
<profile>
|
|
<profile>
|
|
|
<!-- 生产环境 -->
|
|
<!-- 生产环境 -->
|
|
@@ -42,7 +39,10 @@
|
|
|
<!-- static plugin -->
|
|
<!-- static plugin -->
|
|
|
<static-path>http://static.ubtob.com</static-path>
|
|
<static-path>http://static.ubtob.com</static-path>
|
|
|
</properties>
|
|
</properties>
|
|
|
-
|
|
|
|
|
|
|
+ <!-- 默认 -->
|
|
|
|
|
+ <activation>
|
|
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
|
|
+ </activation>
|
|
|
</profile>
|
|
</profile>
|
|
|
</profiles>
|
|
</profiles>
|
|
|
<dependencies>
|
|
<dependencies>
|
|
@@ -335,7 +335,7 @@
|
|
|
</resources>
|
|
</resources>
|
|
|
<!-- 在maven生命周期validate阶段生成timestamp -->
|
|
<!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
<plugins>
|
|
<plugins>
|
|
|
- <!--<plugin>
|
|
|
|
|
|
|
+ <plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
<version>1.3</version>
|
|
<version>1.3</version>
|
|
@@ -368,7 +368,7 @@
|
|
|
<groupId>com.samaxes.maven</groupId>
|
|
<groupId>com.samaxes.maven</groupId>
|
|
|
<artifactId>minify-maven-plugin</artifactId>
|
|
<artifactId>minify-maven-plugin</artifactId>
|
|
|
<version>1.7.4</version>
|
|
<version>1.7.4</version>
|
|
|
- <!– 静态文件压缩 –>
|
|
|
|
|
|
|
+ <!-- 静态文件压缩 -->
|
|
|
<executions>
|
|
<executions>
|
|
|
<execution>
|
|
<execution>
|
|
|
<id>default-minify</id>
|
|
<id>default-minify</id>
|
|
@@ -429,7 +429,7 @@
|
|
|
<groupId>com.uas.plugins</groupId>
|
|
<groupId>com.uas.plugins</groupId>
|
|
|
<artifactId>static-maven-plugin</artifactId>
|
|
<artifactId>static-maven-plugin</artifactId>
|
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
|
- <!– 静态资源分离 –>
|
|
|
|
|
|
|
+ <!-- 静态资源分离 -->
|
|
|
<executions>
|
|
<executions>
|
|
|
<execution>
|
|
<execution>
|
|
|
<id>default-static</id>
|
|
<id>default-static</id>
|
|
@@ -473,7 +473,7 @@
|
|
|
</resource>
|
|
</resource>
|
|
|
</webResources>
|
|
</webResources>
|
|
|
</configuration>
|
|
</configuration>
|
|
|
- </plugin>-->
|
|
|
|
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
@@ -485,7 +485,7 @@
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
</plugins>
|
|
</plugins>
|
|
|
- <!--<pluginManagement>
|
|
|
|
|
|
|
+ <pluginManagement>
|
|
|
<plugins>
|
|
<plugins>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
@@ -520,7 +520,7 @@
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
</plugins>
|
|
</plugins>
|
|
|
- </pluginManagement>-->
|
|
|
|
|
|
|
+ </pluginManagement>
|
|
|
</build>
|
|
</build>
|
|
|
<properties>
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|