pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. <java.version>1.8</java.version>
  21. <dingtalk-robot-version>1.0.1.RELEASE</dingtalk-robot-version>
  22. <spring-boot-version>1.5.9.RELEASE</spring-boot-version>
  23. </properties>
  24. <profiles>
  25. <profile>
  26. <id>release</id>
  27. <build>
  28. <plugins>
  29. <!-- Source -->
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-source-plugin</artifactId>
  33. <version>2.2.1</version>
  34. <executions>
  35. <execution>
  36. <phase>package</phase>
  37. <goals>
  38. <goal>jar-no-fork</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. <!-- Javadoc -->
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-javadoc-plugin</artifactId>
  47. <version>2.9.1</version>
  48. <executions>
  49. <execution>
  50. <phase>package</phase>
  51. <goals>
  52. <goal>jar</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <!-- GPG -->
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-gpg-plugin</artifactId>
  61. <version>1.5</version>
  62. <executions>
  63. <execution>
  64. <phase>verify</phase>
  65. <goals>
  66. <goal>sign</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <!--Compiler-->
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-compiler-plugin</artifactId>
  75. <version>3.0</version>
  76. <configuration>
  77. <source>1.7</source>
  78. <target>1.7</target>
  79. <fork>true</fork>
  80. <verbose>true</verbose>
  81. <encoding>UTF-8</encoding>
  82. <showWarnings>false</showWarnings>
  83. </configuration>
  84. </plugin>
  85. <!--Release-->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-release-plugin</artifactId>
  89. <version>2.5.1</version>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. <distributionManagement>
  94. <snapshotRepository>
  95. <id>rdc-snapshots</id>
  96. <url>https://repo.rdc.aliyun.com/repository/34536-snapshot-ZLvYI3/</url>
  97. </snapshotRepository>
  98. <repository>
  99. <id>rdc-releases</id>
  100. <url>https://repo.rdc.aliyun.com/repository/34536-release-G8xf7D/</url>
  101. </repository>
  102. </distributionManagement>
  103. </profile>
  104. </profiles>
  105. <licenses>
  106. <license>
  107. <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
  108. <url>https://gitee.com/snowheart/dingtalk-robot/blob/master/LICENSE</url>
  109. <distribution>repo</distribution>
  110. </license>
  111. </licenses>
  112. <scm>
  113. <tag>master</tag>
  114. <url>git@gitee.com:snowheart/dingtalk-robot.git</url>
  115. <connection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</connection>
  116. <developerConnection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</developerConnection>
  117. </scm>
  118. <organization>
  119. <name>snowheart</name>
  120. <url>http://www.snowheart.cn/</url>
  121. </organization>
  122. <developers>
  123. <developer>
  124. <name>Wanxiang Liu</name>
  125. <email>sxjwzxlwx@yeah.net</email>
  126. <organization>snowheart</organization>
  127. </developer>
  128. </developers>
  129. <dependencyManagement>
  130. <dependencies>
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-autoconfigure</artifactId>
  134. <version>${spring-boot-version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-web</artifactId>
  139. <version>${spring-boot-version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-test</artifactId>
  144. <version>${spring-boot-version}</version>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>cn.snowheart</groupId>
  149. <artifactId>spring-boot-dingtalk-robot-starter</artifactId>
  150. <version>${dingtalk-robot-version}</version>
  151. </dependency>
  152. </dependencies>
  153. </dependencyManagement>
  154. </project>