pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <packaging>jar</packaging>
  7. <dependencies>
  8. <dependency>
  9. <groupId>io.netty</groupId>
  10. <artifactId>netty-codec-http</artifactId>
  11. <version>4.1.0.CR7</version>
  12. </dependency>
  13. <dependency>
  14. <groupId>io.netty</groupId>
  15. <artifactId>netty-transport-native-epoll</artifactId>
  16. <version>4.1.0.CR7</version>
  17. <classifier>linux-x86_64</classifier>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.fasterxml.jackson.core</groupId>
  21. <artifactId>jackson-databind</artifactId>
  22. <version>RELEASE</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.fasterxml.jackson.module</groupId>
  26. <artifactId>jackson-module-afterburner</artifactId>
  27. <version>RELEASE</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>javassist</groupId>
  31. <artifactId>javassist</artifactId>
  32. <version>RELEASE</version>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <inherited>true</inherited>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>3.5</version>
  42. <configuration>
  43. <source>1.8</source>
  44. <target>1.8</target>
  45. <optimize>true</optimize>
  46. <debug>false</debug>
  47. </configuration>
  48. </plugin>
  49. <plugin>
  50. <artifactId>maven-assembly-plugin</artifactId>
  51. <configuration>
  52. <archive>
  53. <manifest>
  54. <mainClass>hello.HelloWebServer</mainClass>
  55. </manifest>
  56. </archive>
  57. <descriptorRefs>
  58. <descriptorRef>jar-with-dependencies</descriptorRef>
  59. </descriptorRefs>
  60. </configuration>
  61. <executions>
  62. <execution>
  63. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  64. <phase>package</phase> <!-- bind to the packaging phase -->
  65. <goals>
  66. <goal>single</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>