pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <!-- 父工程 -->
  6. <parent>
  7. <artifactId>taphole-java</artifactId>
  8. <groupId>com.sckj</groupId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <!-- 模块信息 -->
  12. <modelVersion>4.0.0</modelVersion>
  13. <artifactId>taphole-admin</artifactId>
  14. <packaging>jar</packaging>
  15. <!-- 项目管理 -->
  16. <dependencies>
  17. <!-- 全局工具 -->
  18. <dependency>
  19. <groupId>com.sckj</groupId>
  20. <artifactId>taphole-common</artifactId>
  21. </dependency>
  22. <!-- 代码生成 -->
  23. <dependency>
  24. <groupId>com.sckj</groupId>
  25. <artifactId>taphole-generator</artifactId>
  26. <version>1.0.0</version>
  27. </dependency>
  28. <!-- 验证码 -->
  29. <dependency>
  30. <groupId>com.github.penggle</groupId>
  31. <artifactId>kaptcha</artifactId>
  32. </dependency>
  33. <!-- SaToken -->
  34. <dependency>
  35. <groupId>cn.dev33</groupId>
  36. <artifactId>sa-token-spring-boot-starter</artifactId>
  37. </dependency>
  38. <!-- SaToken-Redis -->
  39. <dependency>
  40. <groupId>cn.dev33</groupId>
  41. <artifactId>sa-token-dao-redis-jackson</artifactId>
  42. </dependency>
  43. <!-- Quartz-Scheduler -->
  44. <dependency>
  45. <groupId>org.quartz-scheduler</groupId>
  46. <artifactId>quartz</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.sckj</groupId>
  50. <artifactId>taphole-warn</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.sckj</groupId>
  54. <artifactId>taphole-iron</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.sckj</groupId>
  58. <artifactId>taphole-opc</artifactId>
  59. </dependency>
  60. <!-- <dependency>-->
  61. <!-- <groupId>org.springframework.boot</groupId>-->
  62. <!-- <artifactId>spring-boot-starter-actuator</artifactId>-->
  63. <!-- <exclusions>-->
  64. <!-- <exclusion>-->
  65. <!-- <artifactId>log4j-to-slf4j</artifactId>-->
  66. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  67. <!-- </exclusion>-->
  68. <!-- </exclusions>-->
  69. <!-- </dependency>-->
  70. <!--<dependency>-->
  71. <!--<groupId>org.springframework.boot</groupId>-->
  72. <!--<artifactId>spring-boot-starter-test</artifactId>-->
  73. <!--<scope>test</scope>-->
  74. <!--<exclusions>-->
  75. <!--<exclusion>-->
  76. <!--<groupId>org.junit.vintage</groupId>-->
  77. <!--<artifactId>junit-vintage-engine</artifactId>-->
  78. <!--</exclusion>-->
  79. <!--</exclusions>-->
  80. <!--</dependency>-->
  81. </dependencies>
  82. <!-- 插件管理 -->
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <version>2.6.4</version>
  89. <configuration>
  90. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  91. <includeSystemScope>true</includeSystemScope>
  92. <mainClass>com.sckj.admin.TapholeAdminApplication</mainClass>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-war-plugin</artifactId>
  105. <configuration>
  106. <webResources>
  107. <resource>
  108. <directory>src/main/resources/lib</directory>
  109. <targetPath>WEB-INF/lib/</targetPath>
  110. <includes>
  111. <include>**/*.jar</include>
  112. </includes>
  113. </resource>
  114. </webResources>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </project>