framework pom demo

<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.chinazyjr.framework</groupId>
  <artifactId>framework</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
      <modules>
        <module>framework-common</module>
        <module>framework-fastdfs</module>
        <module>framework-sms</module>
        <module>framework-jzq</module>
        <module>framework-xdiamond</module>
        <module>framework-logger</module>
        <module>framework-redis</module>
        <module>framework-rabbitmq</module>
        <module>framework-sso</module>
        <module>framework-jdbc</module>
        <module>framework-dubbo</module>
        <module>framework-job</module>
        <module>framework-global</module>
      </modules>
    
    <properties>
        <compiler.version>1.8</compiler.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!-- 环境变量 -->
        <JAVA_ENV>dev</JAVA_ENV>
        <sys-repository-url>http://192.168.6.75:8081/nexus/content/repositories/releases/</sys-repository-url>
        <sys-snapshotRepository-url>http://192.168.6.75:8081/nexus/content/repositories/snapshots/</sys-snapshotRepository-url>
        <!-- ========================================================== -->
        <sys-midware.version>dev-0.0.1-SNAPSHOT</sys-midware.version>
        <!-- common projects -->
        <sys-common.version>dev-0.0.1-SNAPSHOT</sys-common.version>
        <!-- hgj -->
        <hgj.version>0.0.1-SNAPSHOT</hgj.version>
        <!-- dsc -->
        <dsc.version>0.0.1-SNAPSHOT</dsc.version>
        <!-- zhongying old interface -->
        <zhongying-interface.version>1.0-SNAPSHOT</zhongying-interface.version>
        <!-- zhongying framework -->
        <framework.version>${JAVA_ENV}-1.0-SNAPSHOT</framework.version>
        <tx-lcn.version>0.0.1-SNAPSHOT</tx-lcn.version>
        
        <tx-lcn-4.version>4.0.3.SNAPSHOT</tx-lcn-4.version> 
        <!-- <tx-lcn-4.version>4.0.2</tx-lcn-4.version>-->
        <!-- 服务-facade begin -->
        <account-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</account-interface-version>
        <activity-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</activity-interface-version>
        <bank-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</bank-interface-version>
        <order-facade.version>dev-0.0.1-SNAPSHOT</order-facade.version>
        <from-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</from-interface-version>
        <fiance-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</fiance-interface-version>
        <public-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</public-interface-version>
        <bi-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</bi-interface-version>
        <wdzj-interface-version>${JAVA_ENV}-1.0-SNAPSHOT</wdzj-interface-version>
        <openlab-facade.version>dev-0.0.1-SNAPSHOT</openlab-facade.version>
        <bi-facade.version>dev-0.0.1-SNAPSHOT</bi-facade.version>
        <!-- 服务-facade end -->
        
        <!-- java depandicy -->
        <!-- spring -->
        <org.springframework.version>4.2.5.RELEASE</org.springframework.version>
        <!-- 
        <spring-data-redis.version>2.0.1.RELEASE</spring-data-redis.version> -->
        <spring-data-redis.version>1.8.8.RELEASE</spring-data-redis.version>
        <mybatis.version>3.4.5</mybatis.version>
        <!-- dubbo -->
        <!--  
        <dubbo.version>2.5.3</dubbo.version>-->
        <dubbo.version>dev-2.5.7-SNAPSHOT</dubbo.version>
        <!-- 短信 -->
        <com.alibaba.sms.version>1.0.0</com.alibaba.sms.version>
        <!-- ping++ 支付 -->
        <pingpp-java.version>2.1.1</pingpp-java.version>
        <!-- jpush -->
        <jpush-client.version>3.2.7</jpush-client.version>
        <!-- influxdb -->
        <influxdb.version>2.3</influxdb.version>
        <okhttp3.version>3.7.0</okhttp3.version>
        <guava.version>19.0</guava.version>
        <!-- 2017-10-26 -->
         <jackson.version>2.9.2</jackson.version>
         <javax.validation.version>1.1.0.Final</javax.validation.version>
         <slf4j.version>1.7.5</slf4j.version>
         <junit4.version>4.12</junit4.version>
    </properties>

<distributionManagement>
        <repository>
            <id>releases</id>
            <url>http://192.168.6.75:8081/nexus/content/repositories/releases/</url>
        </repository>
        <snapshotRepository>
            <id>snapshots</id>
            <url>http://192.168.6.75:8081/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>
    </distributionManagement>
    
    <dependencyManagement>
        <dependencies>
        <!-- framework begin -->
            <dependency>
            <groupId>com.chinazyjr.framework.common</groupId>
            <artifactId>framework-common</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-sms</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-fastdfs</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-jzq</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-xdiamond</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-logger</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-redis</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-rabbitmq</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-sso</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-jdbc</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-dubbo</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-job</artifactId>
            <version>${framework.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.framework</groupId>
            <artifactId>framework-global</artifactId>
            <version>${framework.version}</version>
        </dependency>
         
        <!-- framework end -->
            <!-- 服务 facade begin -->
        
          <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>account-interface</artifactId>
            <version>${account-interface-version}</version>
        </dependency>
         <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>activity-interface</artifactId>
             <version>${activity-interface-version}</version>
        </dependency>
           <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>bank-interface</artifactId>
            <version>${bank-interface-version}</version>
        </dependency>
            <dependency>
            <groupId>com.chinazyjr.openlab.facade</groupId>
            <artifactId>openlab-facade</artifactId>
            <version>${openlab-facade.version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.order.facade</groupId>
            <artifactId>order-facade</artifactId>
            <version>${order-facade.version}</version>
        </dependency>
         <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>from-interface</artifactId>
            <version>${from-interface-version}</version>
        </dependency>
        <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>fiance-interface</artifactId>
            <version>${fiance-interface-version}</version>
        </dependency>
        <dependency>
            <groupId>com.sys.parent</groupId>
            <artifactId>public-interface</artifactId>
            <version>${public-interface-version}</version>
        </dependency>
        <dependency>
            <groupId>com.chinazyjr.bi.facade</groupId>
            <artifactId>bi-facade</artifactId>
            <version>${bi-facade.version}</version>
        </dependency>
        <!-- 服务 facade end -->
            <!-- sys midware begin -->
            <dependency>
                <groupId>com.sys.midware.global</groupId>
                <artifactId>sys-midware-global</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.assist</groupId>
                <artifactId>sys-midware-assist</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>    
                <dependency>
                <groupId>com.sys.midware.config</groupId>
                <artifactId>sys-midware-config</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
                <dependency>
                <groupId>com.sys.midware.log</groupId>
                <artifactId>sys-midware-log</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
                <dependency>
                <groupId>com.sys.midware.memcached</groupId>
                <artifactId>sys-midware-memcached</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>        
            <dependency>
                <groupId>com.sys.midware.mail</groupId>
                <artifactId>sys-midware-mail</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.mongo</groupId>
                <artifactId>sys-midware-mongo</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
                <dependency>
                <groupId>com.sys.midware.MQ</groupId>
                <artifactId>sys-midware-MQ</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.redis</groupId>
                <artifactId>sys-midware-redis</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.zookeeper</groupId>
                <artifactId>sys-midware-zookeeper</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.hadoop</groupId>
                <artifactId>sys-midware-hadoop</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.rdb</groupId>
                <artifactId>sys-midware-rdb</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.httpClient</groupId>
                <artifactId>sys-midware-httpClient</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sys.midware.hive</groupId>
                <artifactId>sys-midware-hive</artifactId>
                <version>${sys-midware.version}</version>
            </dependency>
            <!-- sys midware end -->
        <!-- sys common begin -->
        <dependency>
            <groupId>com.sys.common.public</groupId>
            <artifactId>sys-common-public</artifactId>
            <version>${sys-common.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sys.common.config</groupId>
            <artifactId>sys-common-config</artifactId>
            <version>${sys-common.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sys.common.base</groupId>
            <artifactId>sys-common-base</artifactId>
            <version>${sys-common.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sys.common.web</groupId>
            <artifactId>sys-common-web</artifactId>
            <version>${sys-common.version}</version>
        </dependency>
            <dependency>
            <groupId>com.sys.common.sso</groupId>
            <artifactId>sys-common-sso</artifactId>
            <version>${sys-common.version}</version>
        </dependency>
        <!-- sys common end -->
        <!-- sys tx lcn begin -->
            <dependency>
            <groupId>com.sys.tx.lcn</groupId>
            <artifactId>tx-transaction-dubbo</artifactId>
            <version>${tx-lcn.version}</version>
             <exclusions>
             <exclusion>
                    <groupId>commons-collections</groupId>
                    <artifactId>commons-collections</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-beanutils</groupId>
                    <artifactId>commons-beanutils</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.apache.commons</groupId>
                       <artifactId>commons-lang3</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>com.alibaba</groupId>
                       <artifactId>druid</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.slf4j</groupId>
                       <artifactId>slf4j-simple</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.slf4j</groupId>
                       <artifactId>slf4j-jdk14</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.slf4j</groupId>
                       <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.slf4j</groupId>
                       <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- sys tx lcn end -->
        
            <!-- Common Dependency Begin -->
            <dependency>
                <groupId>commons-net</groupId>
                <artifactId>commons-net</artifactId>
                <version>3.6</version>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.9.3</version>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.11</version>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.2.2</version>
            </dependency>
            <dependency>
                <groupId>commons-digester</groupId>
                <artifactId>commons-digester</artifactId>
                <version>2.1</version>
            </dependency>
            <dependency>
                <groupId>commons-fileupload</groupId>
                <artifactId>commons-fileupload</artifactId>
                <version>1.3.3</version>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>2.6</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.6</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>3.6</version>
            </dependency>
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.2</version>
            </dependency>
            <dependency>
                <groupId>commons-validator</groupId>
                <artifactId>commons-validator</artifactId>
                <version>1.6</version>
            </dependency>
            <dependency>
                <groupId>commons-cli</groupId>
                <artifactId>commons-cli</artifactId>
                <version>1.4</version>
            </dependency>
            <!-- Common Dependency End -->
            
            <!-- Spring Dependency Begin -->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aspects</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-expression</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-instrument</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-instrument-tomcat</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jdbc</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jms</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-oxm</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-struts</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${org.springframework.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc-portlet</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
            <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
           <version>${spring-data-redis.version}</version>
        </dependency>
            <!-- Spring Dependency End -->
            <!-- log4j begin -->
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.17</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.7.25</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>1.7.25</version>
            </dependency> 
            <!-- log4j end -->
            
            <!-- java XMLApi begin -->
            <dependency>
                <groupId>dom4j</groupId>
                <artifactId>dom4j</artifactId>
                <version>1.6.1</version>
            </dependency>
            <dependency>
                <groupId>org.jdom</groupId>
                <artifactId>jdom</artifactId>
                <version>2.0.2</version>
            </dependency>
            <!-- java XMLApi end -->
            <!-- java将一种对象转换为另一种对象 -->
            <dependency>
                <groupId>net.sf.ezmorph</groupId>
                <artifactId>ezmorph</artifactId>
                <version>1.0.6</version>
            </dependency>
            <dependency>
    <groupId>org.javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.22.0-GA</version>
</dependency>

            <!-- excel -->
            <dependency>
                <groupId>net.sourceforge.jexcelapi</groupId>
                <artifactId>jxl</artifactId>
                <version>2.6.12</version>
            </dependency>
            <!-- dubbo begin  -->
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>dubbo</artifactId>
                <version>${dubbo.version}</version>
                <exclusions> 
                 <exclusion>
                    <groupId>org.javassist</groupId>
                    <artifactId>javassist</artifactId>
                </exclusion> 
                 <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion> 
               <exclusion>  
                   <groupId>org.springframework</groupId>
                    <artifactId>spring</artifactId>
                </exclusion>
                <exclusion>  
                   <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>  
                <exclusion>  
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion> 
                 <exclusion>  
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-beans</artifactId>
                </exclusion> 
                 <exclusion>  
                     <groupId>org.springframework</groupId>
                      <artifactId>spring-aop</artifactId>
                </exclusion>   
                 <exclusion>  
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-expression</artifactId>
                </exclusion>  
                 <exclusion>  
                   <groupId>org.apache.httpcomponents</groupId>
                       <artifactId>httpclient</artifactId>
                </exclusion>   
                 <exclusion>  
                  <groupId>org.apache.httpcomponents</groupId>
                     <artifactId>httpmime</artifactId>
                </exclusion> 
                  <exclusion>  
                   <groupId>org.apache.httpcomponents</groupId>
                       <artifactId>httpcore</artifactId>
                </exclusion>       
            </exclusions> 
            </dependency>
            <!-- dubbo end  -->
            <!-- Zookeeper 用于分布式服务管理 -->
            <dependency>
                <groupId>org.apache.zookeeper</groupId>
                <artifactId>zookeeper</artifactId>
                <version>3.4.6</version>
                <exclusions>
                    <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
            </exclusions>
            </dependency>
            <dependency>
                <groupId>com.101tec</groupId>
                <artifactId>zkclient</artifactId>
                <version>0.3</version>
            </dependency>
             <dependency>
                <groupId>com.github.sgroschupf</groupId>
                <artifactId>zkclient</artifactId>
                <version>0.1</version>
            </dependency>
            <!-- Zookeeper 用于分布式服务管理 end -->
            <!-- influxdb-java-client -->
            <dependency>
                <groupId>org.influxdb</groupId>
                <artifactId>influxdb-java</artifactId>
                <version>${influxdb.version}</version>
            </dependency>
            <!-- MyBatis Dependency Begin -->
            <dependency>
                <groupId>org.mybatis</groupId>
                <artifactId>mybatis</artifactId>
                <version>3.4.5</version>
            </dependency>
            <dependency>
                <groupId>org.mybatis</groupId>
                <artifactId>mybatis-spring</artifactId>
                <version>1.3.1</version>
            </dependency>
            <!-- MyBatis Dependency End -->
            <!-- Mysql Driver Begin -->
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>5.1.32</version>
            </dependency>
            <!-- Mysql Driver End -->
            <!-- redis begin -->
        <dependency>
           <groupId>redis.clients</groupId>
           <artifactId>jedis</artifactId>
           <version>2.9.0</version>
        </dependency>
        <!-- redis end -->
        <dependency>
                <groupId>jstl</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
            </dependency>
            
            <dependency>
            <groupId>net.sf.json-lib</groupId>
            <artifactId>json-lib</artifactId>
            <version>2.4</version>
            <classifier>jdk15</classifier>
            <exclusions>
            <exclusion>
                    <groupId>commons-codec</groupId>
                    <artifactId>commons-codec</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-collections</groupId>
                    <artifactId>commons-collections</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-beanutils</groupId>
                    <artifactId>commons-beanutils</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.apache.commons</groupId>
                       <artifactId>commons-lang3</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>${jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
                <version>${jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>${jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.dataformat</groupId>
                <artifactId>jackson-dataformat-xml</artifactId>
                <version>${jackson.version}</version>
            </dependency>
            <!--  jackson begin -->
            <!-- 开源语法分析器 -->
            <dependency>
                <groupId>antlr</groupId>
                <artifactId>antlr</artifactId>
                <version>2.7.6</version>
            </dependency>
        
            <!-- aspectj begin -->
            <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.8.12</version>
            </dependency>
            <dependency>
                <groupId>org.aspectj</groupId>
                <artifactId>aspectjweaver</artifactId>
                <version>1.8.12</version>
            </dependency>
            <!-- aspectj end -->
            <!-- cglib begin -->
            <dependency>
                <groupId>cglib</groupId>
                <artifactId>cglib</artifactId>
                <version>3.2.5</version>
            </dependency>
<!-- cglib end -->
<!--  -->
            <dependency>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
                <version>3.3.1</version>
            </dependency>
        <!-- jakata正则表达式API -->
            <dependency>
                <groupId>oro</groupId>
                <artifactId>oro</artifactId>
                <version>2.0.8</version>
            </dependency>
            <!-- Others Begin -->
            <!-- 阿里巴巴中间件开始 -->
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>druid</artifactId>
                <version>1.1.5</version>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <version>1.2.39</version>
            </dependency>
            <!-- 阿里巴巴中间件结束 -->
            <!-- httpclient begin -->
                 <!-- okhttp3  -->
            <dependency>
                <groupId>com.squareup.okhttp3</groupId>
                <artifactId>okhttp</artifactId>
                <version>3.9.0</version>
            </dependency>
            <!-- httpclient  -->
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>4.5.3</version>
                 <exclusions>
            <exclusion>
                    <groupId>commons-codec</groupId>
                    <artifactId>commons-codec</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-collections</groupId>
                    <artifactId>commons-collections</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-beanutils</groupId>
                    <artifactId>commons-beanutils</artifactId>
                </exclusion>
             <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion>
                <exclusion>
                   <groupId>org.apache.commons</groupId>
                       <artifactId>commons-lang3</artifactId>
                </exclusion>
            </exclusions>
            </dependency>
            <!-- httpclient end -->
            <!-- netty -->
            <dependency>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
                <version>3.2.10.Final</version>
            </dependency>
            <!-- jetty -->
            <dependency>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>jetty</artifactId>
            <version>7.0.0.pre5</version>
        </dependency>
        
            <dependency>
                <groupId>org.jsoup</groupId>
                <artifactId>jsoup</artifactId>
                <version>1.7.3</version>
            </dependency>
            <!-- sms -->
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>com.alibaba.sms</artifactId>
                <version>${com.alibaba.sms.version}</version>
            </dependency>
            <!-- ping++ -->
            <dependency>
                <groupId>Pingplusplus</groupId>
                <artifactId>pingpp-java</artifactId>
                <version>${pingpp-java.version}</version>
                <type>jar</type>
            </dependency>
            <!--jpush-->
            <dependency>
                <groupId>cn.jpush.api</groupId>
                <artifactId>jpush-client</artifactId>
                <version>3.3.2</version>
                <exclusions>
                    <exclusion>
                        <artifactId>slf4j-api</artifactId>
                        <groupId>org.slf4j</groupId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava</artifactId>
                    <version>${guava.version}</version>
            </dependency>
                <!-- joda  begin-->
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
            <version>2.9.9</version>
        </dependency>
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time-jsptags</artifactId>
            <version>1.1.1</version>
        </dependency>
       <!-- joda  end-->
          <!-- JSR303 Validation-->
            <dependency>
                <groupId>javax.validation</groupId>
                <artifactId>validation-api</artifactId>
                <version>${javax.validation.version}</version>
            </dependency>
            <!--  
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-validator</artifactId>
                <version>${hibernate-validator.version}</version>
            </dependency>
-->
<!-- web relative begin -->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>provided</scope>
        </dependency>
            <!-- 验证码组件 -->
            <dependency>
            <groupId>com.github.axet</groupId>
            <artifactId>kaptcha</artifactId>
            <version>0.0.9</version>
        </dependency>
            <!--  
            <dependency>
                <groupId>org.apache.tomcat</groupId>
                <artifactId>servlet-api</artifactId>
                <version>6.0.37</version>
            </dependency>
            <dependency>
                <groupId>org.apache.tomcat</groupId>
                <artifactId>jsp-api</artifactId>
                <version>6.0.37</version>
            </dependency>-->
            <dependency>
                <groupId>org.freemarker</groupId>
                <artifactId>freemarker</artifactId>
                <version>2.3.19</version>
            </dependency>
         <!-- Velocity视图所需jar -->
        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity</artifactId>
            <version>1.7</version>
        </dependency>
        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity-tools</artifactId>
            <version>2.0</version>
            <exclusions>
                <exclusion>
                    <artifactId>dom4j</artifactId>
                    <groupId>dom4j</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>oro</artifactId>
                    <groupId>oro</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>sslext</artifactId>
                    <groupId>sslext</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>struts-core</artifactId>
                    <groupId>org.apache.struts</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>struts-taglib</artifactId>
                    <groupId>org.apache.struts</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>struts-tiles</artifactId>
                    <groupId>org.apache.struts</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-validator</artifactId>
                    <groupId>commons-validator</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-beanutils</artifactId>
                    <groupId>commons-beanutils</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-chain</artifactId>
                    <groupId>commons-chain</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-collections</artifactId>
                    <groupId>commons-collections</groupId>
                </exclusion>
            </exclusions>
        </dependency>
           
               <!-- 单元测试 开始-->
           <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.10.19</version>
               <scope>test</scope>
        </dependency>
          <!-- 单元测试 结束-->
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <!-- Test Dependency Begin -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- chinazyjr midware  begin  -->
    </dependencies>

    <build>
        <!-- 定义plugin插件 -->
        <pluginManagement>
            <plugins>
                <!-- 编译 -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.6.0</version>
                    <configuration>
                        <failOnError>true</failOnError>
                        <verbose>true</verbose>
                        <fork>true</fork>
                        <compilerArgument>-nowarn</compilerArgument>
                        <source>${compiler.version}</source>
                        <target>${compiler.version}</target>
                        <encoding>${project.build.sourceEncoding}</encoding>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.1.2</version>
                    <executions>
                        <execution>
                            <id>attach-sources</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <!-- 打包时忽略测试目录 -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.18.1</version>
                    <configuration>
                        <skipTests>true</skipTests>
                    </configuration>
                </plugin>
                
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-eclipse-plugin</artifactId>
                    <version>2.8</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.7</version>
                    <configuration>
                        <uniqueVersion>false</uniqueVersion>
                    </configuration>
                </plugin>
                
                
                <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <classesDirectory>target/classes/</classesDirectory>
                    <archive>
                        <manifest>
                            <mainClass>com.alibaba.dubbo.container.Main</mainClass>
                            <useUniqueVersions>false</useUniqueVersions>
                            <addClasspath>true</addClasspath>
                            <classpathPrefix>lib/</classpathPrefix>
                        </manifest>
                        <manifestEntries>
                            <Class-Path>.</Class-Path>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>-->
            </plugins>
        </pluginManagement>
        <!-- 公共的plugin插件 -->
        <plugins>
                    <!-- 指定打包时的编码和JDK版本 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <!-- 打包时忽略测试目录 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>

 

posted on 2018-07-29 17:02  _故乡的原风景  阅读(328)  评论(0编辑  收藏  举报