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