pom.xml 3.0 KB

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