<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <parent>
<groupId>wusc.edu.pay.common</groupId>
<artifactId>pay-common-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pay-common-parent</relativePath>
</parent> <groupId>wusc.edu.pay.service</groupId>
<artifactId>pay-service-cost</artifactId>
<packaging>jar</packaging>
<version>${pay-service-cost.version}</version> <name>pay-service-cost</name>
<url>http://maven.apache.org</url> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<log4j.leve>debug</log4j.leve>
<log4j.ale>debug</log4j.ale>
</properties> <build>
<finalName>pay-service-cost</finalName>
<resources>
<resource>
<targetPath>${project.build.directory}/classes</targetPath>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<targetPath>${project.build.directory}/classes/META-INF/spring</targetPath>
<directory>src/main/resources/spring</directory>
<filtering>true</filtering>
<includes>
<include>spring-context.xml</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[2.0,)</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- 打包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>
<!-- 打包时 MANIFEST.MF文件不记录的时间戳版本 -->
<useUniqueVersions>false</useUniqueVersions>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeTypes>jar</includeTypes>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build> <dependencies>
<dependency>
<groupId>wusc.edu.pay.common</groupId>
<artifactId>pay-common</artifactId>
<version>${pay-common.version}</version>
</dependency>
<dependency>
<groupId>wusc.edu.pay.common</groupId>
<artifactId>pay-common-config</artifactId>
<version>${env}-${pay-common-config.version}</version>
</dependency>
<dependency>
<groupId>wusc.edu.pay.common</groupId>
<artifactId>pay-common-core</artifactId>
<version>${pay-common-core.version}</version>
</dependency> <dependency>
<groupId>wusc.edu.pay.facade</groupId>
<artifactId>pay-facade-cost</artifactId>
<version>${pay-facade-cost.version}</version>
</dependency> <!-- Spring Dependency Begin -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Spring Dependency End --> <!-- dubbo required jars start -->
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
</dependency>
<!-- dubbo required jars end --> <!-- 多线程测试工具 Begin -->
<dependency>
<groupId>fakepath</groupId>
<artifactId>groboutils-core</artifactId>
<version>5</version>
<scope>test</scope>
</dependency>
<!-- 多线程测试工具 End -->
</dependencies>
</project>

最新文章

  1. C#记录程序运行时间记录显示
  2. 【转载】跟随 Web 标准探究DOM -- Node 与 Element 的遍历
  3. 【java基础学习】网络编程
  4. linux 配置 ftp
  5. 493萬Gmail用戶的賬號密碼遭洩露,Google否認自己存在安全漏洞
  6. 基于fullpage的幻灯片播放
  7. 15条变量&amp;方法命名的最佳实践【转】
  8. zabbix短信网关调用问题总结
  9. Android 自学之绝对布局 AbsoluteLayout
  10. 06_init()和destroy()方法
  11. 执行config文件时,config.log中报错xcrun: error: active developer path (&quot;/Applications/Xcode.app/Contents/Developer&quot;) does not exist, use xcode-select to change
  12. USB device &amp; USB controller &amp; USB passthrough
  13. Unity3D脚本的生命周期(执行顺序)
  14. Django+xadmin打造在线教育平台(五)
  15. UOJ#449. 【集训队作业2018】喂鸽子(期望dp)
  16. 关于MySQL5.7开启bin-log主从复制
  17. 关于 java 里面的路径
  18. Repository模式中,Update总是失败及其解析(转)
  19. Rstudio常用快捷键
  20. HDU----专题训练

热门文章

  1. java中的javap命令(工作中补充的知识)
  2. 剑指offer第二版面试题2:数组中重复的数字(JAVA版)
  3. c程序查找字符出现次数
  4. JS:面向对象(进阶篇)
  5. [已解决]报错run `npm audit fix` to fix them, or `npm audit` for details
  6. [Code+#3]博弈论与概率统计
  7. eclipse 在复制/粘贴 时很卡(转)
  8. linux常用命令-4查看文件内容命令
  9. notepad++去换行(简单、快捷)
  10. jq-demo-拖拽