pom.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>cn.itlym.platform.notify</groupId>
  7. <artifactId>shoulder-sms</artifactId>
  8. <version>1.0-SNAPSHOT</version><!-- shoulder-platform-version -->
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>cn.itlym.platform.notify</groupId>
  12. <artifactId>sms-center</artifactId>
  13. <name>${artifactId}</name>
  14. <description>Shoulder平台-短信推送服务</description>
  15. <properties>
  16. <jakarta.mail.version>2.0.3</jakarta.mail.version>
  17. </properties>
  18. <dependencies>
  19. <!-- sms-api -->
  20. <dependency>
  21. <groupId>cn.itlym.platform.notify</groupId>
  22. <artifactId>sms-api</artifactId>
  23. </dependency>
  24. <!-- aliyun-sms -->
  25. <dependency>
  26. <groupId>cn.itlym.platform</groupId>
  27. <artifactId>shoulder-sms-aliyun-spring-boot-starter</artifactId>
  28. </dependency>
  29. <!-- WEB/db/mq/discovery/config/monitor/trace -->
  30. <dependency>
  31. <groupId>cn.itlym.platform</groupId>
  32. <artifactId>shoulder-platform-starter-micro</artifactId>
  33. </dependency>
  34. <!-- JPA -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-jpa</artifactId>
  38. </dependency>
  39. <!-- mail -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-mail</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.eclipse.angus</groupId>
  46. <artifactId>jakarta.mail</artifactId>
  47. <version>${jakarta.mail.version}</version>
  48. </dependency>
  49. <!-- freemarker 模版 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-freemarker</artifactId>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <!-- maven 默认使用 artifactId+version拼接 -->
  57. <finalName>${project.artifactId}</finalName>
  58. <!-- 动态打包环境配置源文件 -->
  59. <filters>
  60. <filter>../../../dynamicConfig/config-${profile.active}.properties</filter>
  61. </filters>
  62. <resources>
  63. <resource>
  64. <directory>src/main/resources</directory>
  65. <includes>
  66. <include>**/*</include>
  67. </includes>
  68. <filtering>true</filtering>
  69. </resource>
  70. </resources>
  71. </build>
  72. </project>