pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <artifactId>iot-components</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-websocket-component</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cc.iotkit</groupId>
  15. <artifactId>iot-common-core</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>cc.iotkit</groupId>
  19. <artifactId>iot-component-base</artifactId>
  20. </dependency>
  21. <!--====================第三方库===================-->
  22. <dependency>
  23. <groupId>io.vertx</groupId>
  24. <artifactId>vertx-core</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-api</artifactId>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-shade-plugin</artifactId>
  40. <version>3.2.4</version>
  41. <executions>
  42. <execution>
  43. <phase>package</phase>
  44. <goals>
  45. <goal>shade</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. <configuration>
  50. <artifactSet>
  51. <includes>
  52. <include>io.vertx:vertx-core</include>
  53. <include>org.luaj:luaj-jse</include>
  54. </includes>
  55. </artifactSet>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <configuration>
  62. <source>${java.version}</source>
  63. <target>${java.version}</target>
  64. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  65. <useIncrementalCompilation>false</useIncrementalCompilation>
  66. <encoding>utf8</encoding>
  67. </configuration>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. </project>