pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. <groupId>com.warewms</groupId>
  6. <artifactId>rfid-zebra-spring-boot-starter</artifactId>
  7. <version>1.0.0</version>
  8. <name>rfid-zebra-spring-boot-starter</name>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>1.8</maven.compiler.source>
  12. <maven.compiler.target>1.8</maven.compiler.target>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. <version>2.2.4.RELEASE</version>
  19. </dependency>
  20. <!-- 生成配置文件提示-->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-configuration-processor</artifactId>
  24. <version>2.2.4.RELEASE</version>
  25. <optional>true</optional>
  26. </dependency>
  27. <dependency>
  28. <groupId>junit</groupId>
  29. <artifactId>junit</artifactId>
  30. <version>4.11</version>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <version>1.18.10</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.slf4j</groupId>
  40. <artifactId>slf4j-api</artifactId>
  41. <version>1.7.7</version>
  42. </dependency>
  43. <!-- springboot自带logback-->
  44. <dependency>
  45. <groupId>ch.qos.logback</groupId>
  46. <artifactId>logback-core</artifactId>
  47. <version>1.1.11</version>
  48. <optional>true</optional>
  49. </dependency>
  50. <dependency>
  51. <groupId>ch.qos.logback</groupId>
  52. <artifactId>logback-classic</artifactId>
  53. <version>1.1.11</version>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.commons</groupId>
  58. <artifactId>commons-lang3</artifactId>
  59. <version>3.9</version>
  60. </dependency>
  61. <!-- rfid-zebra-只能跑在window上-->
  62. <dependency>
  63. <groupId>com.warewms</groupId>
  64. <artifactId>rfid</artifactId>
  65. <version>1.0.0</version>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <finalName>${project.artifactId}</finalName>
  70. <extensions>
  71. <extension>
  72. <groupId>org.apache.maven.wagon</groupId>
  73. <artifactId>wagon-ssh</artifactId>
  74. <version>2.8</version>
  75. </extension>
  76. </extensions>
  77. <plugins>
  78. <!--<plugin>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-maven-plugin</artifactId>
  81. <configuration>
  82. <includeSystemScope>true</includeSystemScope>
  83. </configuration>
  84. </plugin>-->
  85. <!-- Maven Assembly Plugin -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-assembly-plugin</artifactId>
  89. <configuration>
  90. <!-- get all project dependencies -->
  91. <descriptorRefs>
  92. <descriptorRef>jar-with-dependencies</descriptorRef>
  93. </descriptorRefs>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <id>make-assembly</id>
  98. <!-- bind to the packaging phase -->
  99. <phase>package</phase>
  100. <goals>
  101. <goal>single</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <!-- 生成java文档注释-->
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-source-plugin</artifactId>
  110. <version>3.2.1</version>
  111. <!-- 绑定source插件到Maven的生命周期,并在生命周期后执行绑定的source的goal -->
  112. <executions>
  113. <execution>
  114. <!-- 绑定source插件到Maven的生命周期 -->
  115. <phase>compile</phase>
  116. <!--在生命周期后执行绑定的source插件的goals -->
  117. <goals>
  118. <goal>jar-no-fork</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!-- 跳过单元测试 -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-surefire-plugin</artifactId>
  127. <configuration>
  128. <skipTests>true</skipTests>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <repositories>
  134. <repository>
  135. <id>public</id>
  136. <name>aliyun nexus</name>
  137. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  138. <releases>
  139. <enabled>true</enabled>
  140. </releases>
  141. </repository>
  142. </repositories>
  143. <pluginRepositories>
  144. <pluginRepository>
  145. <id>public</id>
  146. <name>aliyun nexus</name>
  147. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  148. <releases>
  149. <enabled>true</enabled>
  150. </releases>
  151. <snapshots>
  152. <enabled>false</enabled>
  153. </snapshots>
  154. </pluginRepository>
  155. </pluginRepositories>
  156. </project>