pom.xml 2.3 KB

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