pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.xuxueli</groupId>
  8. <artifactId>xxl-job</artifactId>
  9. <version>1.7.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>xxl-job-executor-springboot-example</artifactId>
  12. <packaging>jar</packaging>
  13. <name>xxl-job-executor-springboot-example</name>
  14. <description>Example executor project for spring boot</description>
  15. <properties>
  16. <xxl-job.version>1.7.0-SNAPSHOT</xxl-job.version>
  17. <!--<spring-boot.version>1.5.3.RELEASE</spring-boot.version>-->
  18. <spring-boot.version>1.3.8.RELEASE</spring-boot.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.7</java.version>
  22. </properties>
  23. <dependencyManagement>
  24. <dependencies>
  25. <dependency>
  26. <!-- Import dependency management from Spring Boot (依赖管理:继承一些默认的依赖,工程需要依赖的jar包的管理,申明其他dependency的时候就不需要version) -->
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-parent</artifactId>
  29. <version>${spring-boot.version}</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. </dependencies>
  34. </dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter</artifactId>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-logging</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-log4j</artifactId>
  49. </dependency>
  50. <!-- spring-boot-starter-web (提供了对web的支持,包含了spring webmvc和tomcat等web开发的特性) -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <!-- c3p0 -->
  61. <dependency>
  62. <groupId>com.mchange</groupId>
  63. <artifactId>c3p0</artifactId>
  64. <version>0.9.5.2</version>
  65. </dependency>
  66. <!-- mysql-connector -->
  67. <dependency>
  68. <groupId>mysql</groupId>
  69. <artifactId>mysql-connector-java</artifactId>
  70. <version>5.1.29</version>
  71. </dependency>
  72. <!-- xxl-job-core -->
  73. <dependency>
  74. <groupId>com.xuxueli</groupId>
  75. <artifactId>xxl-job-core</artifactId>
  76. <version>${xxl-job.version}</version>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <!-- spring-boot-maven-plugin (提供了直接运行项目的插件:如果是通过parent方式继承spring-boot-starter-parent则不用此插件) -->
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>