| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <project xmlns="http://maven.apache.org/POM/4.0.0"
 
-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
-          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
-     <modelVersion>4.0.0</modelVersion>
 
-     <parent>
 
-         <groupId>com.xuxueli</groupId>
 
-         <artifactId>xxl-job-executor-samples</artifactId>
 
-         <version>2.3.0-SNAPSHOT</version>
 
-     </parent>
 
-     <artifactId>xxl-job-executor-sample-springboot</artifactId>
 
-     <packaging>jar</packaging>
 
-     <name>${project.artifactId}</name>
 
-     <description>Example executor project for spring boot.</description>
 
-     <url>https://www.xuxueli.com/</url>
 
-     <properties>
 
-         <mybatis-plus.version>3.1.2</mybatis-plus.version>
 
-         <druid.version>1.1.10</druid.version>
 
-     </properties>
 
-     <dependencyManagement>
 
-         <dependencies>
 
-             <dependency>
 
-                 <!-- Import dependency management from Spring Boot (依赖管理:继承一些默认的依赖,工程需要依赖的jar包的管理,申明其他dependency的时候就不需要version) -->
 
-                 <groupId>org.springframework.boot</groupId>
 
-                 <artifactId>spring-boot-starter-parent</artifactId>
 
-                 <version>${spring-boot.version}</version>
 
-                 <type>pom</type>
 
-                 <scope>import</scope>
 
-             </dependency>
 
-         </dependencies>
 
-     </dependencyManagement>
 
-     <dependencies>
 
-         <!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
 
-         <dependency>
 
-             <groupId>org.springframework.boot</groupId>
 
-             <artifactId>spring-boot-starter-web</artifactId>
 
-         </dependency>
 
-         <!--mysql-->
 
-         <dependency>
 
-             <groupId>mysql</groupId>
 
-             <artifactId>mysql-connector-java</artifactId>
 
-             <version>5.1.47</version>
 
-             <scope>runtime</scope>
 
-         </dependency>
 
-         <!-- mybatis-plus -->
 
-         <dependency>
 
-             <groupId>com.baomidou</groupId>
 
-             <artifactId>mybatis-plus-boot-starter</artifactId>
 
-             <version>${mybatis-plus.version}</version>
 
-         </dependency>
 
-         <dependency>
 
-             <groupId>com.baomidou</groupId>
 
-             <artifactId>mybatis-plus-extension</artifactId>
 
-             <version>${mybatis-plus.version}</version>
 
-         </dependency>
 
-         <dependency>
 
-             <groupId>com.baomidou</groupId>
 
-             <artifactId>mybatis-plus-annotation</artifactId>
 
-             <version>${mybatis-plus.version}</version>
 
-         </dependency>
 
-         <!-- druid -->
 
-         <dependency>
 
-             <groupId>com.alibaba</groupId>
 
-             <artifactId>druid-spring-boot-starter</artifactId>
 
-             <version>${druid.version}</version>
 
-         </dependency>
 
-         <!-- 动态数据源 -->
 
-         <dependency>
 
-             <groupId>com.baomidou</groupId>
 
-             <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
 
-             <version>2.5.4</version>
 
-         </dependency>
 
-         <!-- fastjson-->
 
-         <dependency>
 
-             <groupId>com.alibaba</groupId>
 
-             <artifactId>fastjson</artifactId>
 
-             <version>1.2.56</version>
 
-         </dependency>
 
-         <!-- Lombok -->
 
-         <dependency>
 
-             <groupId>org.projectlombok</groupId>
 
-             <artifactId>lombok</artifactId>
 
-         </dependency>
 
-         <!-- httpclient-->
 
-         <dependency>
 
-             <groupId>org.apache.httpcomponents</groupId>
 
-             <artifactId>httpclient</artifactId>
 
-             <version>4.5.9</version>
 
-         </dependency>
 
-         <dependency>
 
-             <groupId>org.apache.httpcomponents</groupId>
 
-             <artifactId>httpcore</artifactId>
 
-             <version>4.4</version>
 
-         </dependency>
 
-         <dependency>
 
-             <groupId>com.squareup.retrofit2</groupId>
 
-             <artifactId>retrofit</artifactId>
 
-             <version>2.6.0</version>
 
-         </dependency>
 
-         <dependency>
 
-             <groupId>org.springframework.boot</groupId>
 
-             <artifactId>spring-boot-starter-mail</artifactId>
 
-         </dependency>
 
-         <!-- xxl-job-core -->
 
-         <dependency>
 
-             <groupId>com.xuxueli</groupId>
 
-             <artifactId>xxl-job-core</artifactId>
 
-             <version>${project.parent.version}</version>
 
-         </dependency>
 
-     </dependencies>
 
-     <build>
 
-         <resources>
 
-             <resource>
 
-                 <!-- xml放在java目录下-->
 
-                 <directory>src/main/java</directory>
 
-                 <includes>
 
-                     <include>**/*.xml</include>
 
-                     <include>**/*.properties</include>
 
-                 </includes>
 
-             </resource>
 
-             <!--指定资源的位置(xml放在resources下,可以不用指定)-->
 
-             <resource>
 
-                 <directory>src/main/resources</directory>
 
-             </resource>
 
-         </resources>
 
-         <plugins>
 
-             <!-- spring-boot-maven-plugin (提供了直接运行项目的插件:如果是通过parent方式继承spring-boot-starter-parent则不用此插件) -->
 
-             <plugin>
 
-                 <groupId>org.springframework.boot</groupId>
 
-                 <artifactId>spring-boot-maven-plugin</artifactId>
 
-                 <version>${spring-boot.version}</version>
 
-                 <executions>
 
-                     <execution>
 
-                         <goals>
 
-                             <goal>repackage</goal>
 
-                         </goals>
 
-                     </execution>
 
-                 </executions>
 
-             </plugin>
 
-         </plugins>
 
-     </build>
 
- </project>
 
 
  |