pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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>org.academiadecodigo.enuminatti</groupId>
  5. <artifactId>hello-spring-webmvc</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>hello-spring-webmvc Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <dependencies>
  11. <dependency>
  12. <groupId>junit</groupId>
  13. <artifactId>junit</artifactId>
  14. <version>3.8.1</version>
  15. <scope>test</scope>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.springframework</groupId>
  19. <artifactId>spring-webmvc</artifactId>
  20. <version>4.3.13.RELEASE</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>javax.servlet</groupId>
  24. <artifactId>javax.servlet-api</artifactId>
  25. <version>3.1.0</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>javax.servlet</groupId>
  30. <artifactId>jstl</artifactId>
  31. <version>1.2</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.hibernate</groupId>
  35. <artifactId>hibernate-validator</artifactId>
  36. <version>5.4.2.Final</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.tomcat</groupId>
  40. <artifactId>tomcat-catalina</artifactId>
  41. <version>8.5.24</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <finalName>hello-spring-webmvc</finalName>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-compiler-plugin</artifactId>
  50. <version>3.3</version>
  51. <configuration>
  52. <source>1.8</source>
  53. <target>1.8</target>
  54. </configuration>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.tomcat.maven</groupId>
  58. <artifactId>tomcat7-maven-plugin</artifactId>
  59. <version>2.2</version>
  60. <configuration>
  61. <url>http://localhost:8080/manager/text</url>
  62. <server>myserver</server>
  63. <path>/web-boot</path>
  64. </configuration>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </project>