地磅数据系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
4.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  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. <!-- <parent>-->
  6. <!-- <groupId>org.springframework.boot</groupId>-->
  7. <!-- <artifactId>spring-boot-starter-parent</artifactId>-->
  8. <!-- <version>3.2.3</version>-->
  9. <!-- <relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;-->
  10. <!-- </parent>-->
  11. <groupId>com.binary</groupId>
  12. <artifactId>weight</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>weight</name>
  15. <description>Weight project for Spring Boot</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <spring-boot.version>2.7.15</spring-boot.version>
  19. <spring-cloud.version>2021.0.8</spring-cloud.version>
  20. <maven.compile.source>17</maven.compile.source>
  21. <maven.compile.target>17</maven.compile.target>
  22. </properties>
  23. <dependencyManagement>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-dependencies</artifactId>
  28. <version>${spring-boot.version}</version>
  29. <type>pom</type>
  30. <scope>import</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-dependencies</artifactId>
  35. <version>${spring-cloud.version}</version>
  36. <type>pom</type>
  37. <scope>import</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  42. <version>2021.1</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. </dependency>
  46. </dependencies>
  47. </dependencyManagement>
  48. <dependencies>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba.cloud</groupId>
  55. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-starter-openfeign</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.cloud</groupId>
  67. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-lang3</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>mysql</groupId>
  79. <artifactId>mysql-connector-java</artifactId>
  80. <version>8.0.33</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.microsoft.sqlserver</groupId>
  84. <artifactId>mssql-jdbc</artifactId>
  85. <version>11.2.1.jre17</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-web</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-test</artifactId>
  94. <scope>test</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.antlr</groupId>
  98. <artifactId>antlr4-runtime</artifactId>
  99. <version>4.9.2</version> <!-- 请使用适当的版本号 -->
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <finalName>${project.name}-server</finalName>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-maven-plugin</artifactId>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>repackage</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-compiler-plugin</artifactId>
  119. <version>3.11.0</version>
  120. <configuration>
  121. <source>${maven.compile.source}</source>
  122. <target>${maven.compile.target}</target>
  123. <encoding>UTF-8</encoding>
  124. <compilerArgs>
  125. <arg>-parameters</arg>
  126. </compilerArgs>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>