pom.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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-questions-starter</artifactId>
  6. <packaging>jar</packaging>
  7. <parent>
  8. <groupId>cn.com.qmth.examcloud</groupId>
  9. <artifactId>examcloud-core-questions</artifactId>
  10. <version>${revision}</version>
  11. </parent>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.com.qmth.examcloud</groupId>
  15. <artifactId>examcloud-core-questions-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. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. </plugin>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-jar-plugin</artifactId>
  40. <configuration>
  41. <archive>
  42. <manifest>
  43. <mainClass>cn.com.qmth.examcloud.core.questions.starter.CoreQuestionApp</mainClass>
  44. <addClasspath>true</addClasspath>
  45. <classpathPrefix>./</classpathPrefix>
  46. </manifest>
  47. <manifestEntries>
  48. <Class-Path>../config/</Class-Path>
  49. </manifestEntries>
  50. </archive>
  51. <excludes>
  52. <exclude>templates/*</exclude>
  53. <exclude>*.properties</exclude>
  54. <exclude>*.xml</exclude>
  55. <exclude>classpath.location</exclude>
  56. </excludes>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-assembly-plugin</artifactId>
  62. <version>${maven-assembly-version}</version>
  63. <configuration>
  64. <finalName>examcloud-core-questions</finalName>
  65. <skipAssembly>${skipAssembly}</skipAssembly>
  66. <descriptors>
  67. <descriptor>assembly.xml</descriptor>
  68. </descriptors>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <id>make-assembly</id>
  73. <phase>install</phase>
  74. <goals>
  75. <goal>single</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>