pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.nokia.sms</groupId>
  5. <artifactId>sgip_sms_server</artifactId>
  6. <version>1.0</version>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.6.14</version>
  11. <relativePath/> <!-- lookup parent from repository -->
  12. </parent>
  13. <properties>
  14. <java.version>8</java.version>
  15. <maven.compiler.source>${java.version}</maven.compiler.source>
  16. <maven.compiler.target>${java.version}</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
  19. <skipTests>true</skipTests>
  20. </properties>
  21. <dependencies>
  22. <!-- mina把底层传输的字节码转换为Java对象,提供给应用程序;或者把应用程序返回的结果转换为字节码,交给底层传输 -->
  23. <dependency>
  24. <groupId>org.apache.mina</groupId>
  25. <artifactId>mina-core</artifactId>
  26. <version>2.0.23</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>commons-configuration</groupId>
  30. <artifactId>commons-configuration</artifactId>
  31. <version>1.10</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.mybatis.spring.boot</groupId>
  35. <artifactId>mybatis-spring-boot-starter</artifactId>
  36. <version>2.2.2</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.postgresql</groupId>
  40. <artifactId>postgresql</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <scope>provided</scope>
  55. </dependency>
  56. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>fastjson</artifactId>
  60. <version>2.0.22</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-configuration-processor</artifactId>
  65. <optional>true</optional>
  66. </dependency>
  67. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  68. <dependency>
  69. <groupId>cn.hutool</groupId>
  70. <artifactId>hutool-all</artifactId>
  71. <version>5.8.10</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.nokia</groupId>
  76. <artifactId>push-message-starter</artifactId>
  77. <version>1.1</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-validation</artifactId>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <finalName>sms_server</finalName>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <version>${project.parent.version}</version>
  91. <executions>
  92. <execution>
  93. <id>repackage</id>
  94. <goals>
  95. <goal>repackage</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. <configuration>
  100. <excludes>
  101. <exclude>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. </exclude>
  105. <exclude>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-configuration-processor</artifactId>
  108. </exclude>
  109. </excludes>
  110. </configuration>
  111. </plugin>
  112. </plugins>
  113. </build>
  114. </project>