短信以及微信消息发送服务
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

126 lignes
4.0 KiB

  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>org.example</groupId>
  7. <artifactId>sms-msg-sender</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. <revision>0.2.10</revision>
  13. <nacos-config-spring-boot.version>0.2.1</nacos-config-spring-boot.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. <version>2.0.3.RELEASE</version>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>com.fasterxml.jackson.core</groupId>
  23. <artifactId>jackson-databind</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.projectlombok</groupId>
  29. <artifactId>lombok</artifactId>
  30. <scope>provided</scope>
  31. <optional>true</optional>
  32. <version>1.16.22</version>
  33. </dependency>
  34. <!-- Testing Dependencies -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. <version>2.0.6.RELEASE</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>redis.clients</groupId>
  43. <artifactId>jedis</artifactId>
  44. <version>3.3.0</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.github.binarywang</groupId>
  48. <artifactId>weixin-java-mp</artifactId>
  49. <version>4.1.0</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.aliyun</groupId>
  53. <artifactId>dysmsapi20170525</artifactId>
  54. <version>2.0.5</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.44</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  64. <version>2.0.1.RELEASE</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.cloud</groupId>
  68. <artifactId>spring-cloud-starter-config</artifactId>
  69. <version>2.0.1.RELEASE</version>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <resources>
  74. <resource>
  75. <directory>src/main/resources</directory>
  76. <filtering>true</filtering>
  77. </resource>
  78. </resources>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <version>2.0.6.RELEASE</version>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. <profiles>
  95. <profile>
  96. <id>dev</id>
  97. <activation>
  98. <activeByDefault>true</activeByDefault>
  99. </activation>
  100. <properties>
  101. <spring.profiles.active>dev</spring.profiles.active>
  102. </properties>
  103. </profile>
  104. <profile>
  105. <id>prod</id>
  106. <properties>
  107. <spring.profiles.active>prod</spring.profiles.active>
  108. </properties>
  109. </profile>
  110. </profiles>
  111. </project>