pom.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-test</artifactId>
  21. <scope>test</scope>
  22. <exclusions>
  23. <exclusion>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-logging</artifactId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <finalName>${project.artifactId}</finalName>
  32. <!--<resources>
  33. <resource>
  34. <directory>src/main/resources</directory>
  35. <filtering>true</filtering>
  36. </resource>
  37. </resources>-->
  38. <plugins>
  39. <plugin>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-maven-plugin</artifactId>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-jar-plugin</artifactId>
  46. <configuration>
  47. <archive>
  48. <manifest>
  49. <mainClass>cn.com.qmth.examcloud.core.basic.starter.CoreBasicApp</mainClass>
  50. <addClasspath>true</addClasspath>
  51. <classpathPrefix>./</classpathPrefix>
  52. </manifest>
  53. <manifestEntries>
  54. <Class-Path>../config/</Class-Path>
  55. </manifestEntries>
  56. </archive>
  57. <excludes>
  58. <exclude>templates/*</exclude>
  59. <exclude>*.properties</exclude>
  60. <exclude>*.xml</exclude>
  61. <exclude>classpath.location</exclude>
  62. </excludes>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-assembly-plugin</artifactId>
  68. <configuration>
  69. <finalName>examcloud-core-basic</finalName>
  70. <skipAssembly>${skipAssembly}</skipAssembly>
  71. <descriptors>
  72. <descriptor>assembly.xml</descriptor>
  73. </descriptors>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <id>make-assembly</id>
  78. <phase>install</phase>
  79. <goals>
  80. <goal>assembly</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>