pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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>jlhttp</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. </properties>
  11. <dependencies>
  12. <dependency>
  13. <groupId>net.freeutils</groupId>
  14. <artifactId>jlhttp</artifactId>
  15. <version>2.2</version>
  16. </dependency>
  17. <dependency>
  18. <groupId>com.fasterxml.jackson.core</groupId>
  19. <artifactId>jackson-databind</artifactId>
  20. <version>2.7.4</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.fasterxml.jackson.module</groupId>
  24. <artifactId>jackson-module-afterburner</artifactId>
  25. <version>2.7.4</version>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <inherited>true</inherited>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <version>2.5.1</version>
  35. <configuration>
  36. <source>1.7</source>
  37. <target>1.7</target>
  38. <optimize>true</optimize>
  39. <debug>false</debug>
  40. </configuration>
  41. </plugin>
  42. <plugin>
  43. <artifactId>maven-assembly-plugin</artifactId>
  44. <version>2.5.4</version>
  45. <configuration>
  46. <archive>
  47. <manifest>
  48. <mainClass>hello.HelloWebServer</mainClass>
  49. </manifest>
  50. </archive>
  51. <descriptorRefs>
  52. <descriptorRef>jar-with-dependencies</descriptorRef>
  53. </descriptorRefs>
  54. </configuration>
  55. <executions>
  56. <execution>
  57. <id>make-assembly</id>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>single</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>