pom.xml 2.5 KB

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