pom.xml 2.3 KB

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