pom.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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-print-starter</artifactId>
  6. <packaging>jar</packaging>
  7. <parent>
  8. <groupId>cn.com.qmth.examcloud</groupId>
  9. <artifactId>examcloud-core-print</artifactId>
  10. <version>${revision}</version>
  11. </parent>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.com.qmth.examcloud</groupId>
  15. <artifactId>examcloud-core-print-provider</artifactId>
  16. <version>${project.version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-logging</artifactId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-log4j2</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-test</artifactId>
  31. <scope>test</scope>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-logging</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-jar-plugin</artifactId>
  49. <configuration>
  50. <archive>
  51. <manifest>
  52. <mainClass>cn.com.qmth.examcloud.core.print.PrintApplication</mainClass>
  53. <addClasspath>true</addClasspath>
  54. <classpathPrefix>./</classpathPrefix>
  55. </manifest>
  56. <manifestEntries>
  57. <Class-Path>../config/</Class-Path>
  58. </manifestEntries>
  59. </archive>
  60. <excludes>
  61. <exclude>templates/*</exclude>
  62. <exclude>*.properties</exclude>
  63. <exclude>*.xml</exclude>
  64. <exclude>*.conf</exclude>
  65. <exclude>classpath.location</exclude>
  66. </excludes>
  67. </configuration>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-assembly-plugin</artifactId>
  72. <configuration>
  73. <finalName>examcloud-core-print</finalName>
  74. <descriptors>
  75. <descriptor>assembly.xml</descriptor>
  76. </descriptors>
  77. </configuration>
  78. <executions>
  79. <execution>
  80. <id>make-assembly</id>
  81. <phase>install</phase>
  82. <goals>
  83. <goal>assembly</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>