pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>cn.com.qmth.examcloud.core.basic</groupId>
  6. <artifactId>examcloud-core-basic</artifactId>
  7. <version>2.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>examcloud-core-basic-starter</artifactId>
  10. <packaging>jar</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>cn.com.qmth.examcloud.core.basic</groupId>
  14. <artifactId>examcloud-core-basic-api-provider</artifactId>
  15. <version>${examcloud.version}</version>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-test</artifactId>
  20. <scope>test</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-autoconfigure</artifactId>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-jar-plugin</artifactId>
  32. <configuration>
  33. <archive>
  34. <manifest>
  35. <mainClass>cn.com.qmth.examcloud.core.basic.starter.CoreBasicApplication</mainClass>
  36. <addClasspath>true</addClasspath>
  37. <classpathPrefix>./</classpathPrefix>
  38. </manifest>
  39. </archive>
  40. </configuration>
  41. </plugin>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-assembly-plugin</artifactId>
  45. <configuration>
  46. <finalName>examcloud-core-basic</finalName>
  47. <descriptors>
  48. <descriptor>assembly.xml</descriptor>
  49. </descriptors>
  50. </configuration>
  51. <executions>
  52. <execution>
  53. <id>make-assembly</id>
  54. <phase>package</phase>
  55. <goals>
  56. <goal>single</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. </project>