|
|
@@ -9,7 +9,6 @@
|
|
|
<groupId>com.uas.platform</groupId>
|
|
|
<artifactId>platform</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
- <relativePath>../platform</relativePath>
|
|
|
</parent>
|
|
|
<profiles>
|
|
|
<profile>
|
|
|
@@ -30,9 +29,6 @@
|
|
|
<!-- static plugin -->
|
|
|
<static-path>static</static-path>
|
|
|
</properties>
|
|
|
- <activation>
|
|
|
- <activeByDefault>true</activeByDefault>
|
|
|
- </activation>
|
|
|
</profile>
|
|
|
<profile>
|
|
|
<!-- 生产环境 -->
|
|
|
@@ -43,7 +39,9 @@
|
|
|
<static-path>http://static.ubtob.com</static-path>
|
|
|
</properties>
|
|
|
<!-- 默认 -->
|
|
|
-
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
</profile>
|
|
|
</profiles>
|
|
|
<dependencies>
|
|
|
@@ -338,7 +336,7 @@
|
|
|
</resources>
|
|
|
<!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
<plugins>
|
|
|
- <!--<plugin>
|
|
|
+ <plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
<version>1.3</version>
|
|
|
@@ -351,12 +349,10 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
<configuration>
|
|
|
- <configuration>
|
|
|
- <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
|
|
|
- <items>
|
|
|
- <item>timestamp</item>
|
|
|
- </items>
|
|
|
- </configuration>
|
|
|
+ <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
|
|
|
+ <items>
|
|
|
+ <item>timestamp</item>
|
|
|
+ </items>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
@@ -371,7 +367,7 @@
|
|
|
<groupId>com.samaxes.maven</groupId>
|
|
|
<artifactId>minify-maven-plugin</artifactId>
|
|
|
<version>1.7.4</version>
|
|
|
- <!– 静态文件压缩 –>
|
|
|
+ <!-- 静态文件压缩 -->
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-minify</id>
|
|
|
@@ -432,7 +428,7 @@
|
|
|
<groupId>com.uas.plugins</groupId>
|
|
|
<artifactId>static-maven-plugin</artifactId>
|
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
|
- <!– 静态资源分离 –>
|
|
|
+ <!-- 静态资源分离 -->
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-static</id>
|
|
|
@@ -450,7 +446,6 @@
|
|
|
<sourceInclude>resources/tpl/**/*.html</sourceInclude>
|
|
|
<sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
</sourceIncludes>
|
|
|
- http://static.ubtob.com/css/index.css?_v=1450321871828
|
|
|
<versionSuffix>
|
|
|
<suffix>?_v=${timestamp}</suffix>
|
|
|
<exclude>*/require.js,*.min.js,*.min.css</exclude>
|
|
|
@@ -476,7 +471,7 @@
|
|
|
</resource>
|
|
|
</webResources>
|
|
|
</configuration>
|
|
|
- </plugin>-->
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
@@ -488,7 +483,7 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
- <!--<pluginManagement>
|
|
|
+ <pluginManagement>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
@@ -523,7 +518,7 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
- </pluginManagement>-->
|
|
|
+ </pluginManagement>
|
|
|
</build>
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|