pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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-camera</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.sckj</groupId>
  54. <artifactId>taphole-warn</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.sckj</groupId>
  58. <artifactId>taphole-iron</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.sckj</groupId>
  62. <artifactId>taphole-opc</artifactId>
  63. </dependency>
  64. <!-- <dependency>-->
  65. <!-- <groupId>org.springframework.boot</groupId>-->
  66. <!-- <artifactId>spring-boot-starter-actuator</artifactId>-->
  67. <!-- <exclusions>-->
  68. <!-- <exclusion>-->
  69. <!-- <artifactId>log4j-to-slf4j</artifactId>-->
  70. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  71. <!-- </exclusion>-->
  72. <!-- </exclusions>-->
  73. <!-- </dependency>-->
  74. <!--<dependency>-->
  75. <!--<groupId>org.springframework.boot</groupId>-->
  76. <!--<artifactId>spring-boot-starter-test</artifactId>-->
  77. <!--<scope>test</scope>-->
  78. <!--<exclusions>-->
  79. <!--<exclusion>-->
  80. <!--<groupId>org.junit.vintage</groupId>-->
  81. <!--<artifactId>junit-vintage-engine</artifactId>-->
  82. <!--</exclusion>-->
  83. <!--</exclusions>-->
  84. <!--</dependency>-->
  85. </dependencies>
  86. <!-- 插件管理 -->
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <version>2.6.4</version>
  93. <configuration>
  94. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  95. <includeSystemScope>true</includeSystemScope>
  96. <mainClass>com.sckj.admin.TapholeAdminApplication</mainClass>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <goals>
  101. <goal>repackage</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-war-plugin</artifactId>
  109. <configuration>
  110. <webResources>
  111. <resource>
  112. <directory>src/main/resources/lib</directory>
  113. <targetPath>WEB-INF/lib/</targetPath>
  114. <includes>
  115. <include>**/*.jar</include>
  116. </includes>
  117. </resource>
  118. </webResources>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>