pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.92.Final</netty.version>
  12. <io_uring.version>0.0.21.Final</io_uring.version>
  13. </properties>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>io.netty</groupId>
  18. <artifactId>netty-codec-http</artifactId>
  19. <version>${netty.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>io.netty</groupId>
  23. <artifactId>netty-transport-native-epoll</artifactId>
  24. <version>${netty.version}</version>
  25. <classifier>linux-x86_64</classifier>
  26. </dependency>
  27. <dependency>
  28. <groupId>io.netty</groupId>
  29. <artifactId>netty-transport-native-kqueue</artifactId>
  30. <version>${netty.version}</version>
  31. <classifier>osx-x86_64</classifier>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.netty.incubator</groupId>
  35. <artifactId>netty-incubator-transport-native-io_uring</artifactId>
  36. <version>${io_uring.version}</version>
  37. <classifier>linux-x86_64</classifier>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.jsoniter</groupId>
  41. <artifactId>jsoniter</artifactId>
  42. <version>0.9.23</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.javassist</groupId>
  46. <artifactId>javassist</artifactId>
  47. <version>3.28.0-GA</version>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <inherited>true</inherited>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-compiler-plugin</artifactId>
  56. <version>3.8.0</version>
  57. <configuration>
  58. <debug>false</debug>
  59. </configuration>
  60. </plugin>
  61. <plugin>
  62. <artifactId>maven-assembly-plugin</artifactId>
  63. <configuration>
  64. <archive>
  65. <manifest>
  66. <mainClass>hello.HelloWebServer</mainClass>
  67. </manifest>
  68. </archive>
  69. <descriptorRefs>
  70. <descriptorRef>jar-with-dependencies</descriptorRef>
  71. </descriptorRefs>
  72. </configuration>
  73. <executions>
  74. <execution>
  75. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  76. <phase>package</phase> <!-- bind to the packaging phase -->
  77. <goals>
  78. <goal>single</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </project>