pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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.jwk</groupId>
  6. <artifactId>rfid-zebra-spring-boot-starter</artifactId>
  7. <version>1.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. </dependency>
  49. <dependency>
  50. <groupId>ch.qos.logback</groupId>
  51. <artifactId>logback-classic</artifactId>
  52. <version>1.1.11</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.commons</groupId>
  56. <artifactId>commons-lang3</artifactId>
  57. <version>3.9</version>
  58. </dependency>
  59. <!-- rfid-zebra-只能跑在window上-->
  60. <dependency>
  61. <groupId>com.warewms</groupId>
  62. <artifactId>rfid</artifactId>
  63. <version>1.0.0</version>
  64. <scope>system</scope>
  65. <systemPath>${basedir}/src/main/resources/lib/rfid-1.0.0.jar</systemPath>
  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. <!-- 生成java文档注释-->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-source-plugin</artifactId>
  89. <version>3.2.1</version>
  90. <!-- 绑定source插件到Maven的生命周期,并在生命周期后执行绑定的source的goal -->
  91. <executions>
  92. <execution>
  93. <!-- 绑定source插件到Maven的生命周期 -->
  94. <phase>compile</phase>
  95. <!--在生命周期后执行绑定的source插件的goals -->
  96. <goals>
  97. <goal>jar-no-fork</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <!-- 跳过单元测试 -->
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-surefire-plugin</artifactId>
  106. <configuration>
  107. <skipTests>true</skipTests>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <repositories>
  113. <repository>
  114. <id>public</id>
  115. <name>aliyun nexus</name>
  116. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  117. <releases>
  118. <enabled>true</enabled>
  119. </releases>
  120. </repository>
  121. </repositories>
  122. <pluginRepositories>
  123. <pluginRepository>
  124. <id>public</id>
  125. <name>aliyun nexus</name>
  126. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  127. <releases>
  128. <enabled>true</enabled>
  129. </releases>
  130. <snapshots>
  131. <enabled>false</enabled>
  132. </snapshots>
  133. </pluginRepository>
  134. </pluginRepositories>
  135. </project>