pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. >
  6. <parent>
  7. <artifactId>zksy</artifactId>
  8. <groupId>com.zksy</groupId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <artifactId>zksy-admin</artifactId>
  14. <description>
  15. web服务入口
  16. </description>
  17. <dependencies>
  18. <!-- spring-boot-devtools -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-devtools</artifactId>
  22. <optional>true</optional> <!-- 表示依赖不会传递 -->
  23. </dependency>
  24. <!-- Mysql驱动包 -->
  25. <dependency>
  26. <groupId>mysql</groupId>
  27. <artifactId>mysql-connector-java</artifactId>
  28. </dependency>
  29. <!-- 核心模块-->
  30. <dependency>
  31. <groupId>com.zksy</groupId>
  32. <artifactId>zksy-framework</artifactId>
  33. </dependency>
  34. <!-- 定时任务-->
  35. <dependency>
  36. <groupId>com.zksy</groupId>
  37. <artifactId>zksy-quartz</artifactId>
  38. </dependency>
  39. <!-- 代码生成-->
  40. <dependency>
  41. <groupId>com.zksy</groupId>
  42. <artifactId>zksy-generator</artifactId>
  43. </dependency>
  44. <!-- 代码生成模板 freemarker-->
  45. <dependency>
  46. <groupId>org.freemarker</groupId>
  47. <artifactId>freemarker</artifactId>
  48. <version>2.3.28</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. <!-- 代码生成模板 velocity-->
  52. <dependency>
  53. <groupId>org.apache.velocity</groupId>
  54. <artifactId>velocity-engine-core</artifactId>
  55. <version>2.3</version>
  56. </dependency>
  57. <!-- 测试-->
  58. <dependency>
  59. <groupId>junit</groupId>
  60. <artifactId>junit</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-test</artifactId>
  66. <version>2.5.3</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework</groupId>
  71. <artifactId>spring-test</artifactId>
  72. <version>5.3.9</version>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.ctg.ag.sdk.biz</groupId>
  77. <artifactId>sdkpackage</artifactId>
  78. <scope>system</scope>
  79. <version>1.0</version>
  80. <systemPath>${pom.basedir}/src/main/resources/lib/ag-sdk-biz-274414.tar.gz-20230922.111322-SNAPSHOT.jar</systemPath>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.ctg.ag.sdk.core</groupId>
  84. <artifactId>sdkcore</artifactId>
  85. <scope>system</scope>
  86. <version>1.0</version>
  87. <systemPath>${pom.basedir}/src/main/resources/lib/ctg-ag-sdk-core-2.8.0-20230508.100604-1.jar</systemPath>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.httpcomponents</groupId>
  91. <artifactId>httpasyncclient</artifactId>
  92. </dependency>
  93. </dependencies>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-maven-plugin</artifactId>
  99. <version>2.1.1.RELEASE</version>
  100. <configuration>
  101. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  102. <includeSystemScope>true</includeSystemScope>
  103. </configuration>
  104. <executions>
  105. <execution>
  106. <goals>
  107. <goal>repackage</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-war-plugin</artifactId>
  115. <version>3.1.0</version>
  116. <configuration>
  117. <failOnMissingWebXml>false</failOnMissingWebXml>
  118. <warName>${project.artifactId}</warName>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. <finalName>${project.artifactId}</finalName>
  123. </build>
  124. </project>