pom.xml 1.9 KB

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