You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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>cc.javastudio</groupId>
  5. <artifactId>simple-servlet-webapp</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <maven.compiler.source>11</maven.compiler.source>
  11. <maven.compiler.target>11</maven.compiler.target>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>javax.servlet</groupId>
  16. <artifactId>jstl</artifactId>
  17. <version>1.2</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework</groupId>
  21. <artifactId>spring-webmvc</artifactId>
  22. <version>5.3.6</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>javax.servlet</groupId>
  26. <artifactId>javax.servlet-api</artifactId>
  27. <version>4.0.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.junit.jupiter</groupId>
  31. <artifactId>junit-jupiter</artifactId>
  32. <version>5.7.1</version>
  33. <scope>test</scope>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <finalName>simple-servlet-webapp</finalName>
  38. <plugins>
  39. <plugin>
  40. <artifactId>maven-war-plugin</artifactId>
  41. <configuration>
  42. <attachClasses>true</attachClasses>
  43. <webResources>
  44. <resource>
  45. <directory>src/main/webapp</directory>
  46. <filtering>true</filtering>
  47. </resource>
  48. </webResources>
  49. </configuration>
  50. </plugin>
  51. </plugins>
  52. </build>
  53. </project>