|
|
@@ -1,699 +1,700 @@
|
|
|
-<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">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
- <artifactId>platform-b2c</artifactId>
|
|
|
- <packaging>war</packaging>
|
|
|
- <name>platform-b2c Maven Webapp</name>
|
|
|
- <url>http://maven.apache.org</url>
|
|
|
- <parent>
|
|
|
- <groupId>com.uas.platform</groupId>
|
|
|
- <artifactId>platform</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </parent>
|
|
|
- <profiles>
|
|
|
- <profile>
|
|
|
- <!-- 开发环境 -->
|
|
|
- <id>dev</id>
|
|
|
- <properties>
|
|
|
- <profile>dev</profile>
|
|
|
- <!-- static plugin -->
|
|
|
- <static-path>static</static-path>
|
|
|
- </properties>
|
|
|
- <!-- 默认 -->
|
|
|
- <activation>
|
|
|
- <activeByDefault>true</activeByDefault>
|
|
|
- </activation>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <!-- 测试环境 -->
|
|
|
- <id>test</id>
|
|
|
- <properties>
|
|
|
- <profile>test</profile>
|
|
|
- <!-- static plugin -->
|
|
|
- <static-path>static</static-path>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <!-- 生产环境 -->
|
|
|
- <id>prod</id>
|
|
|
- <properties>
|
|
|
- <profile>prod</profile>
|
|
|
- <!-- static plugin -->
|
|
|
- <static-path>https://static.usoftmall.com</static-path>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
- <artifactId>javax.servlet-api</artifactId>
|
|
|
- <version>3.0.1</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
- <artifactId>servlet-api</artifactId>
|
|
|
- </dependency>
|
|
|
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <artifactId>platform-b2c</artifactId>
|
|
|
+ <packaging>war</packaging>
|
|
|
+ <name>platform-b2c Maven Webapp</name>
|
|
|
+ <url>http://maven.apache.org</url>
|
|
|
+ <parent>
|
|
|
+ <groupId>com.uas.platform</groupId>
|
|
|
+ <artifactId>platform</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <!-- 开发环境 -->
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <profile>dev</profile>
|
|
|
+ <!-- static plugin -->
|
|
|
+ <static-path>static</static-path>
|
|
|
+ </properties>
|
|
|
+ <!-- 默认 -->
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 测试环境 -->
|
|
|
+ <id>test</id>
|
|
|
+ <properties>
|
|
|
+ <profile>test</profile>
|
|
|
+ <!-- static plugin -->
|
|
|
+ <static-path>static</static-path>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 生产环境 -->
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <profile>prod</profile>
|
|
|
+ <!-- static plugin -->
|
|
|
+ <static-path>https://static.usoftmall.com</static-path>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>javax.servlet-api</artifactId>
|
|
|
+ <version>3.0.1</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>log4j</groupId>
|
|
|
- <artifactId>log4j</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.platform</groupId>
|
|
|
- <artifactId>platform-core</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.api</groupId>
|
|
|
- <artifactId>b2c-erp-api</artifactId>
|
|
|
- <version>0.0.2-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.api</groupId>
|
|
|
- <artifactId>b2c-manage-api</artifactId>
|
|
|
- <version>0.0.1</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.caucho</groupId>
|
|
|
- <artifactId>hessian</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- spring -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-core</artifactId>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>commons-logging</groupId>
|
|
|
- <artifactId>commons-logging</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context-support</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-webmvc</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-jdbc</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-tx</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-aop</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-aspects</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-test</artifactId>
|
|
|
- <version>4.1.6.RELEASE</version>
|
|
|
- </dependency>
|
|
|
- <!-- jpa -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-jpa</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- mongodb spring -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-mongodb</artifactId>
|
|
|
- <version>1.5.2.RELEASE</version>
|
|
|
- </dependency>
|
|
|
- <!-- xstream -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.thoughtworks.xstream</groupId>
|
|
|
- <artifactId>xstream</artifactId>
|
|
|
- <version>1.3.1</version>
|
|
|
- </dependency>
|
|
|
- <!-- fileupload -->
|
|
|
- <dependency>
|
|
|
- <groupId>commons-fileupload</groupId>
|
|
|
- <artifactId>commons-fileupload</artifactId>
|
|
|
- <version>1.3.1</version>
|
|
|
- </dependency>
|
|
|
- <!-- hibernate -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.hibernate</groupId>
|
|
|
- <artifactId>hibernate-core</artifactId>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>xml-apis</groupId>
|
|
|
- <artifactId>xml-apis</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.hibernate</groupId>
|
|
|
- <artifactId>hibernate-entitymanager</artifactId>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>cglib</groupId>
|
|
|
- <artifactId>cglib</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>dom4j</groupId>
|
|
|
- <artifactId>dom4j</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.hibernate.javax.persistence</groupId>
|
|
|
- <artifactId>hibernate-jpa-2.1-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>commons-collections</groupId>
|
|
|
- <artifactId>commons-collections</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.hibernate</groupId>
|
|
|
- <artifactId>hibernate-validator</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>jcl-over-slf4j</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-log4j12</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.aspectj</groupId>
|
|
|
- <artifactId>aspectjrt</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.aspectj</groupId>
|
|
|
- <artifactId>aspectjweaver</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.commons</groupId>
|
|
|
- <artifactId>commons-lang3</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>javax.validation</groupId>
|
|
|
- <artifactId>validation-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>javax.transaction</groupId>
|
|
|
- <artifactId>jta</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.hibernate</groupId>
|
|
|
- <artifactId>hibernate-ehcache</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- mysql -->
|
|
|
- <dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
- <version>5.1.21</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-orm</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>commons-pool</groupId>
|
|
|
- <artifactId>commons-pool</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>commons-dbcp</groupId>
|
|
|
- <artifactId>commons-dbcp</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- redis -->
|
|
|
- <dependency>
|
|
|
- <groupId>redis.clients</groupId>
|
|
|
- <artifactId>jedis</artifactId>
|
|
|
- <version>2.7.3</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-redis</artifactId>
|
|
|
- <version>1.6.0.RELEASE</version>
|
|
|
- </dependency>
|
|
|
- <!-- spring mobile -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.mobile</groupId>
|
|
|
- <artifactId>spring-mobile-device</artifactId>
|
|
|
- </dependency>
|
|
|
- <!--json-lib -->
|
|
|
- <dependency>
|
|
|
- <groupId>net.sf.json-lib</groupId>
|
|
|
- <artifactId>json-lib</artifactId>
|
|
|
- <classifier>jdk15</classifier>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.codehaus.jackson</groupId>
|
|
|
- <artifactId>jackson-core-asl</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.codehaus.jackson</groupId>
|
|
|
- <artifactId>jackson-mapper-asl</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
- <artifactId>jackson-core</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
- <artifactId>jackson-databind</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
- <artifactId>jackson-annotations</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- velocity -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.velocity</groupId>
|
|
|
- <artifactId>velocity</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- mail -->
|
|
|
- <dependency>
|
|
|
- <groupId>javax.mail</groupId>
|
|
|
- <artifactId>mail</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- jxls -->
|
|
|
- <dependency>
|
|
|
- <groupId>net.sf.jxls</groupId>
|
|
|
- <artifactId>jxls-core</artifactId>
|
|
|
- <version>1.0.4</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>net.sf.jxls</groupId>
|
|
|
- <artifactId>jxls-reader</artifactId>
|
|
|
- <version>1.0.4</version>
|
|
|
- </dependency>
|
|
|
- <!-- poi -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi</artifactId>
|
|
|
- <version>3.17</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi-ooxml</artifactId>
|
|
|
- <version>3.17</version>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <!-- BeeCloud支付集成SDK -->
|
|
|
- <dependency>
|
|
|
- <groupId>cn.beecloud</groupId>
|
|
|
- <artifactId>beecloud-java-sdk</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>jaxen</groupId>
|
|
|
- <artifactId>jaxen</artifactId>
|
|
|
- <version>1.1.6</version>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>dom4j</groupId>
|
|
|
- <artifactId>dom4j</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>xml-apis</groupId>
|
|
|
- <artifactId>xml-apis</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>xerces</groupId>
|
|
|
- <artifactId>xmlParserAPIs</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>xerces</groupId>
|
|
|
- <artifactId>xercesImpl</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>xerces</groupId>
|
|
|
- <artifactId>xercesImpl</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>com.ibm.icu</groupId>
|
|
|
- <artifactId>icu4j</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <!-- kafka消息中间件 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.kafka</groupId>
|
|
|
- <artifactId>spring-kafka</artifactId>
|
|
|
- <version>1.2.2.RELEASE</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>log4j</groupId>
|
|
|
+ <artifactId>log4j</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.platform</groupId>
|
|
|
+ <artifactId>platform-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.api</groupId>
|
|
|
+ <artifactId>b2c-erp-api</artifactId>
|
|
|
+ <version>0.0.2-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.api</groupId>
|
|
|
+ <artifactId>b2c-manage-api</artifactId>
|
|
|
+ <version>0.0.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.caucho</groupId>
|
|
|
+ <artifactId>hessian</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-core</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>commons-logging</groupId>
|
|
|
+ <artifactId>commons-logging</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context-support</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-tx</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-aop</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-aspects</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-test</artifactId>
|
|
|
+ <version>4.1.6.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- jpa -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-jpa</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- mongodb spring -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-mongodb</artifactId>
|
|
|
+ <version>1.5.2.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- xstream -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.thoughtworks.xstream</groupId>
|
|
|
+ <artifactId>xstream</artifactId>
|
|
|
+ <version>1.3.1</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- fileupload -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>1.3.1</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- hibernate -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-core</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>xml-apis</groupId>
|
|
|
+ <artifactId>xml-apis</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-entitymanager</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>cglib</groupId>
|
|
|
+ <artifactId>cglib</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>dom4j</groupId>
|
|
|
+ <artifactId>dom4j</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate.javax.persistence</groupId>
|
|
|
+ <artifactId>hibernate-jpa-2.1-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-collections</groupId>
|
|
|
+ <artifactId>commons-collections</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-validator</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>jcl-over-slf4j</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjrt</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjweaver</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-lang3</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.validation</groupId>
|
|
|
+ <artifactId>validation-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.transaction</groupId>
|
|
|
+ <artifactId>jta</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-ehcache</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- mysql -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>5.1.21</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-orm</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-pool</groupId>
|
|
|
+ <artifactId>commons-pool</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-dbcp</groupId>
|
|
|
+ <artifactId>commons-dbcp</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- redis -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>redis.clients</groupId>
|
|
|
+ <artifactId>jedis</artifactId>
|
|
|
+ <version>2.7.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-redis</artifactId>
|
|
|
+ <version>1.6.0.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring mobile -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.mobile</groupId>
|
|
|
+ <artifactId>spring-mobile-device</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--json-lib -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sf.json-lib</groupId>
|
|
|
+ <artifactId>json-lib</artifactId>
|
|
|
+ <classifier>jdk15</classifier>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-core-asl</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-mapper-asl</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-annotations</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- velocity -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.velocity</groupId>
|
|
|
+ <artifactId>velocity</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- mail -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.mail</groupId>
|
|
|
+ <artifactId>mail</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- jxls -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sf.jxls</groupId>
|
|
|
+ <artifactId>jxls-core</artifactId>
|
|
|
+ <version>1.0.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sf.jxls</groupId>
|
|
|
+ <artifactId>jxls-reader</artifactId>
|
|
|
+ <version>1.0.4</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- poi -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi</artifactId>
|
|
|
+ <version>3.17</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi-ooxml</artifactId>
|
|
|
+ <version>3.17</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <!-- BeeCloud支付集成SDK -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.beecloud</groupId>
|
|
|
+ <artifactId>beecloud-java-sdk</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jaxen</groupId>
|
|
|
+ <artifactId>jaxen</artifactId>
|
|
|
+ <version>1.1.6</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>dom4j</groupId>
|
|
|
+ <artifactId>dom4j</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>xml-apis</groupId>
|
|
|
+ <artifactId>xml-apis</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>xerces</groupId>
|
|
|
+ <artifactId>xmlParserAPIs</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>xerces</groupId>
|
|
|
+ <artifactId>xercesImpl</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>xerces</groupId>
|
|
|
+ <artifactId>xercesImpl</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.ibm.icu</groupId>
|
|
|
+ <artifactId>icu4j</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <!-- kafka消息中间件 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.kafka</groupId>
|
|
|
+ <artifactId>spring-kafka</artifactId>
|
|
|
+ <version>1.2.2.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- service on dubbo -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.dfs</groupId>
|
|
|
- <artifactId>dfs-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <!-- search -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.search</groupId>
|
|
|
- <artifactId>search-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.message</groupId>
|
|
|
- <artifactId>message-mail-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.message</groupId>
|
|
|
- <artifactId>message-sms-api</artifactId>
|
|
|
- </dependency>
|
|
|
+ <!-- service on dubbo -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.dfs</groupId>
|
|
|
+ <artifactId>dfs-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- search -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.search</groupId>
|
|
|
+ <artifactId>search-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.message</groupId>
|
|
|
+ <artifactId>message-mail-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.message</groupId>
|
|
|
+ <artifactId>message-sms-api</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.account</groupId>
|
|
|
- <artifactId>account-common</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.account</groupId>
|
|
|
+ <artifactId>account-common</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>net.sourceforge.pinyin4j</groupId>
|
|
|
- <artifactId>pinyin4j</artifactId>
|
|
|
- <version>1.1.0</version>
|
|
|
- </dependency>
|
|
|
- <!-- security -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.security</groupId>
|
|
|
- <artifactId>spring-security-core</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.security</groupId>
|
|
|
- <artifactId>spring-security-config</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.security</groupId>
|
|
|
- <artifactId>spring-security-web</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sourceforge.pinyin4j</groupId>
|
|
|
+ <artifactId>pinyin4j</artifactId>
|
|
|
+ <version>1.1.0</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- security -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.security</groupId>
|
|
|
+ <artifactId>spring-security-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.security</groupId>
|
|
|
+ <artifactId>spring-security-config</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.security</groupId>
|
|
|
+ <artifactId>spring-security-web</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- swagger-springmvc -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.mangofactory</groupId>
|
|
|
- <artifactId>swagger-springmvc</artifactId>
|
|
|
- <version>1.0.2</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.mangofactory</groupId>
|
|
|
- <artifactId>swagger-models</artifactId>
|
|
|
- <version>1.0.2</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.wordnik</groupId>
|
|
|
- <artifactId>swagger-annotations</artifactId>
|
|
|
- <version>1.3.11</version>
|
|
|
- </dependency>
|
|
|
- <!-- swagger-springmvc dependencies -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <version>15.0</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.fasterxml</groupId>
|
|
|
- <artifactId>classmate</artifactId>
|
|
|
- <version>1.1.0</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
- <artifactId>servlet-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.ps</groupId>
|
|
|
- <artifactId>ps-core</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.ps</groupId>
|
|
|
- <artifactId>ps-entity</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.ps</groupId>
|
|
|
- <artifactId>ps-entity</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
- <!--Hutool POI工具类(对MS Office操作)-->
|
|
|
- <!--<dependency>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi-ooxml</artifactId>
|
|
|
- <version>3.17</version>
|
|
|
- </dependency>-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.xiaoleilu</groupId>
|
|
|
- <artifactId>hutool-poi</artifactId>
|
|
|
- <version>3.2.2</version>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi-ooxml</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <build>
|
|
|
- <finalName>platform-b2c</finalName>
|
|
|
- <!-- 受profile影响的目录 -->
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>${basedir}/src/main/resources</directory>
|
|
|
- <filtering>true</filtering>
|
|
|
- <excludes>
|
|
|
- <exclude>**/*.xls</exclude>
|
|
|
- </excludes>
|
|
|
- </resource>
|
|
|
- <!-- xls文件不能filter处理,需区分出来 -->
|
|
|
- <resource>
|
|
|
- <directory>${basedir}/src/main/resources</directory>
|
|
|
- <filtering>false</filtering>
|
|
|
- <includes>
|
|
|
- <include>**/*.xls</include>
|
|
|
- </includes>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
- <version>1.3</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>validate</phase>
|
|
|
- <goals>
|
|
|
- <goal>create-timestamp</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- <configuration>
|
|
|
- <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
|
|
|
- <items>
|
|
|
- <item>timestamp</item>
|
|
|
- </items>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <source>1.7</source>
|
|
|
- <target>1.7</target>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>com.samaxes.maven</groupId>
|
|
|
- <artifactId>minify-maven-plugin</artifactId>
|
|
|
- <version>1.7.4</version>
|
|
|
- <!-- 静态文件压缩 -->
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>default-minify</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <configuration>
|
|
|
- <charset>UTF-8</charset>
|
|
|
- <skipMerge>true</skipMerge>
|
|
|
- <closureLanguage>ECMASCRIPT5</closureLanguage>
|
|
|
- <closureAngularPass>true</closureAngularPass>
|
|
|
- <nosuffix>true</nosuffix>
|
|
|
- <webappTargetDir>${project.build.directory}/minify</webappTargetDir>
|
|
|
- <cssSourceDir>resources</cssSourceDir>
|
|
|
- <cssEngine>YUI</cssEngine>
|
|
|
- <jsSourceDir>resources</jsSourceDir>
|
|
|
- <jsEngine>YUI</jsEngine>
|
|
|
- <cssSourceIncludes>
|
|
|
- <cssSourceInclude>css/**/*.css</cssSourceInclude>
|
|
|
- <cssSourceInclude>data/**/*.json</cssSourceInclude>
|
|
|
- </cssSourceIncludes>
|
|
|
- <cssSourceExcludes>
|
|
|
- <cssSourceExclude>css/**/*.min.css</cssSourceExclude>
|
|
|
- </cssSourceExcludes>
|
|
|
- <jsSourceIncludes>
|
|
|
- <jsSourceInclude>js/**/*.js</jsSourceInclude>
|
|
|
- </jsSourceIncludes>
|
|
|
- <jsSourceExcludes>
|
|
|
- <jsSourceExclude>js/**/*.min.js</jsSourceExclude>
|
|
|
- </jsSourceExcludes>
|
|
|
- </configuration>
|
|
|
- <goals>
|
|
|
- <goal>minify</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>copy-resources</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-resources</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <outputDirectory>${project.build.directory}/minify</outputDirectory>
|
|
|
- <overwrite>false</overwrite>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>${basedir}/src/main/webapp</directory>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>com.uas.plugins</groupId>
|
|
|
- <artifactId>static-maven-plugin</artifactId>
|
|
|
- <version>0.0.2-SNAPSHOT</version>
|
|
|
- <!-- 静态资源分离 -->
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>default-static</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <configuration>
|
|
|
- <pathMatcher>static</pathMatcher>
|
|
|
- <staticUrl>${static-path}</staticUrl>
|
|
|
- <webappDir>${project.build.directory}/minify</webappDir>
|
|
|
- <sourceDir>/</sourceDir>
|
|
|
- <targetDir>${project.build.directory}/statics</targetDir>
|
|
|
- <staticDir>/</staticDir>
|
|
|
- <sourceIncludes>
|
|
|
- <sourceInclude>resources/js/**/*.js</sourceInclude>
|
|
|
- <sourceInclude>resources/data/**/*.json</sourceInclude>
|
|
|
- <sourceInclude>resources/view/**/*.html</sourceInclude>
|
|
|
- <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
- </sourceIncludes>
|
|
|
- <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
|
|
|
- <versionSuffix>
|
|
|
- <suffix>?_v=${timestamp}</suffix>
|
|
|
- <exclude>*/require.js,*.min.js,*.min.css</exclude>
|
|
|
- </versionSuffix>
|
|
|
- </configuration>
|
|
|
- <goals>
|
|
|
- <goal>static</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <version>2.4</version>
|
|
|
- <configuration>
|
|
|
- <webResources>
|
|
|
- <resource>
|
|
|
- <directory>${project.build.directory}/statics</directory>
|
|
|
- </resource>
|
|
|
- <resource>
|
|
|
- <directory>${project.build.directory}/minify</directory>
|
|
|
- </resource>
|
|
|
- </webResources>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.tomcat.maven</groupId>
|
|
|
- <artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
- <version>2.2</version>
|
|
|
- <configuration>
|
|
|
- <port>8080</port>
|
|
|
- <path>/platform-b2c</path>
|
|
|
- <uriEncoding>utf-8</uriEncoding>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.eclipse.m2e</groupId>
|
|
|
- <artifactId>lifecycle-mapping</artifactId>
|
|
|
- <version>1.0.0</version>
|
|
|
- <configuration>
|
|
|
- <lifecycleMappingMetadata>
|
|
|
- <pluginExecutions>
|
|
|
- <pluginExecution>
|
|
|
- <pluginExecutionFilter>
|
|
|
- <groupId>
|
|
|
- org.codehaus.mojo
|
|
|
- </groupId>
|
|
|
- <artifactId>
|
|
|
- buildnumber-maven-plugin
|
|
|
- </artifactId>
|
|
|
- <versionRange>
|
|
|
- [1.3,)
|
|
|
- </versionRange>
|
|
|
- <goals>
|
|
|
- <goal>
|
|
|
- create-timestamp
|
|
|
- </goal>
|
|
|
- </goals>
|
|
|
- </pluginExecutionFilter>
|
|
|
- <action>
|
|
|
- <ignore></ignore>
|
|
|
- </action>
|
|
|
- </pluginExecution>
|
|
|
- </pluginExecutions>
|
|
|
- </lifecycleMappingMetadata>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- </build>
|
|
|
- <distributionManagement>
|
|
|
- <!-- 发布release仓库 -->
|
|
|
- <repository>
|
|
|
- <id>platform-release</id>
|
|
|
- <name>platform-release</name>
|
|
|
- <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
|
|
|
- </repository>
|
|
|
- <!-- 发布快照版本 -->
|
|
|
- <snapshotRepository>
|
|
|
- <id>platform-snapshots</id>
|
|
|
- <name>platform-snapshots</name>
|
|
|
- <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
|
|
|
- </snapshotRepository>
|
|
|
- </distributionManagement>
|
|
|
+ <!-- swagger-springmvc -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.mangofactory</groupId>
|
|
|
+ <artifactId>swagger-springmvc</artifactId>
|
|
|
+ <version>1.0.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.mangofactory</groupId>
|
|
|
+ <artifactId>swagger-models</artifactId>
|
|
|
+ <version>1.0.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.wordnik</groupId>
|
|
|
+ <artifactId>swagger-annotations</artifactId>
|
|
|
+ <version>1.3.11</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- swagger-springmvc dependencies -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ <version>15.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml</groupId>
|
|
|
+ <artifactId>classmate</artifactId>
|
|
|
+ <version>1.1.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.ps</groupId>
|
|
|
+ <artifactId>ps-core</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.ps</groupId>
|
|
|
+ <artifactId>ps-entity</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.ps</groupId>
|
|
|
+ <artifactId>ps-entity</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <!--Hutool POI工具类(对MS Office操作)-->
|
|
|
+ <!--<dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi-ooxml</artifactId>
|
|
|
+ <version>3.17</version>
|
|
|
+ </dependency>-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.xiaoleilu</groupId>
|
|
|
+ <artifactId>hutool-poi</artifactId>
|
|
|
+ <version>3.2.2</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi-ooxml</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <finalName>platform-b2c</finalName>
|
|
|
+ <!-- 受profile影响的目录 -->
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>${basedir}/src/main/resources</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ <excludes>
|
|
|
+ <exclude>**/*.xls</exclude>
|
|
|
+ </excludes>
|
|
|
+ </resource>
|
|
|
+ <!-- xls文件不能filter处理,需区分出来 -->
|
|
|
+ <resource>
|
|
|
+ <directory>${basedir}/src/main/resources</directory>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.xls</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
+ <version>1.3</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>validate</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>create-timestamp</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
|
|
|
+ <items>
|
|
|
+ <item>timestamp</item>
|
|
|
+ </items>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.7</source>
|
|
|
+ <target>1.7</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>com.samaxes.maven</groupId>
|
|
|
+ <artifactId>minify-maven-plugin</artifactId>
|
|
|
+ <version>1.7.4</version>
|
|
|
+ <!-- 静态文件压缩 -->
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>default-minify</id>
|
|
|
+ <phase>prepare-package</phase>
|
|
|
+ <configuration>
|
|
|
+ <charset>UTF-8</charset>
|
|
|
+ <skipMerge>true</skipMerge>
|
|
|
+ <closureLanguage>ECMASCRIPT5</closureLanguage>
|
|
|
+ <closureAngularPass>true</closureAngularPass>
|
|
|
+ <nosuffix>true</nosuffix>
|
|
|
+ <webappTargetDir>${project.build.directory}/minify</webappTargetDir>
|
|
|
+ <cssSourceDir>resources</cssSourceDir>
|
|
|
+ <cssEngine>YUI</cssEngine>
|
|
|
+ <jsSourceDir>resources</jsSourceDir>
|
|
|
+ <jsEngine>YUI</jsEngine>
|
|
|
+ <cssSourceIncludes>
|
|
|
+ <cssSourceInclude>css/**/*.css</cssSourceInclude>
|
|
|
+ <cssSourceInclude>data/**/*.json</cssSourceInclude>
|
|
|
+ </cssSourceIncludes>
|
|
|
+ <cssSourceExcludes>
|
|
|
+ <cssSourceExclude>css/**/*.min.css</cssSourceExclude>
|
|
|
+ </cssSourceExcludes>
|
|
|
+ <jsSourceIncludes>
|
|
|
+ <jsSourceInclude>js/**/*.js</jsSourceInclude>
|
|
|
+ </jsSourceIncludes>
|
|
|
+ <jsSourceExcludes>
|
|
|
+ <jsSourceExclude>js/**/*.min.js</jsSourceExclude>
|
|
|
+ </jsSourceExcludes>
|
|
|
+ </configuration>
|
|
|
+ <goals>
|
|
|
+ <goal>minify</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-resources</id>
|
|
|
+ <phase>prepare-package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-resources</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <outputDirectory>${project.build.directory}/minify</outputDirectory>
|
|
|
+ <overwrite>false</overwrite>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>${basedir}/src/main/webapp</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>com.uas.plugins</groupId>
|
|
|
+ <artifactId>static-maven-plugin</artifactId>
|
|
|
+ <version>0.0.2-SNAPSHOT</version>
|
|
|
+ <!-- 静态资源分离 -->
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>default-static</id>
|
|
|
+ <phase>prepare-package</phase>
|
|
|
+ <configuration>
|
|
|
+ <pathMatcher>static</pathMatcher>
|
|
|
+ <staticUrl>${static-path}</staticUrl>
|
|
|
+ <webappDir>${project.build.directory}/minify</webappDir>
|
|
|
+ <sourceDir>/</sourceDir>
|
|
|
+ <targetDir>${project.build.directory}/statics</targetDir>
|
|
|
+ <staticDir>/</staticDir>
|
|
|
+ <sourceIncludes>
|
|
|
+ <sourceInclude>resources/js/**/*.js</sourceInclude>
|
|
|
+ <sourceInclude>resources/data/**/*.json</sourceInclude>
|
|
|
+ <sourceInclude>resources/view/**/*.html</sourceInclude>
|
|
|
+ <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
+ </sourceIncludes>
|
|
|
+ <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
|
|
|
+ <versionSuffix>
|
|
|
+ <suffix>?_v=${timestamp}</suffix>
|
|
|
+ <exclude>*/require.js,*.min.js,*.min.css</exclude>
|
|
|
+ </versionSuffix>
|
|
|
+ </configuration>
|
|
|
+ <goals>
|
|
|
+ <goal>static</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <configuration>
|
|
|
+ <webResources>
|
|
|
+ <resource>
|
|
|
+ <directory>${project.build.directory}/statics</directory>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>${project.build.directory}/minify</directory>
|
|
|
+ </resource>
|
|
|
+ </webResources>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.tomcat.maven</groupId>
|
|
|
+ <artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
+ <version>2.2</version>
|
|
|
+ <configuration>
|
|
|
+ <port>8080</port>
|
|
|
+ <path>/platform-b2c</path>
|
|
|
+ <uriEncoding>utf-8</uriEncoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.m2e</groupId>
|
|
|
+ <artifactId>lifecycle-mapping</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <configuration>
|
|
|
+ <lifecycleMappingMetadata>
|
|
|
+ <pluginExecutions>
|
|
|
+ <pluginExecution>
|
|
|
+ <pluginExecutionFilter>
|
|
|
+ <groupId>
|
|
|
+ org.codehaus.mojo
|
|
|
+ </groupId>
|
|
|
+ <artifactId>
|
|
|
+ buildnumber-maven-plugin
|
|
|
+ </artifactId>
|
|
|
+ <versionRange>
|
|
|
+ [1.3,)
|
|
|
+ </versionRange>
|
|
|
+ <goals>
|
|
|
+ <goal>
|
|
|
+ create-timestamp
|
|
|
+ </goal>
|
|
|
+ </goals>
|
|
|
+ </pluginExecutionFilter>
|
|
|
+ <action>
|
|
|
+ <ignore></ignore>
|
|
|
+ </action>
|
|
|
+ </pluginExecution>
|
|
|
+ </pluginExecutions>
|
|
|
+ </lifecycleMappingMetadata>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ </build>
|
|
|
+ <distributionManagement>
|
|
|
+ <!-- 发布release仓库 -->
|
|
|
+ <repository>
|
|
|
+ <id>platform-release</id>
|
|
|
+ <name>platform-release</name>
|
|
|
+ <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
|
|
|
+ </repository>
|
|
|
+ <!-- 发布快照版本 -->
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>platform-snapshots</id>
|
|
|
+ <name>platform-snapshots</name>
|
|
|
+ <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
</project>
|