pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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>spring-boot-dingtalk-robot-starter</artifactId>
  8. <version>1.0.3.RELEASE</version>
  9. <packaging>jar</packaging>
  10. <name>dingtalk-robot</name>
  11. <url>https://gitee.com/snowheart/dingtalk-robot.git</url>
  12. <description>一个用Java打造的方便钉钉群机器人推送消息的轮子</description>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <spring-boot.version>2.2.5.RELEASE</spring-boot.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <version>${spring-boot.version}</version>
  24. <optional>true</optional>
  25. </dependency>
  26. <!-- SpringBoot configuration prompt. -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-configuration-processor</artifactId>
  30. <version>${spring-boot.version}</version>
  31. <optional>true</optional>
  32. </dependency>
  33. </dependencies>
  34. <profiles>
  35. <profile>
  36. <id>release</id>
  37. <build>
  38. <plugins>
  39. <!-- Source -->
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-source-plugin</artifactId>
  43. <version>2.2.1</version>
  44. <executions>
  45. <execution>
  46. <phase>package</phase>
  47. <goals>
  48. <goal>jar-no-fork</goal>
  49. </goals>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. <!-- Javadoc -->
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-javadoc-plugin</artifactId>
  57. <version>2.9.1</version>
  58. <executions>
  59. <execution>
  60. <phase>package</phase>
  61. <goals>
  62. <goal>jar</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. <!-- GPG -->
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-gpg-plugin</artifactId>
  71. <version>1.5</version>
  72. <executions>
  73. <execution>
  74. <phase>verify</phase>
  75. <goals>
  76. <goal>sign</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <!--Compiler-->
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>3.0</version>
  86. <configuration>
  87. <source>${java.version}</source>
  88. <target>${java.version}</target>
  89. <fork>true</fork>
  90. <verbose>true</verbose>
  91. <encoding>UTF-8</encoding>
  92. <showWarnings>false</showWarnings>
  93. </configuration>
  94. </plugin>
  95. <!--Release-->
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-release-plugin</artifactId>
  99. <version>2.5.3</version>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. <distributionManagement>
  104. <snapshotRepository>
  105. <id>sonatype-nexus-snapshots</id>
  106. <name>Sonatype Nexus Snapshots</name>
  107. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  108. </snapshotRepository>
  109. <repository>
  110. <id>sonatype-nexus-staging</id>
  111. <name>Nexus Release Repository</name>
  112. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  113. </repository>
  114. </distributionManagement>
  115. </profile>
  116. </profiles>
  117. <licenses>
  118. <license>
  119. <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
  120. <url>https://gitee.com/snowheart/dingtalk-robot/blob/master/LICENSE</url>
  121. <distribution>repo</distribution>
  122. </license>
  123. </licenses>
  124. <scm>
  125. <tag>master</tag>
  126. <url>git@gitee.com:snowheart/dingtalk-robot.git</url>
  127. <connection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</connection>
  128. <developerConnection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</developerConnection>
  129. </scm>
  130. <organization>
  131. <name>snowheart</name>
  132. <url>http://www.snowheart.cn/</url>
  133. </organization>
  134. <developers>
  135. <developer>
  136. <name>Wanxiang Liu</name>
  137. <email>sxjwzxlwx@yeah.net</email>
  138. <organization>snowheart</organization>
  139. </developer>
  140. <developer>
  141. <name>Alex Hu</name>
  142. <email>pa769@qq.com</email>
  143. <organization>dimaidt</organization>
  144. </developer>
  145. </developers>
  146. </project>