pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  6. <modelVersion>4.0.0</modelVersion>
  7. <artifactId>examcloud-oe-tool</artifactId>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>cn.com.qmth.examcloud</groupId>
  11. <artifactId>examcloud-parent</artifactId>
  12. <version>${revision}</version>
  13. <relativePath>../examcloud-parent/pom.xml</relativePath>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>cn.com.qmth.examcloud</groupId>
  18. <artifactId>examcloud-support</artifactId>
  19. <version>${revision}</version>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.com.qmth.examcloud</groupId>
  29. <artifactId>examcloud-core-questions-service</artifactId>
  30. <version>${revision}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.json</groupId>
  34. <artifactId>json</artifactId>
  35. <version>20210307</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.ansj</groupId>
  39. <artifactId>ansj_seg</artifactId>
  40. <version>5.1.6</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <version>1.18.20</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-logging</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. <exclusions>
  62. <exclusion>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-logging</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-jar-plugin</artifactId>
  74. <configuration>
  75. <archive>
  76. <manifest>
  77. <mainClass>cn.com.qmth.dp.examcloud.oe.OeToolApplication</mainClass>
  78. <addClasspath>true</addClasspath>
  79. <classpathPrefix>./</classpathPrefix>
  80. </manifest>
  81. <manifestEntries>
  82. <Class-Path>../config/</Class-Path>
  83. </manifestEntries>
  84. </archive>
  85. <excludes>
  86. <exclude>*.sql</exclude>
  87. <exclude>*.properties</exclude>
  88. <exclude>*.xml</exclude>
  89. <exclude>classpath.location</exclude>
  90. </excludes>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-assembly-plugin</artifactId>
  96. <version>${maven-assembly-version}</version>
  97. <configuration>
  98. <finalName>examcloud-oe-tool</finalName>
  99. <descriptors>
  100. <descriptor>assembly.xml</descriptor>
  101. </descriptors>
  102. </configuration>
  103. <executions>
  104. <execution>
  105. <id>make-assembly</id>
  106. <phase>install</phase>
  107. <goals>
  108. <goal>single</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </project>