pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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>cn.lttc</groupId>
  6. <artifactId>lttc-sample-scan</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>lttc-sample-scan</name>
  9. <description>lttc-sample-scan</description>
  10. <properties>
  11. <java.version>11</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. <!--Spring Boot 核心-->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter</artifactId>
  21. </dependency>
  22. <!--mybatis-plus-->
  23. <dependency>
  24. <groupId>com.baomidou</groupId>
  25. <artifactId>mybatis-plus-boot-starter</artifactId>
  26. <version>3.5.3.1</version>
  27. </dependency>
  28. <!--德鲁伊 数据库连接池-->
  29. <dependency>
  30. <groupId>com.alibaba</groupId>
  31. <artifactId>druid</artifactId>
  32. <version>1.2.19</version>
  33. </dependency>
  34. <!--登录校验 sa-token -->
  35. <dependency>
  36. <groupId>cn.dev33</groupId>
  37. <artifactId>sa-token-spring-boot-starter</artifactId>
  38. <version>1.37.0</version>
  39. </dependency>
  40. <!--sql server 驱动-->
  41. <dependency>
  42. <groupId>com.microsoft.sqlserver</groupId>
  43. <artifactId>mssql-jdbc</artifactId>
  44. <version>8.2.2.jre11</version>
  45. </dependency>
  46. <!--Json解析-->
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>1.2.83</version>
  51. </dependency>
  52. <!--lombok-->
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <version>1.18.26</version>
  57. </dependency>
  58. <!--文件上传-->
  59. <dependency>
  60. <groupId>commons-fileupload</groupId>
  61. <artifactId>commons-fileupload</artifactId>
  62. <version>1.3</version>
  63. </dependency>
  64. </dependencies>
  65. <dependencyManagement>
  66. <dependencies>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-dependencies</artifactId>
  70. <version>${spring-boot.version}</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. </dependencies>
  75. </dependencyManagement>
  76. <build>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-compiler-plugin</artifactId>
  81. <version>3.8.1</version>
  82. <configuration>
  83. <source>11</source>
  84. <target>11</target>
  85. <encoding>UTF-8</encoding>
  86. </configuration>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <version>${spring-boot.version}</version>
  92. <configuration>
  93. <mainClass>cn.lttc.LttcSampleScanApplication</mainClass>
  94. <!-- <skip>true</skip>-->
  95. </configuration>
  96. <executions>
  97. <execution>
  98. <id>repackage</id>
  99. <goals>
  100. <goal>repackage</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <!-- <plugin>-->
  106. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  107. <!-- <artifactId>maven-assembly-plugin</artifactId>-->
  108. <!-- <version>2.4</version>-->
  109. <!-- <configuration>-->
  110. <!-- <appendAssemblyId>false</appendAssemblyId>-->
  111. <!-- &lt;!&ndash;jar包名称&ndash;&gt;-->
  112. <!-- <finalName>${project.artifactId}-${project.version}</finalName>-->
  113. <!-- <descriptorRefs>-->
  114. <!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
  115. <!-- </descriptorRefs>-->
  116. <!-- <archive>-->
  117. <!-- <manifest>-->
  118. <!-- <addClasspath>true</addClasspath>-->
  119. <!-- </manifest>-->
  120. <!-- &lt;!&ndash;manifest.mf配置&ndash;&gt;-->
  121. <!-- &lt;!&ndash;为了做premain而修改的&ndash;&gt;-->
  122. <!-- <manifestEntries>-->
  123. <!-- <Premain-Class>Xxx</Premain-Class>-->
  124. <!-- <Agent-Class>Xxx</Agent-Class>-->
  125. <!-- <Can-Redefine-Classes>true</Can-Redefine-Classes>-->
  126. <!-- <Can-Retransform-Classes>true</Can-Retransform-Classes>-->
  127. <!-- </manifestEntries>-->
  128. <!-- </archive>-->
  129. <!-- </configuration>-->
  130. <!-- <executions>-->
  131. <!-- <execution>-->
  132. <!-- <id>make-assembly</id>-->
  133. <!-- <phase>package</phase>-->
  134. <!-- <goals>-->
  135. <!-- <goal>assembly</goal>-->
  136. <!-- </goals>-->
  137. <!-- </execution>-->
  138. <!-- </executions>-->
  139. <!-- </plugin>-->
  140. </plugins>
  141. <resources>
  142. <resource>
  143. <directory>src/main/resources</directory>
  144. <filtering>true</filtering>
  145. </resource>
  146. <resource>
  147. <directory>src/main/java</directory>
  148. <includes>
  149. <include>**/*.xml</include>
  150. <include>**/*.json</include>
  151. </includes>
  152. </resource>
  153. </resources>
  154. </build>
  155. </project>