pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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.4.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. <exclusions>
  25. <exclusion>
  26. <artifactId>spring-boot-starter-tomcat</artifactId>
  27. <groupId>org.springframework.boot</groupId>
  28. </exclusion>
  29. </exclusions>
  30. <optional>true</optional>
  31. </dependency>
  32. <!-- SpringBoot configuration prompt. -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-configuration-processor</artifactId>
  36. <version>${spring-boot.version}</version>
  37. <optional>true</optional>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <!-- Source -->
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-source-plugin</artifactId>
  46. <version>3.2.1</version>
  47. <executions>
  48. <execution>
  49. <phase>package</phase>
  50. <goals>
  51. <goal>jar-no-fork</goal>
  52. </goals>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <!--Compiler-->
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <version>3.6.2</version>
  61. <configuration>
  62. <source>${java.version}</source>
  63. <target>${java.version}</target>
  64. <fork>true</fork>
  65. <verbose>true</verbose>
  66. <encoding>UTF-8</encoding>
  67. <showWarnings>false</showWarnings>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. <profiles>
  73. <profile>
  74. <id>release</id>
  75. <build>
  76. <plugins>
  77. <!-- 生成 sha1 校验文件 -->
  78. <plugin>
  79. <groupId>net.nicoulaj.maven.plugins</groupId>
  80. <artifactId>checksum-maven-plugin</artifactId>
  81. <version>1.11</version>
  82. <executions>
  83. <execution>
  84. <id>checksum-maven-plugin-files</id>
  85. <phase>install</phase>
  86. <goals>
  87. <goal>files</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. <configuration>
  92. <fileSets>
  93. <fileSet>
  94. <directory>${project.build.directory}</directory>
  95. <includes>
  96. <include>*.jar</include>
  97. <include>*.tar.gz</include>
  98. </includes>
  99. </fileSet>
  100. </fileSets>
  101. <algorithms>
  102. <algorithm>SHA-1</algorithm>
  103. </algorithms>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. <distributionManagement>
  109. <snapshotRepository>
  110. <id>sonatype-nexus-snapshots</id>
  111. <name>Sonatype Nexus Snapshots</name>
  112. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  113. </snapshotRepository>
  114. <repository>
  115. <id>sonatype-nexus-staging</id>
  116. <name>Nexus Release Repository</name>
  117. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  118. </repository>
  119. </distributionManagement>
  120. </profile>
  121. </profiles>
  122. <licenses>
  123. <license>
  124. <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
  125. <url>https://gitee.com/snowheart/dingtalk-robot/blob/master/LICENSE</url>
  126. <distribution>repo</distribution>
  127. </license>
  128. </licenses>
  129. <scm>
  130. <tag>master</tag>
  131. <url>git@gitee.com:snowheart/dingtalk-robot.git</url>
  132. <connection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</connection>
  133. <developerConnection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</developerConnection>
  134. </scm>
  135. <organization>
  136. <name>snowheart</name>
  137. <url>http://www.snowheart.cn/</url>
  138. </organization>
  139. <developers>
  140. <developer>
  141. <name>Wanxiang Liu</name>
  142. <email>sxjwzxlwx@yeah.net</email>
  143. <organization>snowheart</organization>
  144. </developer>
  145. <developer>
  146. <name>Alex Hu</name>
  147. <email>pa769@qq.com</email>
  148. <organization>dimaidt</organization>
  149. </developer>
  150. </developers>
  151. <distributionManagement>
  152. <repository>
  153. <id>yiidata-maven-release</id>
  154. <name>Nexus Release Repository</name>
  155. <url>http://www.yiidata.net/maven/repository/maven-releases/</url>
  156. </repository>
  157. </distributionManagement>
  158. </project>