pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.sf</groupId>
  6. <artifactId>JavaWeb27</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>JavaWeb27 Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.7</maven.compiler.source>
  15. <maven.compiler.target>1.7</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>junit</groupId>
  20. <artifactId>junit</artifactId>
  21. <version>4.11</version>
  22. <scope>test</scope>
  23. </dependency>
  24. <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
  25. <dependency>
  26. <groupId>javax</groupId>
  27. <artifactId>javaee-api</artifactId>
  28. <version>7.0</version>
  29. <scope>provided</scope>
  30. </dependency>
  31. <!--jstl标签库-->
  32. <!-- https://mvnrepository.com/artifact/javax.servlet.jsp.jstl/javax.servlet.jsp.jstl-api -->
  33. <dependency>
  34. <groupId>javax.servlet.jsp.jstl</groupId>
  35. <artifactId>javax.servlet.jsp.jstl-api</artifactId>
  36. <version>1.2.1</version>
  37. <scope>provided</scope>
  38. </dependency>
  39. <!-- standard - jstl标签库的依赖包-->
  40. <!-- https://mvnrepository.com/artifact/org.apache.taglibs/taglibs-standard-impl -->
  41. <dependency>
  42. <groupId>org.apache.taglibs</groupId>
  43. <artifactId>taglibs-standard-impl</artifactId>
  44. <version>1.2.5</version>
  45. <scope>runtime</scope>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <finalName>JavaWeb27</finalName>
  50. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  51. <plugins>
  52. <plugin>
  53. <artifactId>maven-clean-plugin</artifactId>
  54. <version>3.1.0</version>
  55. </plugin>
  56. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  57. <plugin>
  58. <artifactId>maven-resources-plugin</artifactId>
  59. <version>3.0.2</version>
  60. </plugin>
  61. <plugin>
  62. <artifactId>maven-compiler-plugin</artifactId>
  63. <version>3.8.0</version>
  64. </plugin>
  65. <plugin>
  66. <artifactId>maven-surefire-plugin</artifactId>
  67. <version>2.22.1</version>
  68. </plugin>
  69. <plugin>
  70. <artifactId>maven-war-plugin</artifactId>
  71. <version>3.2.2</version>
  72. </plugin>
  73. <plugin>
  74. <artifactId>maven-install-plugin</artifactId>
  75. <version>2.5.2</version>
  76. </plugin>
  77. <plugin>
  78. <artifactId>maven-deploy-plugin</artifactId>
  79. <version>2.8.2</version>
  80. </plugin>
  81. </plugins>
  82. </pluginManagement>
  83. </build>
  84. </project>