pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>io.emqx</groupId>
  7. <artifactId>exhook-svr</artifactId>
  8. <version>1.0</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>redis.clients</groupId>
  16. <artifactId>jedis</artifactId>
  17. <version>5.1.2</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.alibaba</groupId>
  21. <artifactId>fastjson</artifactId>
  22. <version>1.2.79</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.commons</groupId>
  26. <artifactId>commons-lang3</artifactId>
  27. <version>3.12.0</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.hutool</groupId>
  31. <artifactId>hutool-all</artifactId>
  32. <version>5.8.27</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.bouncycastle</groupId>
  36. <artifactId>bcpkix-jdk18on</artifactId>
  37. <version>1.78</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.mongodb</groupId>
  41. <artifactId>mongodb-driver-sync</artifactId>
  42. <version>5.0.1</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.mongodb</groupId>
  46. <artifactId>bson</artifactId>
  47. <version>5.0.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mongodb</groupId>
  51. <artifactId>mongodb-driver-core</artifactId>
  52. <version>5.0.1</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.grpc</groupId>
  56. <artifactId>grpc-netty-shaded</artifactId>
  57. <version>1.36.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.grpc</groupId>
  61. <artifactId>grpc-protobuf</artifactId>
  62. <version>1.46.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>io.grpc</groupId>
  66. <artifactId>grpc-stub</artifactId>
  67. <version>1.42.1</version>
  68. </dependency>
  69. <dependency> <!-- necessary for Java 9+ -->
  70. <groupId>org.apache.tomcat</groupId>
  71. <artifactId>annotations-api</artifactId>
  72. <version>6.0.53</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <version>1.18.28</version>
  79. <scope>compile</scope>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <extensions>
  84. <extension>
  85. <groupId>kr.motd.maven</groupId>
  86. <artifactId>os-maven-plugin</artifactId>
  87. <version>1.6.2</version>
  88. </extension>
  89. </extensions>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.xolstice.maven.plugins</groupId>
  93. <artifactId>protobuf-maven-plugin</artifactId>
  94. <version>0.6.1</version>
  95. <configuration>
  96. <protocArtifact>com.google.protobuf:protoc:3.18.1:exe:${os.detected.classifier}</protocArtifact>
  97. <pluginId>grpc-java</pluginId>
  98. <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.42.1:exe:${os.detected.classifier}</pluginArtifact>
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <goals>
  103. <goal>compile</goal>
  104. <goal>compile-custom</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-assembly-plugin</artifactId>
  112. <configuration>
  113. <archive>
  114. <manifest>
  115. <mainClass>io.emqx.exhook.ExServer</mainClass>
  116. </manifest>
  117. </archive>
  118. <descriptorRefs>
  119. <descriptorRef>jar-with-dependencies</descriptorRef>
  120. </descriptorRefs>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <id>assemble-all</id>
  125. <phase>package</phase>
  126. <goals>
  127. <goal>single</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>