pom.xml 2.7 KB

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