pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>qhiot-link-basic-mqtt</artifactId>
  7. <groupId>com.qhiot</groupId>
  8. <version>1.1.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>qhiot-web</artifactId>
  12. <version>1.1.1</version>
  13. <packaging>war</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qhiot</groupId>
  17. <artifactId>qhiot-cloud-starter</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.qhiot</groupId>
  21. <artifactId>qhiot-boot-starter-web</artifactId>
  22. </dependency>
  23. <!-- QH Modules -->
  24. <dependency>
  25. <groupId>com.qhiot</groupId>
  26. <artifactId>qhiot-common-core</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.qhiot</groupId>
  30. <artifactId>qhiot-transport-server</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.qhiot</groupId>
  34. <artifactId>qhiot-oss-manager</artifactId>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <finalName>qhiot-link-basic-mqtt</finalName>
  39. <plugins>
  40. <!-- war包插件 -->
  41. <plugin>
  42. <artifactId>maven-war-plugin</artifactId>
  43. <configuration>
  44. <!-- 把class打包jar作为附件 -->
  45. <attachClasses>true</attachClasses>
  46. </configuration>
  47. </plugin>
  48. <!-- 指定启动入口 -->
  49. <plugin>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-maven-plugin</artifactId>
  52. <configuration>
  53. <mainClass>com.qhiot.main.TomcatApplication</mainClass>
  54. </configuration>
  55. </plugin>
  56. </plugins>
  57. <!-- <resources>-->
  58. <!-- <resource>-->
  59. <!-- <directory>src/main/java</directory>-->
  60. <!-- <includes>-->
  61. <!-- <include>**/*.*</include>-->
  62. <!-- </includes>-->
  63. <!-- <filtering>false</filtering>-->
  64. <!-- </resource>-->
  65. <!-- <resource>-->
  66. <!-- <directory>src/main/resources</directory>-->
  67. <!-- <includes>-->
  68. <!-- <include>**/*.*</include>-->
  69. <!-- </includes>-->
  70. <!-- </resource>-->
  71. <!-- </resources>-->
  72. </build>
  73. </project>