pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>examcloud-task-starter</artifactId>
  5. <packaging>jar</packaging>
  6. <parent>
  7. <groupId>cn.com.qmth.examcloud</groupId>
  8. <artifactId>examcloud-task</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <dependencies>
  12. <dependency>
  13. <groupId>cn.com.qmth.examcloud</groupId>
  14. <artifactId>examcloud-task-api-provider</artifactId>
  15. <version>${project.version}</version>
  16. </dependency>
  17. </dependencies>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-maven-plugin</artifactId>
  23. </plugin>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-jar-plugin</artifactId>
  27. <configuration>
  28. <archive>
  29. <manifest>
  30. <mainClass>cn.com.qmth.examcloud.task.starter.TaskApp</mainClass>
  31. <addClasspath>true</addClasspath>
  32. <classpathPrefix>./</classpathPrefix>
  33. </manifest>
  34. <manifestEntries>
  35. <Class-Path>../config/</Class-Path>
  36. </manifestEntries>
  37. </archive>
  38. <excludes>
  39. <exclude>*.properties</exclude>
  40. <exclude>*.xml</exclude>
  41. <exclude>classpath.location</exclude>
  42. </excludes>
  43. </configuration>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-assembly-plugin</artifactId>
  48. <configuration>
  49. <finalName>examcloud-task</finalName>
  50. <descriptors>
  51. <descriptor>assembly.xml</descriptor>
  52. </descriptors>
  53. </configuration>
  54. <executions>
  55. <execution>
  56. <id>make-assembly</id>
  57. <phase>install</phase>
  58. <goals>
  59. <goal>assembly</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. </project>