Advertisement
jbjares

pom_web_jee7_sample

Sep 2nd, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. ==web
  2. <web-app xmlns="http://java.sun.com/xml/ns/javaee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  5. http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" version="3.1">
  6. <display-name>Archetype Created Web Application</display-name>
  7. </web-app>
  8.  
  9.  
  10. ==pom
  11. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  12. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  13. <modelVersion>4.0.0</modelVersion>
  14. <groupId>com.jbjares</groupId>
  15. <artifactId>SimpleWebProject</artifactId>
  16. <packaging>war</packaging>
  17. <version>0.0.1-SNAPSHOT</version>
  18. <name>SimpleWebProject Maven Webapp</name>
  19. <url>http://maven.apache.org</url>
  20. <dependencies>
  21. <dependency>
  22. <groupId>javax</groupId>
  23. <artifactId>javaee-api</artifactId>
  24. <version>7.0</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>junit</groupId>
  28. <artifactId>junit</artifactId>
  29. <version>3.8.1</version>
  30. <scope>test</scope>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <finalName>SimpleWebProject</finalName>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-compiler-plugin</artifactId>
  39. <version>3.1</version>
  40. <configuration>
  41. <source>1.8</source>
  42. <target>1.8</target>
  43. </configuration>
  44. </plugin>
  45. </plugins>
  46. </build>
  47. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement