|
@@ -0,0 +1,129 @@
|
|
|
+<?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">
|
|
|
+ <parent>
|
|
|
+ <artifactId>xxl-job-executor-samples</artifactId>
|
|
|
+ <groupId>com.xuxueli</groupId>
|
|
|
+ <version>2.1.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>xxl-job-executor-sample-jboot</artifactId>
|
|
|
+
|
|
|
+ <name>${project.artifactId}</name>
|
|
|
+ <description>Example executor project for spring boot.</description>
|
|
|
+ <url>http://www.xuxueli.com/</url>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <maven.compiler.source>1.7</maven.compiler.source>
|
|
|
+ <maven.compiler.target>1.7</maven.compiler.target>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>4.11</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.xuxueli</groupId>
|
|
|
+ <artifactId>xxl-job-core</artifactId>
|
|
|
+ <version>${project.parent.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.jboot</groupId>
|
|
|
+ <artifactId>jboot</artifactId>
|
|
|
+ <version>2.0.9</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>ch.qos.logback</groupId>
|
|
|
+ <artifactId>logback-core</artifactId>
|
|
|
+ <version>1.1.11</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>ch.qos.logback</groupId>
|
|
|
+ <artifactId>logback-classic</artifactId>
|
|
|
+ <version>1.1.11</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/java</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.xml</include>
|
|
|
+ </includes>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*</include>
|
|
|
+ </includes>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/webapp</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/</include>
|
|
|
+ </includes>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>appassembler-maven-plugin</artifactId>
|
|
|
+ <version>1.10</version>
|
|
|
+ <configuration>
|
|
|
+ <assembleDirectory>${project.build.directory}/app</assembleDirectory>
|
|
|
+ <repositoryName>lib</repositoryName>
|
|
|
+ <binFolder>bin</binFolder>
|
|
|
+ <configurationDirectory>webRoot</configurationDirectory>
|
|
|
+ <copyConfigurationDirectory>true</copyConfigurationDirectory>
|
|
|
+ <configurationSourceDirectory>src/main/resources</configurationSourceDirectory>
|
|
|
+ <repositoryLayout>flat</repositoryLayout>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <logsDirectory>logs</logsDirectory>
|
|
|
+ <tempDirectory>tmp</tempDirectory>
|
|
|
+
|
|
|
+ <programs>
|
|
|
+ <program>
|
|
|
+ <mainClass>io.jboot.Jboot</mainClass>
|
|
|
+ <id>jboot</id>
|
|
|
+ <platforms>
|
|
|
+ <platform>windows</platform>
|
|
|
+ <platform>unix</platform>
|
|
|
+ </platforms>
|
|
|
+ </program>
|
|
|
+ </programs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ </plugins>
|
|
|
+
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|