api-third-service-8.0.7.pom 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. <parent>
  6. <artifactId>eip</artifactId>
  7. <groupId>com.hotent</groupId>
  8. <version>8.0.7</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>api-third-service</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <boot-jar-output>target/lib/</boot-jar-output>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-actuator</artifactId>
  22. </dependency>
  23. <!-- Spring boot 测试 -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.hotent</groupId>
  31. <artifactId>i18n</artifactId>
  32. <version>${parent.version}</version>
  33. </dependency>
  34. <!-- <dependency>-->
  35. <!-- <groupId>com.hotent</groupId>-->
  36. <!-- <artifactId>api-manager</artifactId>-->
  37. <!-- <version>${parent.version}</version>-->
  38. <!-- </dependency>-->
  39. <!-- <dependency>-->
  40. <!-- <groupId>org.quartz-scheduler</groupId>-->
  41. <!-- <artifactId>quartz</artifactId>-->
  42. <!-- </dependency>-->
  43. <!-- <dependency>-->
  44. <!-- <groupId>org.quartz-scheduler</groupId>-->
  45. <!-- <artifactId>quartz-jobs</artifactId>-->
  46. <!-- </dependency>-->
  47. <!-- &lt;!&ndash; mq &ndash;&gt;-->
  48. <!-- <dependency>-->
  49. <!-- <groupId>com.hotent</groupId>-->
  50. <!-- <artifactId>jms</artifactId>-->
  51. <!-- <version>${project.version}</version>-->
  52. <!-- </dependency>-->
  53. </dependencies>
  54. <!-- 用于生成jar文件-->
  55. <build>
  56. <finalName>jimu-report</finalName>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <version>${spring.boot.version}</version>
  62. <configuration>
  63. <mainClass>com.hotent.third.server.EipApiThirdServiceApplication</mainClass>
  64. <layout>JAR</layout>
  65. <fork>true</fork>
  66. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  67. <layout>ZIP</layout>
  68. <includes>
  69. <include>
  70. <groupId>nothing</groupId>
  71. <artifactId>nothing</artifactId>
  72. </include>
  73. </includes>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. <configuration>
  81. <attach>false</attach>
  82. <classifier>boot</classifier>
  83. </configuration>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <!-- 拷贝项目所有依赖jar文件到构建lib目录下 -->
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-dependency-plugin</artifactId>
  91. <executions>
  92. <execution>
  93. <id>copy-dependencies</id>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>copy-dependencies</goal>
  97. </goals>
  98. <configuration>
  99. <outputDirectory>${boot-jar-output}</outputDirectory>
  100. <excludeTransitive>false</excludeTransitive>
  101. <stripVersion>false</stripVersion>
  102. <silent>false</silent>
  103. </configuration>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>