pom.xml 3.1 KB

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