1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.</modelVersion>
  4.  
  5. <groupId>com.zfull.pay</groupId>
  6. <artifactId>pay-parents</artifactId>
  7. <version>1.0.</version>
  8. <packaging>pom</packaging>
  9. <name>pay-parents</name>
  10.  
  11. <properties>
  12. <project.build.sourceEncoding>UTF-</project.build.sourceEncoding>
  13. </properties>
  14.  
  15. <repositories>
  16. <repository>
  17. <id>nexus</id>
  18. <name>Nexus Repositoy</name>
  19. <!-- <url>http://113.98.101.189:8082/nexus/content/groups/public/</url> -->
  20. <url>http://10.252.1.165:8082/nexus/content/groups/public/</url>
  21. <releases>
  22. <enabled>true</enabled>
  23. </releases>
  24. <snapshots>
  25. <enabled>true</enabled>
  26. </snapshots>
  27. </repository>
  28. </repositories>
  29.  
  30. <distributionManagement>
  31. <repository>
  32. <id>SmartPay-Releases</id>
  33. <!-- <url>http://113.98.101.189:8082/nexus/content/repositories/SmartPay-Releases</url> -->
  34. <url>http://10.252.1.165:8082/nexus/content/repositories/SmartPay-Releases</url>
  35. </repository>
  36. <snapshotRepository>
  37. <id>SmartPay-Snapshots</id>
  38. <!-- <url>http://113.98.101.189:8082/nexus/content/repositories/SmartPay-Snapshots</url> -->
  39. <url>http://10.252.1.165:8082/nexus/content/repositories/SmartPay-Snapshots</url>
  40. </snapshotRepository>
  41. </distributionManagement>
  42.  
  43. <!-- 配置Maven SonarQube -->
  44. <profiles>
  45. <profile>
  46. <id>sonar</id>
  47. <activation>
  48. <activeByDefault>true</activeByDefault>
  49. </activation>
  50. <properties>
  51. <!-- Example for MySQL -->
  52. <sonar.jdbc.url>
  53. jdbc:mysql://10.252.1.165:3306/sonarqube?useUnicode=true&amp;characterEncoding=utf8
  54. </sonar.jdbc.url>
  55. <sonar.jdbc.username>sonar</sonar.jdbc.username>
  56. <sonar.jdbc.password>sonar</sonar.jdbc.password>
  57. <sonar.host.url>
  58. http://10.252.1.165:9000
  59. </sonar.host.url>
  60. </properties>
  61. </profile>
  62. </profiles>
  63.  
  64. <dependencies>
  65. <dependency>
  66. <groupId>junit</groupId>
  67. <artifactId>junit</artifactId>
  68. <version>4.12</version>
  69. <scope>test</scope>
  70. </dependency>
  71. </dependencies>
  72.  
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <version>3.6.</version>
  79. <configuration>
  80. <source>1.8</source>
  81. <target>1.8</target>
  82. <encoding>UTF-</encoding>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-javadoc-plugin</artifactId>
  88. <version>2.10.</version>
  89. <configuration>
  90. <charset>UTF-</charset>
  91. <encoding>UTF-</encoding>
  92. <docencoding>UTF-</docencoding>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <id>attach-javadocs</id>
  97. <goals>
  98. <goal>jar</goal>
  99. </goals>
  100. <configuration>
  101. <additionalparam>-Xdoclint:none</additionalparam>
  102. </configuration>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-source-plugin</artifactId>
  109. <version>3.0.</version>
  110. <configuration>
  111. <attach>true</attach>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <phase>package</phase>
  116. <goals>
  117. <goal>jar-no-fork</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. </project>

Maven父级pom.xml配置文件的更多相关文章

  1. 刨析Maven(对pom.xml配置文件常用标签的解析)

    昨天在阿里云看到了一句话,"当你Learning和Trying之后,如果能尽量把Teaching也做好,会促进我们思考".共勉! 这是关于Maven的第三篇博客,这次我们深入了解p ...

  2. Maven中的pom.xml配置文件详解

    原文:http://blog.csdn.net/u012152619/article/details/51485297 <project xmlns="http://maven.apa ...

  3. Maven的pom.xml配置文件详解

    Maven简述 Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具. Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具.由于 Mav ...

  4. Maven学习 六 pom.xml文件

    java jar包的搜索网址:http://mvnrepository.com/ pom作为项目对象模型.通过xml表示maven项目,使用pom.xml来实现.主要描述了项目:包括配置文件:开发者需 ...

  5. 【maven学习】pom.xml文件详解

    环境 apache-maven-3.6.1 jdk 1.8 eclipse 4.7 POM是项目对象模型(Project Object Model)的简称,它是Maven项目中的文件,使用XML表示, ...

  6. 【转】maven核心,pom.xml详解

    感谢如下博主: http://www.cnblogs.com/qq78292959/p/3711501.html maven核心,pom.xml详解 什么是pom?    pom作为项目对象模型.通过 ...

  7. Maven第三篇【Maven术语、pom.xml介绍】

    maven术语 在我们上一篇中已经知道了在Intellij idea下是如何使用Maven的了,创建出来的目录结构是这样子的: 上面的目录结构就是Maven所谓的"约定",我们使用 ...

  8. maven中的pom.xml中的scope的作用

    pom.xml配置文件中, <dependency>中的<scope>,它主要管理依赖的生效范围.目前<scope>可以使用5个值: * compile,缺省值,适 ...

  9. IDEA Maven project: 'xxx/pom.xml' already exists in VFS

    Failed to create a Maven project: 'xxx/pom.xml' already exists in VFS idea创建项目后,发现项目有问题,删除后重新创建,提示错误 ...

随机推荐

  1. Android学习笔记之Toast详解

    1. 贴一段Android API-Toast Toast public class Toast  extends Object java.lang.Object ↳ android.widget.T ...

  2. windows客户端远程访问linux下mysql方法

    windows客户端远程访问linux下mysql方法 1. 改表法.可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要在localhost的那台电脑,登入mysql后,更改 &q ...

  3. onerror="javascript:this.src='images/defaultUpload.png';"引发的死循环错误

    18:10:47.441 WARN o.s.web.servlet.PageNotFound:1101 - No mapping found for HTTP request with URI [/c ...

  4. JSP学习(四)JSP属性范围

    P属性范围 四种属性范围分别指以下四种: 当前页page:一个属性只能在一个页面中取得,跳转到其他页面无法取得 一次服务器请求request:一个页面中设置的属性,只要经过了服务器跳转,则跳转之后的页 ...

  5. Codeforces 808G Anthem of Berland【KMP】【DP】

    LINK 简要题意 给你一个串s,上面有字母和一些通配符,问你将通配符换成字母之后最多可以出现多少次串t 首先有一个很傻子的做法就是\(dp_{i,j}\)表示s到第i个位置匹配t串前j个字符的完整t ...

  6. Orders

    The stores manager has sorted all kinds of goods in an alphabetical order of their labels. All the k ...

  7. C++ sort 函数用法

    MSDN中的定义: template<class RanIt>void sort(RanIt first, RanIt last); //--> 1)template<clas ...

  8. iOS客户端打包自动集成weex方案

    我司在2017年已经部分使用weex开发,然而开发weex 的人都知道,在前端开发完成之后需要集成到 安卓和iOS 各个app 之中.每次修改都要重新copy给各个app 负责人去打包,因此这是一种重 ...

  9. matlab调用c程序(转载)

    通过把耗时长的函数用c语言实现,并编译成mex函数可以加快执行速度. Matlab本身是不带c语言的编译器的,所以要求你的机器上已经安装有VC,BC或Watcom C中的一种. 如果你在安装Matla ...

  10. Liquibase 了解

    Liquibase 是一个用于跟踪.管理和应用数据库变化的开源的数据库重构工具.它将所有数据库的变化(包括结构和数据)都保存在 XML 文件中,便于版本控制. Liquibase 具备如下特性: 不依 ...