pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.robot.sync</groupId>
  6. <artifactId>robot-sync</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>smart-robot-remote</name>
  9. <description>smart-robot-remote</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.6.13</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.projectlombok</groupId>
  23. <artifactId>lombok</artifactId>
  24. <optional>true</optional>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- SQL Server Driver -->
  32. <dependency>
  33. <groupId>com.microsoft.sqlserver</groupId>
  34. <artifactId>mssql-jdbc</artifactId>
  35. <!--<scope>runtime</scope>-->
  36. <version>8.1.0.jre8-preview</version>
  37. </dependency>
  38. <!-- Spring JDBC -->
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-jdbc</artifactId>
  42. <version>5.3.10</version>
  43. </dependency>
  44. <!-- MyBatis -->
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>2.2.0</version>
  49. </dependency>
  50. <!-- 阿里JSON解析器 -->
  51. <dependency>
  52. <groupId>com.alibaba.fastjson2</groupId>
  53. <artifactId>fastjson2</artifactId>
  54. <version>2.0.41</version>
  55. </dependency>
  56. </dependencies>
  57. <dependencyManagement>
  58. <dependencies>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-dependencies</artifactId>
  62. <version>${spring-boot.version}</version>
  63. <type>pom</type>
  64. <scope>import</scope>
  65. </dependency>
  66. </dependencies>
  67. </dependencyManagement>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-compiler-plugin</artifactId>
  73. <version>3.8.1</version>
  74. <configuration>
  75. <source>1.8</source>
  76. <target>1.8</target>
  77. <encoding>UTF-8</encoding>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <version>${spring-boot.version}</version>
  84. <configuration>
  85. <mainClass>com.robot.remote.smartrobotremote.SmartRobotRemoteApplication</mainClass>
  86. <!--<skip>true</skip>-->
  87. <executable>true</executable> <!-- 指定可执行的打包 -->
  88. </configuration>
  89. <executions>
  90. <execution>
  91. <id>repackage</id>
  92. <goals>
  93. <goal>repackage</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>