pom.xml 6.9 KB

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