pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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>easyproject</artifactId>
  7. <groupId>com.easyproject</groupId>
  8. <version>3.8.5</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>easyproject-ac-scheduled</artifactId>
  13. <description>
  14. 定时任务-管理端-用户端
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- Mysql驱动包 -->
  24. <dependency>
  25. <groupId>mysql</groupId>
  26. <artifactId>mysql-connector-java</artifactId>
  27. </dependency>
  28. <!-- 核心模块-->
  29. <dependency>
  30. <groupId>com.easyproject</groupId>
  31. <artifactId>easyproject-client-core</artifactId>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-maven-plugin</artifactId>
  39. <version>2.1.1.RELEASE</version>
  40. <configuration>
  41. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  42. </configuration>
  43. <executions>
  44. <execution>
  45. <goals>
  46. <goal>repackage</goal>
  47. </goals>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-war-plugin</artifactId>
  54. <version>3.1.0</version>
  55. <configuration>
  56. <failOnMissingWebXml>false</failOnMissingWebXml>
  57. <warName>${project.artifactId}</warName>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. <finalName>${project.artifactId}</finalName>
  62. </build>
  63. </project>