pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. </dependencies>
  25. <build>
  26. <finalName>JavaWeb27</finalName>
  27. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  28. <plugins>
  29. <plugin>
  30. <artifactId>maven-clean-plugin</artifactId>
  31. <version>3.1.0</version>
  32. </plugin>
  33. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  34. <plugin>
  35. <artifactId>maven-resources-plugin</artifactId>
  36. <version>3.0.2</version>
  37. </plugin>
  38. <plugin>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <version>3.8.0</version>
  41. </plugin>
  42. <plugin>
  43. <artifactId>maven-surefire-plugin</artifactId>
  44. <version>2.22.1</version>
  45. </plugin>
  46. <plugin>
  47. <artifactId>maven-war-plugin</artifactId>
  48. <version>3.2.2</version>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-install-plugin</artifactId>
  52. <version>2.5.2</version>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-deploy-plugin</artifactId>
  56. <version>2.8.2</version>
  57. </plugin>
  58. </plugins>
  59. </pluginManagement>
  60. </build>
  61. </project>