pom.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.example</groupId>
  7. <artifactId>servlet05</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>servlet05</name>
  10. <packaging>war</packaging>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <junit.version>5.9.2</junit.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>javax.servlet</groupId>
  20. <artifactId>javax.servlet-api</artifactId>
  21. <version>4.0.1</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.junit.jupiter</groupId>
  26. <artifactId>junit-jupiter-api</artifactId>
  27. <version>${junit.version}</version>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.junit.jupiter</groupId>
  32. <artifactId>junit-jupiter-engine</artifactId>
  33. <version>${junit.version}</version>
  34. <scope>test</scope>
  35. </dependency> </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-war-plugin</artifactId>
  41. <version>3.3.2</version>
  42. </plugin> </plugins>
  43. </build>
  44. </project>