pom.xml 5.6 KB

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