pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.techempower</groupId>
  6. <artifactId>netty-example</artifactId>
  7. <version>0.1</version>
  8. <properties>
  9. <maven.compiler.source>11</maven.compiler.source>
  10. <maven.compiler.target>11</maven.compiler.target>
  11. <netty.version>4.1.54.Final</netty.version>
  12. </properties>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>io.netty</groupId>
  17. <artifactId>netty-codec-http</artifactId>
  18. <version>${netty.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>io.netty</groupId>
  22. <artifactId>netty-transport-native-epoll</artifactId>
  23. <version>${netty.version}</version>
  24. <classifier>linux-x86_64</classifier>
  25. </dependency>
  26. <dependency>
  27. <groupId>io.netty</groupId>
  28. <artifactId>netty-transport-native-kqueue</artifactId>
  29. <version>${netty.version}</version>
  30. <classifier>osx-x86_64</classifier>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.netty.incubator</groupId>
  34. <artifactId>netty-incubator-transport-native-io_uring</artifactId>
  35. <version>0.0.1.Final</version>
  36. <classifier>linux-x86_64</classifier>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.jsoniter</groupId>
  40. <artifactId>jsoniter</artifactId>
  41. <version>0.9.23</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.javassist</groupId>
  45. <artifactId>javassist</artifactId>
  46. <version>3.27.0-GA</version>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <inherited>true</inherited>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <version>3.8.0</version>
  56. <configuration>
  57. <debug>false</debug>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <artifactId>maven-assembly-plugin</artifactId>
  62. <configuration>
  63. <archive>
  64. <manifest>
  65. <mainClass>hello.HelloWebServer</mainClass>
  66. </manifest>
  67. </archive>
  68. <descriptorRefs>
  69. <descriptorRef>jar-with-dependencies</descriptorRef>
  70. </descriptorRefs>
  71. </configuration>
  72. <executions>
  73. <execution>
  74. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  75. <phase>package</phase> <!-- bind to the packaging phase -->
  76. <goals>
  77. <goal>single</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </project>