pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>sonatype-nexus-snapshots</id>
  96. <name>Sonatype Nexus Snapshots</name>
  97. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  98. </snapshotRepository>
  99. <repository>
  100. <id>sonatype-nexus-staging</id>
  101. <name>Nexus Release Repository</name>
  102. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  103. </repository>
  104. </distributionManagement>
  105. </profile>
  106. </profiles>
  107. <licenses>
  108. <license>
  109. <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
  110. <url>https://gitee.com/snowheart/dingtalk-robot/blob/master/LICENSE</url>
  111. <distribution>repo</distribution>
  112. </license>
  113. </licenses>
  114. <scm>
  115. <tag>master</tag>
  116. <url>git@gitee.com:snowheart/dingtalk-robot.git</url>
  117. <connection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</connection>
  118. <developerConnection>scm:git:git@gitee.com:snowheart/dingtalk-robot.git</developerConnection>
  119. </scm>
  120. <organization>
  121. <name>snowheart</name>
  122. <url>http://www.snowheart.cn/</url>
  123. </organization>
  124. <developers>
  125. <developer>
  126. <name>Wanxiang Liu</name>
  127. <email>sxjwzxlwx@yeah.net</email>
  128. <organization>snowheart</organization>
  129. </developer>
  130. </developers>
  131. <dependencyManagement>
  132. <dependencies>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-autoconfigure</artifactId>
  136. <version>${spring-boot-version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-web</artifactId>
  141. <version>${spring-boot-version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-test</artifactId>
  146. <version>${spring-boot-version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>cn.snowheart</groupId>
  151. <artifactId>spring-boot-dingtalk-robot-starter</artifactId>
  152. <version>${dingtalk-robot-version}</version>
  153. </dependency>
  154. </dependencies>
  155. </dependencyManagement>
  156. </project>