91 KiB
Maven使用方法与配置文件详解
[TOC]
介绍
Maven是一个项目构建和管理的工具,提供了帮助管理 构建、文档、报告、依赖、SCMS、发布、分发的方法。可以方便的编译代码、进行依赖管理、管理二进制库等等 Maven的好处在于可以将项目过程规范化、自动化、高效化以及强大的可扩展性,利用Maven自身及其插件还可以获得代码检查报告、单元测试覆盖率、实现持续集成等等
概念
-
POM(项目配置模型)
POM是指Project Object Model。POM是一个XML,在Maven2里为pom.xml。是Maven工作的基础,在执行task或者goal时,Maven会去项目根目录下读取pom.xml获得需要的配置信息 POM文件中包含了项目的信息和Maven build项目所需的配置信息,通常有项目信息(如版本、成员)、项目的依赖、插件和goal、build选项等等 POM是可以继承的,通常对于一个大型的项目或是多个Module的情况,子模块的POM需要指定父模块的POM
-
Artifact(产物)
可以是jar文件,源文件,二进制文件,war文件,甚至是pom文件。每个artifact都由groupId:artifactId:version组成的标识符唯一识别。需要被使用(依赖)的artifact都要放在仓库(见Repository)中
-
Repositories(仓库)
Repositories是用来存储Artifact的。如果说我们的项目产生的Artifact是一个个小工具,那么Repositories就是一个仓库,里面有我们自己创建的工具,也可以储存别人造的工具,我们在项目中需要使用某种工具时,在pom中声明dependency,编译代码时就会根据dependency去下载工具(Artifact),供自己使用。
对于自己的项目完成后可以通过mvn install命令将项目放到仓库(Repositories)中仓库分为本地仓库和远程仓库,远程仓库是指远程服务器上用于存储Artifact的仓库,本地仓库是指本机存储Artifact的仓库,对于windows机器本地仓库地址为系统用户的.m2/repository下面。 对于需要的依赖,在pom中添加dependency即可,可以在maven的仓库中搜索:http://mvnrepository.com/
-
Lifecycle(生命周期)
生命周期,这是Maven最高级别的的控制单元,它是一系列的Phase组成,也就是说,一个生命周期,就是一个大任务的总称,不管它里面分成多少个子任务,反正就是运行一个Lifecycle,就是交待了一个任务,运行完后,就得到了一个结果,中间的过程,是Phase完成的,自己可以定义自己的Lifecycle,包含自己想要的Phase,一个Lifecycle是由Phases构成的
Lifecycle顺序:validate -> compile -> test -> package -> verify -> install -> deploy
-
Phase(阶段)
可以理解为任务单元,Lifecycle是总任务,Phase就是总任务分出来的一个个子任务,但是这些子任务是被规格化的,它可以同时被多个Lifecycle所包含,一个Lifecycle可以包含任意个Phase,Phase的执行是按顺序的,一个Phase可以绑定很多个Goal,至少为一个,没有Goal的Phase是没有意义的
-
Goal(目标)
这是执行任务的最小单元,它可以绑定到任意个Phase中,一个phase有一个或多个Goal,Goal也是按顺序执行的,一个Phase被执行时,绑定到Phase里的Goal会按绑定的时间被顺序执行,不管Phase己经绑定了多少个Goal,你自己定义的Goal都可以继续绑到Phase中
例:
mvn clean dependency:copy-dependencies packageclean是phase、dependency:copy-dependencies是plugin-in dependency 的goal copy-dependencies、package也是一个phase;maven会顺序执行这3个对象中包含的所有goal
镜像
-
国内镜像库 (~/.m2/settings.xml)
<mirrors> <!-- 阿里云镜像 --> <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/repositories/central/</url> </mirror> <!-- 网易163镜像 --> <mirror> <id>nexus-163</id> <mirrorOf>*</mirrorOf> <name>Nexus 163</name> <url>http://mirrors.163.com/maven/repository/maven-public/</url> </mirror> </mirrors>
配置文件详解
-
pom.xml
<?xml version="1.0" encoding="UTF-8"?> <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> <!-- ************************************************************************* --> <!-- * 项目描述 * --> <!-- ************************************************************************* --> <!-- 组名(通常为企业、组织的package前缀) --> <groupId>com.murong.ecp.app</groupId> <!-- 工程/项目名称(新大陆是每个模块创建一个工程) --> <artifactId>pos</artifactId> <!-- 版本号(jar文件,与部署包文件命名规则中含此版本号) --> <version>1.0.1-SNAPSHOT</version> <!-- 打包方式(默认为jar,通常有jar/war/ejb/ear/rar/par/pom/maven-plugin) --> <packaging>jar</packaging> <!-- ************************************************************************* --> <!-- * 参数属性 * --> <!-- ************************************************************************* --> <properties> <!-- 文件拷贝时的编码 --> <project.build.sourceEncoding>GBK</project.build.sourceEncoding> <!-- 文件拷贝时的编码 --> <project.reporting.outputEncoding>GBK</project.reporting.outputEncoding> <!-- 编译时的编码 --> <maven.compiler.encoding>GBK</maven.compiler.encoding> <!-- 参数作用域(新大陆自定义参数,定义发布时的参数配置后缀,具体请看maven-antrun-plugin段) --> <parameter.scope>sit</parameter.scope> <!--<parameter.scope>dev</parameter.scope> --> <!--<parameter.scope>prd</parameter.scope> --> </properties> <!-- ************************************************************************* --> <!-- * 部署仓库配置 * --> <!-- ************************************************************************* --> <distributionManagement> <!-- Maven Deploy自动部署的仓库配置 --> <repository> <id>ecp-releases</id> <name>releases</name> <url>http://10.99.65.10:8081/repository/ecp-releases/</url> </repository> </distributionManagement> <!-- ************************************************************************* --> <!-- * 远程仓库配置 * --> <!-- ************************************************************************* --> <repositories> <!-- Maven 依赖包下载源的仓库配置 --> <repository> <id>ecp-releases</id> <name>releases</name> <url>http://10.99.65.10:8081/repository/ecp-releases/</url> </repository> </repositories> <!-- ************************************************************************* --> <!-- * 工程依赖包配置 * --> <!-- ************************************************************************* --> <dependencies> <!-- 可以使用ECP Maven部署脚本生成(问龙伍拿) --> <dependency> <groupId>thirdparty</groupId> <artifactId>account-api-accounting</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>account-api-common</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>account-api-manager</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>alipay-sdk-java20171201160035</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2</artifactId> <version>1.6.1.wso2v10</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.murong.ecp.app.common.enumsaccout</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.app.atmp-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.app.posp.poschandler-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bat.job-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.biz.engine-1.0.1</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.biz.engineext-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.biz.transengine-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.bsp-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.param-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.paramhandler-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.schedule-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.sqn-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.tranflowctrl-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bservice.btp</artifactId> <version>1.0.4</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.gateway-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.http-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.ibscomm-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.jms.jmsadapter-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.jms.jmsbean-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.mdlsvr-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.mq-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.tcp-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.tuxedo-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.webservice-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.client.http-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.client.tcp-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.ccb-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.cmp-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.expr-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.expression</artifactId> <version>1.0.4</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.handlers-1.0.1</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.handlers</artifactId> <version>1.0.6</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.pubatc-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.comp.pubatcext-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.lib-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.data.zookeeper-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.dict.appconstant-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.mng-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.mngutil-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.monext-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.template-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools.probes-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools.report-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools.simpress-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.transform.cnaps-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.transform.datafmtconvert-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.transform.iif-1.0.4</artifactId> <version>branch_4_3_1</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.transform.swcode-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.webatc-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>core</artifactId> <version>3.1.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-api</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-bundle</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-common-utilities</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-core</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-databinding-aegis</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-databinding-jaxb</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-frontend-simple</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-management</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>2.4.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hanhui-common-lang</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>1.7.5</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>junit</artifactId> <version>4.12</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrweixinpay-1.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>neethi</artifactId> <version>3.1.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>starposalipay</artifactId> <version>1.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>wsdl4j</artifactId> <version>1.6.2.wso2v4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xmlschema-core</artifactId> <version>2.2.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>zfbpay</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>zxing-core</artifactId> <version>2.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>FneBase64</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>NLandCheckInfo</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>activation</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>amqp-client</artifactId> <version>3.3.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>asm</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axiom-api</artifactId> <version>1.2.12</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axiom-dom</artifactId> <version>1.2.12</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axiom-impl</artifactId> <version>1.2.12</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-adb</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-adb-codegen</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-ant-plugin</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-clustering</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-codegen</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-corba</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-fastinfoset</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-java2wsdl</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-jaxbri</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-jaxws</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-jibx</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-json</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-kernel</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-metadata</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-mtompolicy</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-saaj</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-soapmonitor-servlet</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-spring</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-transport-http</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-transport-local</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>axis2-xmlbeans</artifactId> <version>1.5.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>backport-util-concurrent</artifactId> <version>3.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>c3p0</artifactId> <version>0.9.2.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>com.ibm.mq</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.dataqueue-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.bpservice.sequence-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.jms-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.common-1.0.4</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.constant-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.dbutil-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.dispatcher-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.framework-1.0.4</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.hub-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.json-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.parse-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.register-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.core.workload-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.data-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.data.cache-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.mon-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.security.encrypt-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools.datcln-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.tools.filbrc-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.util-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.mvc-1.0.5</artifactId> <version>branch_4_3_1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-beanutils-core</artifactId> <version>1.8.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-codec</artifactId> <version>1.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-configuration</artifactId> <version>1.10</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-dbcp</artifactId> <version>1.2.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-digester</artifactId> <version>1.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-discovery</artifactId> <version>0.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-email</artifactId> <version>1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-httpclient</artifactId> <version>3.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-net</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-pool</artifactId> <version>1.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-pool2</artifactId> <version>2.3</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commons-validator</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>commontemplate</artifactId> <version>0.8.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>druid</artifactId> <version>1.0.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>ezmorph</artifactId> <version>1.0.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>fluent-hc</artifactId> <version>4.3.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>freemarker</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>gson</artifactId> <version>2.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hivemind</artifactId> <version>1.1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hivemind-lib</artifactId> <version>1.1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hs-servlet</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>htmlparser</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>httpclient</artifactId> <version>4.3.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>httpclientcontrib</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>httpcore</artifactId> <version>4.3.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>httpmime</artifactId> <version>4.3.5</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>iTextAsian</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>ibatis</artifactId> <version>2.3.4.726</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>itext</artifactId> <version>1.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jakarta-oro</artifactId> <version>2.0.8</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>javassist</artifactId> <version>3.6.ga</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jaxen</artifactId> <version>1.1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jaxrpc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jcommon</artifactId> <version>1.0.12</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jedis</artifactId> <version>2.6.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jfreechart</artifactId> <version>1.0.9</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jms</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jolt</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>joltjse</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>json-lib-2.2.2-jdk13</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>json-lib-2.4-jdk15</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jxl</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>kafka-clients</artifactId> <version>0.9.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mail</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mchange-commons-java</artifactId> <version>0.2.3.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mina-core</artifactId> <version>1.1.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mina-filter-ssl</artifactId> <version>1.1.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mybatis</artifactId> <version>3.1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mybatis-spring</artifactId> <version>1.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>mysql-connector-java-5.1.35-bin</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>ojdbc6</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi-3.9-20121203</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi-excelant-3.9-20121203</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi-ooxml-3.9-20121203</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi-ooxml-schemas-3.9-20121203</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi-scratchpad-3.9-20121203</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>poi2</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>report4</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>saaj</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>servlet-api</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.2</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-amqp</artifactId> <version>1.3.5.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-aop</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-asm</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-batch-core</artifactId> <version>2.1.8.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-batch-infrastructure</artifactId> <version>2.1.8.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-beans</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-context</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-core</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-expression</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-jdbc</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-rabbit</artifactId> <version>1.3.5.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-retry</artifactId> <version>1.1.0.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>spring-tx</artifactId> <version>3.1.1.RELEASE</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>stax-api</artifactId> <version>1.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>velocity</artifactId> <version>1.5</version> <type>jar</type> </dependency> <!-- <dependency> <groupId>thirdparty</groupId> <artifactId>wsdl4j</artifactId> <version>1.5.1</version> <type>jar</type> </dependency> --> <dependency> <groupId>thirdparty</groupId> <artifactId>xmlbeans</artifactId> <version>2.3.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xmlpull</artifactId> <version>1.1.3.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xmlsec</artifactId> <version>1.4.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xom</artifactId> <version>1.2.5</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xpp3</artifactId> <version>1.1.4c</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>xstream</artifactId> <version>1.4.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>zkclient</artifactId> <version>2.1.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>zookeeper</artifactId> <version>3.4.6</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>EmClient</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>JBigInflateConverter</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>bcprov-jdk16-141</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>ccp-security</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.channel.kafka.adapter-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>element-credit-pub</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>fastjson</artifactId> <version>1.2.7</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hiatmpatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hidesutils</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hiposchandler</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hisxpay</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mracmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mractatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mralipay</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mratmp</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrbankutils</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcacertself</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcapatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcmm</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcmmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcmmfee</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcmmgeninf</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcorgurm</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcpu</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcrdbin</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrcustom</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrdecode</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrdesutils</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrematc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrgeninf</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrgwa</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mripos-2.0.1</artifactId> <version>2.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrips</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrjsontophc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrloadpkgmapper</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmcaatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmcgatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmd5</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmkm</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmkmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmngatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmod</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrmpp</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrnewacm</artifactId> <version>1.0.2</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrngw</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrntc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrntcatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrpayatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrportal</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrposchandler</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrpsm</artifactId> <version>1.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrptmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrptsatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrpubatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrpwmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrreportext</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrisknew-2.0.1</artifactId> <version>2.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrpm</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrpmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrrc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrrcatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrss</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrssatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrssrulecheck</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrrzb</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrsha256pwd</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrsmsclient</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrsxpay</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrtamatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrtrcoper</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrurm-2.0.1</artifactId> <version>2.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrurmatc</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrurmfee</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrutilty</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>netpayclient</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>newlandutil</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>pe-enterx-guard</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>qrcode</artifactId> <version>0.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>qrcode_swetake</artifactId> <version>0.0.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>shanghai_1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>upacp_sdk</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>1</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>AESRZ</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>AESWithJCE</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web-1.0.1</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.httpsession-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.menu-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.mvc-1.0.2</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.mvc-ext</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.prt-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>com.yuangou.ecp.bp.web.taglib-1.0.0</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>cors-filter</artifactId> <version>2.4</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>hs-sert</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>java-property-utils</artifactId> <version>1.9.1</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrips-common_1.0.0</artifactId> <version>common_1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>com.murong.ecp</groupId> <artifactId>mrparam</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>securityAPI</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>thirdparty</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> <type>jar</type> </dependency> </dependencies> <!-- ************************************************************************* --> <!-- * 构建配置 * --> <!-- ************************************************************************* --> <build> <!-- 资源文件的位置与文件匹配规则配置 --> <resources> <resource> <directory>${project.basedir}/src/main/resources</directory> <excludes> <exclude>*</exclude> </excludes> </resource> <resource> <directory>${project.basedir}/src/main/java</directory> <includes> <include>**/mapper/**/*.xml</include> </includes> </resource> <resource> <directory>${project.basedir}/src/main</directory> <includes> <include>jsp/**/*</include> </includes> </resource> <resource> <directory>${project.basedir}</directory> <includes> <include>start.sh</include> </includes> </resource> </resources> <plugins> <!-- 编译插件配置 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <!-- 源代码使用的开发版本 --> <source>1.7</source> <!-- 需要生成的目标class文件的编译版本 --> <target>1.7</target> <!-- 指定编码格式,否则在DOS下运行mvn compile命令时会出现莫名的错误,因为系统默认使用GBK编码 --> <encoding>GBK</encoding> </configuration> </plugin> <!-- 资源打包配置(会使用上面Resource段的配置) --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <configuration> <encoding>GBK</encoding><!-- 指定编码格式,否则在DOS下运行mvn命令时当发生文件资源copy时将使用系统默认使用GBK编码 --> </configuration> <!--<executions> --> <!--<execution> --> <!--<id>copy-xmls</id> --> <!--<phase>process-sources</phase> --> <!--<goals> --> <!--<goal>copy-resources</goal> --> <!--</goals> --> <!--<configuration> --> <!--<outputDirectory>${project.build.outputDirectory}</outputDirectory> --> <!--<resources> --> <!--<resource> --> <!--<directory>${basedir}/src/main/java</directory> --> <!--<includes> --> <!--<include>**/*.xml</include> --> <!--</includes> --> <!--</resource> --> <!--</resources> --> <!--</configuration> --> <!--</execution> --> <!--</executions> --> </plugin> <!-- 打包插件(lib包) --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.6</version> <configuration> <includes> <!-- 打jar包时,只打包class文件 --> <include>**/*.class</include> <include>**/mapper/*.xml</include> <include>**/mapper/**/*.xml</include> </includes> <!--<outputDirectory>${project.build.directory}/package/applib/</outputDirectory> --> <jarName>${project.artifactId}-${project.version}</jarName> <!--<jarName>${project.artifactId}</jarName> --> <!--<excludes> --> <!--<exclude>db.migration/*</exclude> --> <!--<exclude>src/main/resources</exclude> --> <!--</excludes> --> </configuration> </plugin> <!-- 打包插件(部署包,具体配置在assembly.xml文件定义) --> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>${project.basedir}/assembly.xml</descriptor> </descriptors> <finalName>${project.artifactId}-${project.version}</finalName> <!--<finalName>${project.artifactId}</finalName> --> </configuration> <executions> <execution> <id>make-zip</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <!-- 多环境参数文件替换策略配置 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>copy-plugin</id> <phase>compile</phase> <configuration> <!-- http://ant.apache.org/manual/tasksoverview.html --> <tasks> <move todir="${project.build.outputDirectory}" includeemptydirs="false"> <fileset dir="${project.build.outputDirectory}"> <!--<exclude name="**/*.sit"/> --> <include name="**/*.dev" /> <include name="**/*.sit" /> <include name="**/*.prd" /> </fileset> <mapper type="glob" from="*.${parameter.scope}" to="*" /> </move> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> -
assembly.xml
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> <id>distribution</id> <formats> <format>tar.gz</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>${project.build.outputDirectory}</directory> <!--<outputDirectory>/</outputDirectory>--> <outputDirectory>${project.artifactId}</outputDirectory> <excludes> <exclude>com/**</exclude> <exclude>**/*.sit</exclude> <exclude>**/*.prd</exclude> <exclude>**/*.dev</exclude> </excludes> </fileSet> </fileSets> <dependencySets> <dependencySet> <!--<useProjectArtifact>true</useProjectArtifact>--> <outputDirectory>${project.artifactId}/applib</outputDirectory> <!--<outputDirectory>applib</outputDirectory>--> <scope>system</scope> </dependencySet> </dependencySets> </assembly>