pom.xml 1.9 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"
  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. <parent>
  6. <groupId>cn.com.qmth.examcloud.core.basic</groupId>
  7. <artifactId>examcloud-core-basic</artifactId>
  8. <version>2019-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>examcloud-core-basic-starter</artifactId>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.com.qmth.examcloud.core.basic</groupId>
  15. <artifactId>examcloud-core-basic-api-provider</artifactId>
  16. <version>${examcloud.version}</version>
  17. </dependency>
  18. </dependencies>
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-jar-plugin</artifactId>
  24. <configuration>
  25. <archive>
  26. <manifest>
  27. <mainClass>cn.com.qmth.examcloud.core.basic.starter.CoreBasicApp</mainClass>
  28. <addClasspath>true</addClasspath>
  29. <classpathPrefix>./</classpathPrefix>
  30. </manifest>
  31. <manifestEntries>
  32. <Class-Path>../config/</Class-Path>
  33. </manifestEntries>
  34. </archive>
  35. <excludes>
  36. <exclude>templates/*</exclude>
  37. <exclude>*.properties</exclude>
  38. <exclude>*.xml </exclude>
  39. <exclude>classpath.location</exclude>
  40. </excludes>
  41. </configuration>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-assembly-plugin</artifactId>
  46. <configuration>
  47. <finalName>examcloud-core-basic</finalName>
  48. <descriptors>
  49. <descriptor>assembly.xml</descriptor>
  50. </descriptors>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>install</phase>
  56. <goals>
  57. <goal>assembly</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>