Advertisement
Guest User

Untitled

a guest
Nov 21st, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>Reymet2</groupId>
  8. <artifactId>test</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. <packaging>war</packaging>
  11.  
  12. <name>test Maven Webapp</name>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15.  
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>8</maven.compiler.source>
  19. <maven.compiler.target>8</maven.compiler.target>
  20. </properties>
  21.  
  22. <dependencies>
  23. <dependency>
  24. <groupId>junit</groupId>
  25. <artifactId>junit</artifactId>
  26. <version>4.13.1</version>
  27. <scope>test</scope>
  28. </dependency><!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
  29. <dependency>
  30. <groupId>jakarta.servlet</groupId>
  31. <artifactId>jakarta.servlet-api</artifactId>
  32. <version>6.1.0</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. </dependencies>
  36.  
  37. <build>
  38. <finalName>test</finalName>
  39. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  40. <plugins>
  41. <plugin>
  42. <artifactId>maven-clean-plugin</artifactId>
  43. <version>3.4.0</version>
  44. </plugin>
  45. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  46. <plugin>
  47. <artifactId>maven-resources-plugin</artifactId>
  48. <version>3.3.1</version>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-compiler-plugin</artifactId>
  52. <version>3.13.0</version>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-surefire-plugin</artifactId>
  56. <version>3.3.0</version>
  57. </plugin>
  58. <plugin>
  59. <artifactId>maven-war-plugin</artifactId>
  60. <version>3.4.0</version>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-install-plugin</artifactId>
  64. <version>3.1.2</version>
  65. </plugin>
  66. <plugin>
  67. <artifactId>maven-deploy-plugin</artifactId>
  68. <version>3.1.2</version>
  69. </plugin>
  70. </plugins>
  71. </pluginManagement>
  72. </build>
  73. </project>
  74.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement