pom.xml 2.9 KB

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