|
@@ -1,62 +1,68 @@
|
|
-<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>cn.com.qmth.examcloud.task</groupId>
|
|
|
|
- <artifactId>examcloud-task</artifactId>
|
|
|
|
- <version>2019-SNAPSHOT</version>
|
|
|
|
- </parent>
|
|
|
|
- <artifactId>examcloud-task-starter</artifactId>
|
|
|
|
-
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>cn.com.qmth.examcloud.task</groupId>
|
|
|
|
- <artifactId>examcloud-task-api-provider</artifactId>
|
|
|
|
- <version>${examcloud.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
-
|
|
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <archive>
|
|
|
|
- <manifest>
|
|
|
|
- <mainClass>cn.com.qmth.examcloud.task.starter.TaskApp</mainClass>
|
|
|
|
- <addClasspath>true</addClasspath>
|
|
|
|
- <classpathPrefix>./</classpathPrefix>
|
|
|
|
- </manifest>
|
|
|
|
- <manifestEntries>
|
|
|
|
- <Class-Path>../config/</Class-Path>
|
|
|
|
- </manifestEntries>
|
|
|
|
- </archive>
|
|
|
|
- <excludes>
|
|
|
|
- <exclude>*.properties</exclude>
|
|
|
|
- <exclude>*.xml </exclude>
|
|
|
|
- <exclude>*.conf </exclude>
|
|
|
|
- </excludes>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <finalName>examcloud-task</finalName>
|
|
|
|
- <descriptors>
|
|
|
|
- <descriptor>assembly.xml</descriptor>
|
|
|
|
- </descriptors>
|
|
|
|
- </configuration>
|
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <id>make-assembly</id>
|
|
|
|
- <phase>install</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>assembly</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
|
|
+<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>cn.com.qmth.examcloud.task</groupId>
|
|
|
|
+ <artifactId>examcloud-task</artifactId>
|
|
|
|
+ <version>2019-SNAPSHOT</version>
|
|
|
|
+ </parent>
|
|
|
|
+ <artifactId>examcloud-task-starter</artifactId>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.github.xiaoymin</groupId>
|
|
|
|
+ <artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.com.qmth.examcloud.task</groupId>
|
|
|
|
+ <artifactId>examcloud-task-api-provider</artifactId>
|
|
|
|
+ <version>${examcloud.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <archive>
|
|
|
|
+ <manifest>
|
|
|
|
+ <mainClass>cn.com.qmth.examcloud.task.starter.TaskApp</mainClass>
|
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
|
+ <classpathPrefix>./</classpathPrefix>
|
|
|
|
+ </manifest>
|
|
|
|
+ <manifestEntries>
|
|
|
|
+ <Class-Path>../config/</Class-Path>
|
|
|
|
+ </manifestEntries>
|
|
|
|
+ </archive>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>*.properties</exclude>
|
|
|
|
+ <exclude>*.xml </exclude>
|
|
|
|
+ <exclude>*.conf </exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <finalName>examcloud-task</finalName>
|
|
|
|
+ <descriptors>
|
|
|
|
+ <descriptor>assembly.xml</descriptor>
|
|
|
|
+ </descriptors>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>make-assembly</id>
|
|
|
|
+ <phase>install</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>assembly</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
</project>
|
|
</project>
|