pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. <groupId>com.zd</groupId>
  7. <artifactId>zd-modules</artifactId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zd-common-face</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <!-- SpringCloud Alibaba Nacos-->
  18. <dependency>
  19. <groupId>com.alibaba.cloud</groupId>
  20. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  21. </dependency>
  22. <!-- SpringCloud Alibaba Nacos Config -->
  23. <dependency>
  24. <groupId>com.alibaba.cloud</groupId>
  25. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  26. </dependency>
  27. <!-- SpringCloud Alibaba Sentinel -->
  28. <dependency>
  29. <groupId>com.alibaba.cloud</groupId>
  30. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  31. </dependency>
  32. <!-- SpringBoot Actuator -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-actuator</artifactId>
  36. </dependency>
  37. <!-- zd Common Log -->
  38. <dependency>
  39. <groupId>com.zd</groupId>
  40. <artifactId>zd-common-log</artifactId>
  41. </dependency>
  42. <!-- zd Common Swagger -->
  43. <dependency>
  44. <groupId>com.zd</groupId>
  45. <artifactId>zd-common-swagger</artifactId>
  46. </dependency>
  47. <!--<dependency>
  48. <groupId>arcsoft</groupId>
  49. <artifactId>arcsoft-sdk-face</artifactId>
  50. </dependency>-->
  51. <dependency>
  52. <groupId>arcsoft</groupId>
  53. <artifactId>arcsoft-sdk-face</artifactId>
  54. <version>3.0.0.0</version>
  55. <scope>system</scope>
  56. <systemPath>${pom.basedir}/src/main/resources/libs/arcsoft-sdk-face-3.0.0.0.jar</systemPath>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.zd</groupId>
  60. <artifactId>zd-common-resultdata</artifactId>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <finalName>${project.artifactId}</finalName>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-maven-plugin</artifactId>
  69. <configuration>
  70. <includeSystemScope>true</includeSystemScope>
  71. <fork>true</fork>
  72. </configuration>
  73. <executions>
  74. <execution>
  75. <goals>
  76. <goal>repackage</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <!-- 打包时跳过test插件,不运行test测试用例 -->
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-surefire-plugin</artifactId>
  85. <version>${maven-surefire-plugin.version}</version>
  86. <configuration>
  87. <skipTests>true</skipTests>
  88. </configuration>
  89. </plugin>
  90. <!-- docker的maven插件 -->
  91. <!-- <plugin>-->
  92. <!-- <groupId>com.spotify</groupId>-->
  93. <!-- <artifactId>dockerfile-maven-plugin</artifactId>-->
  94. <!-- <version>${docker.maven.verion}</version>-->
  95. <!-- <executions>-->
  96. <!-- &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
  97. <!-- <execution>-->
  98. <!-- <id>default</id>-->
  99. <!-- <phase>package</phase>-->
  100. <!-- <goals>-->
  101. <!-- <goal>build</goal>-->
  102. <!-- <goal>push</goal>-->
  103. <!-- </goals>-->
  104. <!-- </execution>-->
  105. <!-- </executions>-->
  106. <!-- <configuration>-->
  107. <!-- <repository>${docker.registry}/${docker.namespace}/${project.artifactId}</repository>-->
  108. <!-- <tag>latest</tag>-->
  109. <!-- &lt;!&ndash; 镜像服务器账号密码 &ndash;&gt;-->
  110. <!-- <username>admin</username>-->
  111. <!-- <password>zd123456..</password>-->
  112. <!-- &lt;!&ndash; 构建参数,指定jar包名称 &ndash;&gt;-->
  113. <!-- <buildArgs>-->
  114. <!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
  115. <!-- </buildArgs>-->
  116. <!-- </configuration>-->
  117. <!-- </plugin>-->
  118. </plugins>
  119. </build>
  120. </project>