pom.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <!-- 父工程 -->
  5. <parent>
  6. <artifactId>taphole-java</artifactId>
  7. <groupId>com.sckj</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>taphole-l2-start</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.sckj</groupId>
  15. <artifactId>taphole-l2</artifactId>
  16. </dependency>
  17. </dependencies>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-maven-plugin</artifactId>
  23. <version>2.6.4</version>
  24. <configuration>
  25. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  26. <includeSystemScope>true</includeSystemScope>
  27. <mainClass>com.sckj.l2start.TapholeL2StartApplication</mainClass>
  28. </configuration>
  29. <executions>
  30. <execution>
  31. <id>repackage</id>
  32. <goals>
  33. <goal>repackage</goal>
  34. </goals>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>3.8.1</version>
  42. <configuration>
  43. <source>1.8</source>
  44. <target>1.8</target>
  45. <encoding>UTF-8</encoding>
  46. </configuration>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. </project>