cigs-4厂 后端下片改造项目
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 5.2 KiB

há 2 anos
há 1 ano
há 2 anos
há 1 ano
há 2 anos
há 1 ano
há 2 anos
há 2 anos
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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.cnbm</groupId>
  7. <artifactId>ym-pass</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ym-gateway</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.cnbm</groupId>
  19. <artifactId>ym-common</artifactId>
  20. <version>1.0-SNAPSHOT</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.cnbm</groupId>
  24. <artifactId>ym-s7</artifactId>
  25. <version>1.0-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.cnbm</groupId>
  29. <artifactId>ym-packing</artifactId>
  30. <version>1.0-SNAPSHOT</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.cnbm</groupId>
  34. <artifactId>ym-admin</artifactId>
  35. <version>1.0-SNAPSHOT</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.cnbm</groupId>
  39. <artifactId>ym-packing</artifactId>
  40. <version>1.0-SNAPSHOT</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.cnbm</groupId>
  44. <artifactId>ym-barcode</artifactId>
  45. <version>1.0-SNAPSHOT</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.cnbm</groupId>
  49. <artifactId>ym-basic</artifactId>
  50. <version>1.0-SNAPSHOT</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.cnbm</groupId>
  54. <artifactId>ym-schedule-task</artifactId>
  55. <version>1.0-SNAPSHOT</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.cnbm</groupId>
  59. <artifactId>ym-websocket</artifactId>
  60. <version>1.0-SNAPSHOT</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.cnbm</groupId>
  64. <artifactId>ym-dynamic-datasource</artifactId>
  65. <version>1.0-SNAPSHOT</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-boot-starter</artifactId>
  70. <version>3.0.0</version>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>io.swagger</groupId>
  74. <artifactId>swagger-models</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.swagger</groupId>
  80. <artifactId>swagger-models</artifactId>
  81. <version>1.5.21</version>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <finalName>${project.artifactId}</finalName>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <version>2.5.12</version>
  91. <configuration>
  92. <!--指定运行main函数的包-->
  93. <mainClass>com.cnbm.YmApplication</mainClass>
  94. <!--开启分层编译支持-->
  95. <layers>
  96. <enabled>true</enabled>
  97. <configuration>${project.basedir}/src/main/resources/layers.xml</configuration>
  98. </layers>
  99. <excludes>
  100. <exclude>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. </exclude>
  104. </excludes>
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <configuration>
  118. <skipTests>true</skipTests>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <groupId>com.spotify</groupId>
  123. <artifactId>docker-maven-plugin</artifactId>
  124. <version>${docker.plugin.version}</version>
  125. <configuration>
  126. <imageName>ym-pass/${project.artifactId}</imageName>
  127. <dockerDirectory>${project.basedir}/</dockerDirectory>
  128. <resources>
  129. <resource>
  130. <targetPath>/</targetPath>
  131. <directory>${project.build.directory}</directory>
  132. <include>${project.build.finalName}.jar</include>
  133. </resource>
  134. </resources>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>