pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>cn.snowheart</groupId>
  7. <artifactId>dingtalk-robot</artifactId>
  8. <packaging>pom</packaging>
  9. <version>${dingtalk-robot-version}</version>
  10. <modules>
  11. <module>spring-boot-dingtalk-robot-starter</module>
  12. <module>dingtalk-robot-demo</module>
  13. </modules>
  14. <name>dingtalk-robot</name>
  15. <url>https://gitee.com/snowheart/dingtalk-robot.git</url>
  16. <description>一个用Java打造的方便钉钉群机器人推送消息的轮子</description>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <dingtalk-robot-version>1.0.0.RELEASE</dingtalk-robot-version>
  21. <spring-boot-version>1.5.9.RELEASE</spring-boot-version>
  22. </properties>
  23. <profiles>
  24. <profile>
  25. <id>release</id>
  26. <build>
  27. <plugins>
  28. <!-- Source -->
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-source-plugin</artifactId>
  32. <version>2.2.1</version>
  33. <executions>
  34. <execution>
  35. <phase>package</phase>
  36. <goals>
  37. <goal>jar-no-fork</goal>
  38. </goals>
  39. </execution>
  40. </executions>
  41. </plugin>
  42. <!-- Javadoc -->
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-javadoc-plugin</artifactId>
  46. <version>2.9.1</version>
  47. <executions>
  48. <execution>
  49. <phase>package</phase>
  50. <goals>
  51. <goal>jar</goal>
  52. </goals>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <!-- GPG -->
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-gpg-plugin</artifactId>
  60. <version>1.5</version>
  61. <executions>
  62. <execution>
  63. <phase>verify</phase>
  64. <goals>
  65. <goal>sign</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <!--Compiler-->
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <version>3.0</version>
  75. <configuration>
  76. <source>1.7</source>
  77. <target>1.7</target>
  78. <fork>true</fork>
  79. <verbose>true</verbose>
  80. <encoding>UTF-8</encoding>
  81. <showWarnings>false</showWarnings>
  82. </configuration>
  83. </plugin>
  84. <!--Release-->
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-release-plugin</artifactId>
  88. <version>2.5.1</version>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. <distributionManagement>
  93. <snapshotRepository>
  94. <id>snowheart</id>
  95. <url>http://nexus.snowheart.cn/nexus/content/repositories/snapshots/</url>
  96. </snapshotRepository>
  97. <repository>
  98. <id>snowheart</id>
  99. <url>http://nexus.snowheart.cn/nexus/content/repositories/releases/</url>
  100. </repository>
  101. </distributionManagement>
  102. </profile>
  103. </profiles>
  104. <licenses>
  105. <license>
  106. <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
  107. <url>https://gitee.com/snowheart/dingtalk-robot/blob/master/LICENSE</url>
  108. <distribution>repo</distribution>
  109. </license>
  110. </licenses>
  111. <scm>
  112. <tag>master</tag>
  113. <url>git@gitee.com:snowheart/dingtalk-robot.git</url>
  114. <connection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</connection>
  115. <developerConnection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</developerConnection>
  116. </scm>
  117. <developers>
  118. <developer>
  119. <name>Wanxiang Liu</name>
  120. <email>sxjwzxlwx@yeah.net</email>
  121. <organization>snowheart</organization>
  122. </developer>
  123. </developers>
  124. </project>