pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <groupId>org.eco</groupId>
  5. <artifactId>eco-extra</artifactId>
  6. <version>${revision}</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <packaging>jar</packaging>
  10. <artifactId>powerjob-server</artifactId>
  11. <properties>
  12. <spring-boot.version>2.7.18</spring-boot.version>
  13. <spring-boot-admin.version>2.7.14</spring-boot-admin.version>
  14. </properties>
  15. <dependencyManagement>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-parent</artifactId>
  20. <version>${spring-boot.version}</version>
  21. <type>pom</type>
  22. <scope>import</scope>
  23. </dependency>
  24. </dependencies>
  25. </dependencyManagement>
  26. <dependencies>
  27. <!-- PowerJob server-->
  28. <dependency>
  29. <groupId>tech.powerjob</groupId>
  30. <artifactId>powerjob-server-starter</artifactId>
  31. <version>${powerjob.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>de.codecentric</groupId>
  35. <artifactId>spring-boot-admin-starter-client</artifactId>
  36. <!-- <version>${spring-boot-admin.version}</version>-->
  37. </dependency>
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. </dependency>
  42. <!-- servlet包:不能使用6高版本,否则无法启动 -->
  43. <dependency>
  44. <groupId>jakarta.servlet</groupId>
  45. <artifactId>jakarta.servlet-api</artifactId>
  46. <version>4.0.4</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.dameng</groupId>
  50. <artifactId>DmJdbcDriver18</artifactId>
  51. </dependency>
  52. <!-- 必须,对应hibernate的达梦数据库方言 -->
  53. <dependency>
  54. <groupId>com.dameng</groupId>
  55. <artifactId>DmDialect-for-hibernate5.6</artifactId>
  56. <version>8.1.2.192</version>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <finalName>${project.artifactId}</finalName>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-maven-plugin</artifactId>
  65. <version>${spring-boot.version}</version>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>