pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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.lc</groupId>
  7. <artifactId>servlet02</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>servlet02</name>
  10. <packaging>war</packaging>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.target>11</maven.compiler.target>
  14. <maven.compiler.source>11</maven.compiler.source>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>javax.servlet</groupId>
  19. <artifactId>javax.servlet-api</artifactId>
  20. <version>3.1.0</version>
  21. <scope>provided</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>commons-io</groupId>
  25. <artifactId>commons-io</artifactId>
  26. <version>2.6</version>
  27. </dependency>
  28. <!--jstl-->
  29. <dependency>
  30. <groupId>jstl</groupId>
  31. <artifactId>jstl</artifactId>
  32. <version>1.2</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>javax.servlet.jsp</groupId>
  36. <artifactId>jsp-api</artifactId>
  37. <version>2.2</version>
  38. <scope>provided</scope>
  39. </dependency>
  40. <!--mysql-->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. <version>5.1.47</version>
  45. </dependency>
  46. <!--mybatis-->
  47. <dependency>
  48. <groupId>org.mybatis</groupId>
  49. <artifactId>mybatis</artifactId>
  50. <version>3.5.6</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.github.penggle</groupId>
  54. <artifactId>kaptcha</artifactId>
  55. <version>2.3.2</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/uk.co.modular-it/bean-utils -->
  58. <dependency>
  59. <groupId>uk.co.modular-it</groupId>
  60. <artifactId>bean-utils</artifactId>
  61. <version>0.9.10</version>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <plugins>
  66. <!--Tomcat插件 -->
  67. <plugin>
  68. <groupId>org.apache.tomcat.maven</groupId>
  69. <artifactId>tomcat7-maven-plugin</artifactId>
  70. <version>2.2</version>
  71. <configuration>
  72. <!--项目访问路径 -->
  73. <path>/web02</path>
  74. <!--端口-->
  75. <port>8090</port>
  76. <!-- 编码 -->
  77. <uriEncoding>UTF-8</uriEncoding>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>