pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. <parent>
  6. <artifactId>powerjob</artifactId>
  7. <groupId>tech.powerjob</groupId>
  8. <version>4.3.9</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>powerjob-work</artifactId>
  12. <version>4.3.9</version>
  13. <properties>
  14. <springboot.version>2.7.18</springboot.version>
  15. <powerjob.worker.starter.version>4.3.9</powerjob.worker.starter.version>
  16. <fastjson.version>1.2.83</fastjson.version>
  17. <powerjob.official.processors.version>4.3.9</powerjob.official.processors.version>
  18. <kingbase.version>8.6.0</kingbase.version>
  19. <geotools.version>28-SNAPSHOT</geotools.version>
  20. <!-- 部署时跳过该module -->
  21. <maven.deploy.skip>true</maven.deploy.skip>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>cn.hutool</groupId>
  26. <artifactId>hutool-all</artifactId>
  27. <version>5.5.2</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>mybatis-plus-boot-starter</artifactId>
  32. <version>3.4.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.com.kingbase</groupId>
  36. <artifactId>kingbase8</artifactId>
  37. <version>${kingbase.version}</version>
  38. </dependency>
  39. <!-- SpringBoot -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <version>${springboot.version}</version>
  44. </dependency>
  45. <!-- <dependency>-->
  46. <!-- <groupId>org.springframework.boot</groupId>-->
  47. <!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
  48. <!-- <version>${springboot.version}</version>-->
  49. <!-- </dependency>-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <version>${springboot.version}</version>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>tech.powerjob</groupId>
  58. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  59. <version>${powerjob.worker.starter.version}</version>
  60. </dependency>
  61. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. <version>${fastjson.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>tech.powerjob</groupId>
  69. <artifactId>powerjob-official-processors</artifactId>
  70. <version>${powerjob.official.processors.version}</version>
  71. </dependency>
  72. <!-- 高版本 JDK 移除了 JavaEE 的包,需要手动引入 -->
  73. <dependency>
  74. <groupId>javax.xml.bind</groupId>
  75. <artifactId>jaxb-api</artifactId>
  76. <version>2.3.1</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.locationtech.jts</groupId>
  80. <artifactId>jts-core</artifactId>
  81. <version>1.19.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.geotools</groupId>
  85. <artifactId>gt-shapefile</artifactId>
  86. <version>${geotools.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.geotools</groupId>
  90. <artifactId>gt-swing</artifactId>
  91. <version>${geotools.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.geotools</groupId>
  95. <artifactId>gt-epsg-hsql</artifactId>
  96. <version>${geotools.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.oracle</groupId>
  100. <artifactId>ojdbc6</artifactId>
  101. <version>11.2.0.3</version>
  102. </dependency>
  103. </dependencies>
  104. <!-- SpringBoot专用的打包插件 -->
  105. <build>
  106. <finalName>shipLockKingBase</finalName>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. <version>${springboot.version}</version>
  112. <configuration>
  113. <mainClass>tech.powerjob.work.ShipLockApplication</mainClass>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <goals>
  118. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-deploy-plugin</artifactId>
  126. <configuration>
  127. <skip>true</skip>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. </project>