pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.dc</groupId>
  6. <artifactId>dataChange</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>dataChange</name>
  9. <description>dataChange</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <mybatisplus.version>3.3.1</mybatisplus.version>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-configuration-processor</artifactId>
  25. <optional>true</optional>
  26. </dependency>
  27. <!--httpStatus-->
  28. <dependency>
  29. <groupId>org.apache.httpcomponents</groupId>
  30. <artifactId>httpclient</artifactId>
  31. <version>4.5.13</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <!-- <version>${lombok.version}</version>-->
  37. </dependency>
  38. <dependency>
  39. <groupId>com.baomidou</groupId>
  40. <artifactId>mybatis-plus-boot-starter</artifactId>
  41. <version>${mybatisplus.version}</version>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>com.baomidou</groupId>
  45. <artifactId>mybatis-plus-generator</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <dependency>
  50. <groupId>mysql</groupId>
  51. <artifactId>mysql-connector-java</artifactId>
  52. <!-- <version>5.1.45</version>-->
  53. <version>8.0.19</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.junit.vintage</groupId>
  62. <artifactId>junit-vintage-engine</artifactId>
  63. </exclusion>
  64. </exclusions>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.google.code.gson</groupId>
  68. <artifactId>gson</artifactId>
  69. <version>2.10.1</version> <!-- 确保使用最新版本 -->
  70. </dependency>
  71. <!-- 本地lib依赖-->
  72. <dependency>
  73. <groupId>opendds</groupId>
  74. <artifactId>i2jrt</artifactId>
  75. <version>3.16</version>
  76. <scope>system</scope>
  77. <systemPath>${project.basedir}/lib/i2jrt.jar</systemPath>
  78. </dependency>
  79. <dependency>
  80. <groupId>opendds</groupId>
  81. <artifactId>messenger_idl_test</artifactId>
  82. <version>3.16</version>
  83. <scope>system</scope>
  84. <systemPath>${project.basedir}/lib/messenger_idl_test.jar</systemPath>
  85. </dependency>
  86. <dependency>
  87. <groupId>opendds</groupId>
  88. <artifactId>OpenDDS_DCPS</artifactId>
  89. <version>3.16</version>
  90. <scope>system</scope>
  91. <systemPath>${project.basedir}/lib/OpenDDS_DCPS.jar</systemPath>
  92. </dependency>
  93. <dependency>
  94. <groupId>opendds</groupId>
  95. <artifactId>tao_java</artifactId>
  96. <version>3.16</version>
  97. <scope>system</scope>
  98. <systemPath>${project.basedir}/lib/tao_java.jar</systemPath>
  99. </dependency>
  100. </dependencies>
  101. <dependencyManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-dependencies</artifactId>
  106. <version>${spring-boot.version}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. </dependencies>
  111. </dependencyManagement>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-compiler-plugin</artifactId>
  117. <version>3.8.1</version>
  118. <configuration>
  119. <source>1.8</source>
  120. <target>1.8</target>
  121. <encoding>UTF-8</encoding>
  122. </configuration>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-maven-plugin</artifactId>
  127. <version>${spring-boot.version}</version>
  128. <configuration>
  129. <mainClass>com.dc.datachange.DataChangeApplication</mainClass>
  130. <includeSystemScope>true</includeSystemScope>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <id>repackage</id>
  135. <goals>
  136. <goal>repackage</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>