pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.warewms</groupId>
  7. <artifactId>warewms</artifactId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>warewms-admin</artifactId>
  13. <description>web application</description>
  14. <properties>
  15. <local.lib.basedir>${pom.basedir}/src/main/resources/lib</local.lib.basedir>
  16. </properties>
  17. <dependencies>
  18. <!-- Mysql驱动包 -->
  19. <dependency>
  20. <groupId>mysql</groupId>
  21. <artifactId>mysql-connector-java</artifactId>
  22. </dependency>
  23. <!-- 核心模块-->
  24. <dependency>
  25. <groupId>com.warewms</groupId>
  26. <artifactId>warewms-system</artifactId>
  27. </dependency>
  28. <!-- 定时任务-->
  29. <dependency>
  30. <groupId>com.warewms</groupId>
  31. <artifactId>warewms-quartz</artifactId>
  32. </dependency>
  33. <!-- 代码生成-->
  34. <dependency>
  35. <groupId>com.warewms</groupId>
  36. <artifactId>warewms-generator</artifactId>
  37. </dependency>
  38. <!--硬件Jar集成,自定义starter组件-->
  39. <dependency>
  40. <groupId>com.jwk</groupId>
  41. <artifactId>modbus-spring-boot-starter</artifactId>
  42. <version>1.0</version>
  43. <scope>system</scope>
  44. <systemPath>${local.lib.basedir}/modbus-spring-boot-starter.jar</systemPath>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.jwk</groupId>
  48. <artifactId>rfid-zebra-spring-boot-starter</artifactId>
  49. <version>1.0</version>
  50. <scope>system</scope>
  51. <systemPath>${local.lib.basedir}/rfid-zebra-spring-boot-starter.jar</systemPath>
  52. </dependency>
  53. <!-- rfid-zebra-只能跑在window上-->
  54. <dependency>
  55. <groupId>com.jwk</groupId>
  56. <artifactId>rfid</artifactId>
  57. <version>1.0.0</version>
  58. <scope>system</scope>
  59. <systemPath>${local.lib.basedir}/rfid-1.0.0.jar</systemPath>
  60. </dependency>
  61. <!--modbus4j start-->
  62. <dependency>
  63. <groupId>com.jwk</groupId>
  64. <artifactId>RXTXcomm</artifactId>
  65. <version>3.0.5</version>
  66. <scope>system</scope>
  67. <systemPath>${local.lib.basedir}/RXTXcomm.jar</systemPath>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.jwk</groupId>
  71. <artifactId>modbus4j</artifactId>
  72. <version>3.0.5</version>
  73. <scope>system</scope>
  74. <systemPath>${local.lib.basedir}/modbus4j-3.0.5.jar</systemPath>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.jwk</groupId>
  78. <artifactId>jssc</artifactId>
  79. <version>2.8.0</version>
  80. <scope>system</scope>
  81. <systemPath>${local.lib.basedir}/jssc-2.8.0.jar</systemPath>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <version>2.1.1.RELEASE</version>
  90. <!-- 解决打包无法找到启动类,并且未包含jar -->
  91. <executions>
  92. <execution>
  93. <goals>
  94. <goal>repackage</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-war-plugin</artifactId>
  102. <version>3.1.0</version>
  103. <configuration>
  104. <failOnMissingWebXml>false</failOnMissingWebXml>
  105. <warName>${project.artifactId}</warName>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. <finalName>${project.artifactId}</finalName>
  110. </build>
  111. </project>