pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.6.2</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.cttic</groupId>
  13. <artifactId>tcpreceive</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>tcpreceive</name>
  16. <description>tcpreceive</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  20. <skipTests>true</skipTests>
  21. <geotools.version>28-SNAPSHOT</geotools.version>
  22. </properties>
  23. <dependencies>
  24. <!--web-->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <!--test-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.netty</groupId>
  37. <artifactId>netty-all</artifactId>
  38. <version>4.1.80.Final</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. <version>1.18.16</version>
  44. </dependency>
  45. <!-- <dependency>-->
  46. <!-- <groupId>org.springframework.kafka</groupId>-->
  47. <!-- <artifactId>spring-kafka</artifactId>-->
  48. <!-- <version>2.5.10.RELEASE</version>-->
  49. <!-- </dependency>-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-data-redis</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.shanghaigeography</groupId>
  56. <artifactId>Infrastructure</artifactId>
  57. <version>1.1-SNAPSHOT</version>
  58. <scope>system</scope>
  59. <systemPath>${project.basedir}/libs/Infrastructure-1.1-SNAPSHOT.jar</systemPath>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.geotools</groupId>
  63. <artifactId>gt-geojson</artifactId>
  64. <version>27.2</version>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/org.locationtech.jts/jts-core -->
  67. <dependency>
  68. <groupId>org.locationtech.jts</groupId>
  69. <artifactId>jts-core</artifactId>
  70. <version>1.19.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.geotools</groupId>
  74. <artifactId>gt-shapefile</artifactId>
  75. <version>${geotools.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.geotools</groupId>
  79. <artifactId>gt-swing</artifactId>
  80. <version>${geotools.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.geotools</groupId>
  84. <artifactId>gt-epsg-hsql</artifactId>
  85. <version>${geotools.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. <version>1.2.83</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.rocketmq</groupId>
  94. <artifactId>rocketmq-spring-boot-starter</artifactId>
  95. <version>2.1.1</version>
  96. <exclusions>
  97. <exclusion>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter</artifactId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-core</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-webmvc</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. </dependencies>
  112. <repositories>
  113. <repository>
  114. <id>osgeo</id>
  115. <name>OSGeo Release Repository</name>
  116. <url>https://repo.osgeo.org/repository/release/</url>
  117. <snapshots>
  118. <enabled>false</enabled>
  119. </snapshots>
  120. <releases>
  121. <enabled>true</enabled>
  122. </releases>
  123. </repository>
  124. <repository>
  125. <id>osgeo-snapshot</id>
  126. <name>OSGeo Snapshot Repository</name>
  127. <url>https://repo.osgeo.org/repository/snapshot/</url>
  128. <snapshots>
  129. <enabled>true</enabled>
  130. </snapshots>
  131. <releases>
  132. <enabled>false</enabled>
  133. </releases>
  134. </repository>
  135. </repositories>
  136. <build>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-maven-plugin</artifactId>
  141. <executions>
  142. <execution>
  143. <goals>
  144. <goal>
  145. repackage
  146. </goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. <configuration>
  151. <!-- 把本地jar 达成jar的时候加入-->
  152. <includeSystemScope>true</includeSystemScope>
  153. <mainClass>com.cttic.tcpreceive.TcpReceiveApplication</mainClass>
  154. <excludes>
  155. <exclude>
  156. <groupId>org.projectlombok</groupId>
  157. <artifactId>lombok</artifactId>
  158. </exclude>
  159. </excludes>
  160. </configuration>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-maven-plugin</artifactId>
  165. </plugin>
  166. </plugins>
  167. </build>
  168. </project>