pom.xml 2.0 KB

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