pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <!-- springBoot相关-->
  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. <!-- springCloud相关,为了半实物系统-->
  28. <dependency>
  29. <groupId>com.alibaba.cloud</groupId>
  30. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  31. <version>2.2.6.RELEASE</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-openfeign</artifactId>
  36. <version>2.2.6.RELEASE</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.cloud</groupId>
  40. <artifactId>spring-cloud-loadbalancer</artifactId>
  41. <version>2.2.6.RELEASE</version>
  42. </dependency>
  43. <!-- R类需要-->
  44. <dependency>
  45. <groupId>org.apache.httpcomponents</groupId>
  46. <artifactId>httpclient</artifactId>
  47. <version>4.5.13</version>
  48. </dependency>
  49. <!-- Lombok快速方法-->
  50. <dependency>
  51. <groupId>org.projectlombok</groupId>
  52. <artifactId>lombok</artifactId>
  53. </dependency>
  54. <!-- 本地lib依赖-->
  55. <dependency>
  56. <groupId>opendds</groupId>
  57. <artifactId>i2jrt</artifactId>
  58. <version>3.16</version>
  59. <scope>system</scope>
  60. <systemPath>${project.basedir}/lib/i2jrt.jar</systemPath>
  61. </dependency>
  62. <dependency>
  63. <groupId>opendds</groupId>
  64. <artifactId>messenger_idl_test</artifactId>
  65. <version>3.16</version>
  66. <scope>system</scope>
  67. <systemPath>${project.basedir}/lib/messenger_idl_test.jar</systemPath>
  68. </dependency>
  69. <dependency>
  70. <groupId>opendds</groupId>
  71. <artifactId>OpenDDS_DCPS</artifactId>
  72. <version>3.16</version>
  73. <scope>system</scope>
  74. <systemPath>${project.basedir}/lib/OpenDDS_DCPS.jar</systemPath>
  75. </dependency>
  76. <dependency>
  77. <groupId>opendds</groupId>
  78. <artifactId>tao_java</artifactId>
  79. <version>3.16</version>
  80. <scope>system</scope>
  81. <systemPath>${project.basedir}/lib/tao_java.jar</systemPath>
  82. </dependency>
  83. </dependencies>
  84. <dependencyManagement>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-dependencies</artifactId>
  89. <version>${spring-boot.version}</version>
  90. <type>pom</type>
  91. <scope>import</scope>
  92. </dependency>
  93. </dependencies>
  94. </dependencyManagement>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>3.8.1</version>
  101. <configuration>
  102. <source>1.8</source>
  103. <target>1.8</target>
  104. <encoding>UTF-8</encoding>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. <version>${spring-boot.version}</version>
  111. <configuration>
  112. <mainClass>com.dc.datachange.DataChangeApplication</mainClass>
  113. <includeSystemScope>true</includeSystemScope>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <id>repackage</id>
  118. <goals>
  119. <goal>repackage</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>