pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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-exchange-starter</artifactId>
  6. <packaging>jar</packaging>
  7. <parent>
  8. <groupId>cn.com.qmth.examcloud</groupId>
  9. <artifactId>examcloud-exchange</artifactId>
  10. <version>${revision}</version>
  11. </parent>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.com.qmth.examcloud</groupId>
  15. <artifactId>examcloud-exchange-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.exchange.ExchangeApp</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>course-group/*</exclude>
  42. <exclude>mock/*</exclude>
  43. <exclude>*.properties</exclude>
  44. <exclude>*.xml</exclude>
  45. <exclude>classpath.location</exclude>
  46. </excludes>
  47. </configuration>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-assembly-plugin</artifactId>
  52. <version>${maven-assembly-version}</version>
  53. <configuration>
  54. <finalName>examcloud-exchange</finalName>
  55. <skipAssembly>${skipAssembly}</skipAssembly>
  56. <descriptors>
  57. <descriptor>assembly.xml</descriptor>
  58. </descriptors>
  59. </configuration>
  60. <executions>
  61. <execution>
  62. <id>make-assembly</id>
  63. <phase>install</phase>
  64. <goals>
  65. <goal>single</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </project>