pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.agent2</groupId>
  5. <artifactId>remote</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <name>remote</name>
  8. <url>http://maven.apache.org</url>
  9. <properties>
  10. <encoding>UTF-8</encoding>
  11. <java-version>1.8</java-version>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.eclipse.paho</groupId>
  19. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  20. <version>1.2.1</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.eclipse.californium</groupId>
  24. <artifactId>californium-core</artifactId>
  25. <version>2.0.0-M17</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.alibaba</groupId>
  29. <artifactId>fastjson</artifactId>
  30. <version>1.2.61</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.google.guava</groupId>
  34. <artifactId>guava</artifactId>
  35. <version>27.0.1-jre</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>io.netty</groupId>
  39. <artifactId>netty-all</artifactId>
  40. <version>4.1.76.Final</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>cn.hutool</groupId>
  44. <artifactId>hutool-all</artifactId>
  45. <version>5.7.22</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.zaxxer</groupId>
  49. <artifactId>HikariCP</artifactId>
  50. <version>3.4.2</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. <version>1.7.36</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>ch.qos.logback</groupId>
  59. <artifactId>logback-classic</artifactId>
  60. <version>1.2.11</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. <version>5.1.33</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.commons</groupId>
  69. <artifactId>commons-lang3</artifactId>
  70. <version>3.9</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>commons-codec</groupId>
  74. <artifactId>commons-codec</artifactId>
  75. <version>1.13</version>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <configuration>
  84. <source>1.8</source>
  85. <target>1.8</target>
  86. <encoding>UTF-8</encoding>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-assembly-plugin</artifactId>
  92. <configuration>
  93. <appendAssemblyId>false</appendAssemblyId>
  94. <descriptorRefs>
  95. <descriptorRef>jar-with-dependencies</descriptorRef>
  96. </descriptorRefs>
  97. <archive>
  98. <manifest>
  99. <!-- 此处指定main方法入口的class -->
  100. <mainClass>com.tuoren.remote.Remote</mainClass>
  101. </manifest>
  102. </archive>
  103. </configuration>
  104. <executions>
  105. <execution>
  106. <id>make-assembly</id>
  107. <phase>package</phase>
  108. <goals>
  109. <goal>assembly</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>