pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. </properties>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.microhttp</groupId>
  16. <artifactId>microhttp</artifactId>
  17. <version>0.7</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.fasterxml.jackson.core</groupId>
  21. <artifactId>jackson-core</artifactId>
  22. <version>2.13.2</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.fasterxml.jackson.core</groupId>
  26. <artifactId>jackson-databind</artifactId>
  27. <version>2.13.2.2</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.junit.jupiter</groupId>
  31. <artifactId>junit-jupiter</artifactId>
  32. <version>5.8.2</version>
  33. <scope>test</scope>
  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>3.10.0</version>
  43. <configuration>
  44. <debug>false</debug>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-surefire-plugin</artifactId>
  50. <version>3.0.0-M5</version>
  51. </plugin>
  52. <plugin>
  53. <artifactId>maven-assembly-plugin</artifactId>
  54. <configuration>
  55. <archive>
  56. <manifest>
  57. <mainClass>hello.HelloWebServer</mainClass>
  58. </manifest>
  59. </archive>
  60. <descriptorRefs>
  61. <descriptorRef>jar-with-dependencies</descriptorRef>
  62. </descriptorRefs>
  63. </configuration>
  64. <executions>
  65. <execution>
  66. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  67. <phase>package</phase> <!-- bind to the packaging phase -->
  68. <goals>
  69. <goal>single</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>