pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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>2.7.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.tao</groupId>
  12. <artifactId>ElementSync</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>ElementSync</name>
  15. <description>ElementSync</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>2.2.2</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-devtools</artifactId>
  41. <optional>true</optional> <!-- 表示依赖不会传递 -->
  42. </dependency>
  43. <dependency>
  44. <groupId>org.xerial</groupId>
  45. <artifactId>sqlite-jdbc</artifactId>
  46. <version>3.36.0.3</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.hutool</groupId>
  50. <artifactId>hutool-all</artifactId>
  51. <version>5.8.10</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <optional>true</optional>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <finalName>${project.artifactId}</finalName>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-maven-plugin</artifactId>
  65. <configuration>
  66. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  67. <excludes>
  68. <exclude>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. </exclude>
  72. </excludes>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <version>3.10.1</version>
  79. <configuration>
  80. <source>8</source>
  81. <target>8</target>
  82. <encoding>UTF-8</encoding>
  83. <skip>true</skip>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. <repositories>
  89. <repository>
  90. <id>public</id>
  91. <name>aliyun nexus</name>
  92. <url>https://maven.aliyun.com/repository/public</url>
  93. <releases>
  94. <enabled>true</enabled>
  95. </releases>
  96. </repository>
  97. </repositories>
  98. <pluginRepositories>
  99. <pluginRepository>
  100. <id>public</id>
  101. <name>aliyun nexus</name>
  102. <url>https://maven.aliyun.com/repository/public</url>
  103. <releases>
  104. <enabled>true</enabled>
  105. </releases>
  106. <snapshots>
  107. <enabled>false</enabled>
  108. </snapshots>
  109. </pluginRepository>
  110. </pluginRepositories>
  111. </project>