pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  4. ~
  5. ~ Redistribution and use in source and binary forms, with or without
  6. ~ modification, are permitted provided that the following conditions are met:
  7. ~
  8. ~ Redistributions of source code must retain the above copyright notice,
  9. ~ this list of conditions and the following disclaimer.
  10. ~ Redistributions in binary form must reproduce the above copyright
  11. ~ notice, this list of conditions and the following disclaimer in the
  12. ~ documentation and/or other materials provided with the distribution.
  13. ~ Neither the name of the pig4cloud.com developer nor the names of its
  14. ~ contributors may be used to endorse or promote products derived from
  15. ~ this software without specific prior written permission.
  16. ~ Author: lengleng (wangiegie@gmail.com)
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>com.pig4cloud</groupId>
  23. <artifactId>pigx-visual</artifactId>
  24. <version>${pigx.version}</version>
  25. </parent>
  26. <artifactId>pigx-daemon</artifactId>
  27. <version>${pigx.version}</version>
  28. <packaging>jar</packaging>
  29. <name>pigx-daemon</name>
  30. <description>后台跑批定时任务模块</description>
  31. <dependencies>
  32. <!--配置中心客户端-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-config</artifactId>
  36. </dependency>
  37. <!--跑批任务-->
  38. <dependency>
  39. <groupId>com.pig4cloud</groupId>
  40. <artifactId>pigx-common-job</artifactId>
  41. <version>${pigx.version}</version>
  42. </dependency>
  43. <!--数据库-->
  44. <dependency>
  45. <groupId>mysql</groupId>
  46. <artifactId>mysql-connector-java</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-jdbc</artifactId>
  51. </dependency>
  52. <!--ZK 依赖-->
  53. <dependency>
  54. <groupId>org.apache.curator</groupId>
  55. <artifactId>curator-framework</artifactId>
  56. <version>${curator.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.curator</groupId>
  60. <artifactId>curator-recipes</artifactId>
  61. <version>${curator.version}</version>
  62. </dependency>
  63. <!--web 模块-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-web</artifactId>
  67. <exclusions>
  68. <!--排除tomcat依赖-->
  69. <exclusion>
  70. <artifactId>spring-boot-starter-tomcat</artifactId>
  71. <groupId>org.springframework.boot</groupId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <!--undertow容器-->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-undertow</artifactId>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <configuration>
  87. <finalName>${project.name}</finalName>
  88. </configuration>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>