Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: ture ture
Added: Apr 8, 2018 9:40 PM
Views: 15
Tags: no tags
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
  4.  
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>net.luigibrandolini</groupId>
  8.  
  9. <artifactId>SpringMVCAnnotations</artifactId>
  10.  
  11. <version>0.1</version>
  12.  
  13. <packaging>war</packaging>
  14.  
  15. <name>SpringMVCAnnotations</name>
  16.  
  17.  
  18. -<properties>
  19.  
  20. <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  21.  
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23.  
  24. <spring.version>4.3.14.RELEASE</spring.version>
  25.  
  26. <maven.compiler.source>1.8</maven.compiler.source>
  27.  
  28. <maven.compiler.target>1.8</maven.compiler.target>
  29.  
  30. </properties>
  31.  
  32.  
  33. -<dependencies>
  34.  
  35.  
  36. -<dependency>
  37.  
  38. <groupId>jstl</groupId>
  39.  
  40. <artifactId>jstl</artifactId>
  41.  
  42. <version>1.2</version>
  43.  
  44. </dependency>
  45.  
  46.  
  47. -<dependency>
  48.  
  49. <groupId>javax</groupId>
  50.  
  51. <artifactId>javaee-web-api</artifactId>
  52.  
  53. <version>7.0</version>
  54.  
  55. <scope>provided</scope>
  56.  
  57. </dependency>
  58.  
  59.  
  60. -<dependency>
  61.  
  62. <groupId>org.springframework</groupId>
  63.  
  64. <artifactId>spring-context</artifactId>
  65.  
  66. <version>${spring.version}</version>
  67.  
  68. </dependency>
  69.  
  70.  
  71. -<dependency>
  72.  
  73. <groupId>org.springframework</groupId>
  74.  
  75. <artifactId>spring-web</artifactId>
  76.  
  77. <version>${spring.version}</version>
  78.  
  79. </dependency>
  80.  
  81.  
  82. -<dependency>
  83.  
  84. <groupId>org.springframework</groupId>
  85.  
  86. <artifactId>spring-webmvc</artifactId>
  87.  
  88. <version>${spring.version}</version>
  89.  
  90. </dependency>
  91.  
  92. <!-- Spring validation JSR-303 -->
  93.  
  94.  
  95.  
  96. -<dependency>
  97.  
  98. <groupId>javax.validation</groupId>
  99.  
  100. <artifactId>validation-api</artifactId>
  101.  
  102. <version>2.0.0.Final</version>
  103.  
  104. </dependency>
  105.  
  106.  
  107. -<dependency>
  108.  
  109. <groupId>org.hibernate</groupId>
  110.  
  111. <artifactId>hibernate-validator</artifactId>
  112.  
  113. <version>5.2.4.Final</version>
  114.  
  115. </dependency>
  116.  
  117.  
  118. -<dependency>
  119.  
  120. <groupId>com.fasterxml.jackson.core</groupId>
  121.  
  122. <artifactId>jackson-databind</artifactId>
  123.  
  124. <version>2.8.1</version>
  125.  
  126. </dependency>
  127.  
  128. <!-- Testing -->
  129.  
  130.  
  131.  
  132. -<dependency>
  133.  
  134. <groupId>javax.servlet</groupId>
  135.  
  136. <artifactId>javax.servlet-api</artifactId>
  137.  
  138. <version>3.1.0</version>
  139.  
  140. <scope>test</scope>
  141.  
  142. </dependency>
  143.  
  144.  
  145. -<dependency>
  146.  
  147. <groupId>org.springframework</groupId>
  148.  
  149. <artifactId>spring-test</artifactId>
  150.  
  151. <version>${spring.version}</version>
  152.  
  153. <scope>test</scope>
  154.  
  155. </dependency>
  156.  
  157.  
  158. -<dependency>
  159.  
  160. <groupId>org.mockito</groupId>
  161.  
  162. <artifactId>mockito-all</artifactId>
  163.  
  164. <version>1.10.19</version>
  165.  
  166. <scope>test</scope>
  167.  
  168. </dependency>
  169.  
  170.  
  171. -<dependency>
  172.  
  173. <groupId>junit</groupId>
  174.  
  175. <artifactId>junit</artifactId>
  176.  
  177. <version>4.12</version>
  178.  
  179. <scope>test</scope>
  180.  
  181. </dependency>
  182.  
  183. </dependencies>
  184.  
  185. <!-- Dobbiamo impostare nel pom.xml che non deve preoccuparsi se manca l'xml <failOnMissingWebXml>false</failOnMissingWebXml> -->
  186.  
  187.  
  188.  
  189. -<build>
  190.  
  191.  
  192. -<plugins>
  193.  
  194.  
  195. -<plugin>
  196.  
  197. <groupId>org.apache.maven.plugins</groupId>
  198.  
  199. <artifactId>maven-war-plugin</artifactId>
  200.  
  201. <version>2.3</version>
  202.  
  203.  
  204. -<configuration>
  205.  
  206. <failOnMissingWebXml>false</failOnMissingWebXml>
  207.  
  208. </configuration>
  209.  
  210. </plugin>
  211.  
  212. </plugins>
  213.  
  214. </build>
  215.  
  216. </project>