Advertisement
4535992

pom.xml

May 20th, 2015
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 23.36 KB | None | 0 0
  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>com.springapp</groupId>
  5.     <artifactId>srpingMvc</artifactId>
  6.     <packaging>war</packaging>
  7.     <version>1.0-SNAPSHOT</version>
  8.     <name>srpingMvc</name>
  9.  
  10.     <properties>
  11.         <!-- Generic properties -->
  12.         <downloadSources>true</downloadSources>
  13.         <downloadJavadocs>true</downloadJavadocs>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.         <project.build.outputEncoding>UTF-8</project.build.outputEncoding>
  16.         <java-version>1.7</java-version>
  17.         <!-- Version of the libray we used on the project-->
  18.         <!-- SPring framework + Roo + Security + Integration-->
  19.         <io.spring.platform-version>1.1.2.RELEASE</io.spring.platform-version>
  20.         <org.springframework.version>4.1.6.RELEASE</org.springframework.version>
  21.         <org.springframework.integration-version>4.1.3.RELEASE</org.springframework.integration-version>
  22.         <org.springframework.security-version>4.0.1.RELEASE</org.springframework.security-version>
  23.         <org.springframework.data.jpa.version>1.8.0.RELEASE</org.springframework.data.jpa.version>
  24.         <!-- Persistence: Hibernate/JPA/POOLING -->
  25.         <hibernate.version>4.3.8.Final</hibernate.version>
  26.         <HikariCP-java6.version>2.3.7</HikariCP-java6.version>
  27.         <!-- Bean validation -->
  28.         <hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
  29.         <!-- AOP -->
  30.         <org.aspectj.version>1.8.5</org.aspectj.version>
  31.         <!-- Database access -->
  32.         <tomcat-jdbc.version>7.0.42</tomcat-jdbc.version>
  33.         <ehcache.version>2.6.10</ehcache.version>
  34.         <hsqldb.version>2.3.2</hsqldb.version>
  35.         <mysql.version>5.1.6</mysql.version>
  36.         <h2.version>1.4.187</h2.version>
  37.         <!-- Java EE / Java SE dependencies -->
  38.         <jsp.version>2.2</jsp.version>
  39.         <jstl.version>1.2</jstl.version>
  40.         <jstl-impl.version>1.2</jstl-impl.version>
  41.         <tomcat.servlet.version>7.0.30</tomcat.servlet.version>
  42.         <jaxb-impl.version>2.2.7</jaxb-impl.version>
  43.         <javax-servlet-api.version>3.1.0</javax-servlet-api.version>
  44.         <javax-servlet-jsp-api.version>2.3.1</javax-servlet-jsp-api.version>
  45.         <!-- JSon-->
  46.         <json-path.version>2.0.0</json-path.version>
  47.         <!-- Logging -->
  48.         <logback.version>1.1.3</logback.version>
  49.         <org.slf4j.version>1.7.12</org.slf4j.version>
  50.         <junit.version>4.11</junit.version>
  51.         <!-- Test -->
  52.         <junit.version>4.12</junit.version>
  53.         <!-- AssertJ is not a part of Spring IO platform, so the version must be provided explicitly -->
  54.         <assertj-core.version>3.0.0</assertj-core.version>
  55.         <!-- Dates -->
  56.         <joda-time-hibernate.version>1.3</joda-time-hibernate.version>
  57.         <joda-time-jsptags.version>1.1.1</joda-time-jsptags.version>
  58.         <joda-time.version>2.7</joda-time.version>
  59.         <jadira-usertype-core.version>3.2.0.GA</jadira-usertype-core.version>
  60.         <!-- support -->
  61.         <gate.version>8.0</gate.version>
  62.         <cobertura.version>2.7</cobertura.version>
  63.         <!-- Support the site template -->
  64.         <webjars-bootstrap.version>2.2.2</webjars-bootstrap.version>
  65.         <jquery.version>1.9.0</jquery.version>
  66.         <sitemesh.version>3.0.0</sitemesh.version>
  67.         <tiles.version>3.0.5</tiles.version>
  68.         <!-- Web dependencies -->
  69.         <webjars-bootstrap.version>2.3.0</webjars-bootstrap.version>
  70.         <webjars-jquery-ui.version>1.10.3</webjars-jquery-ui.version>
  71.         <webjars-jquery.version>2.0.3-1</webjars-jquery.version>
  72.         <dandelion.version>0.10.1</dandelion.version>
  73.         <!--<tomcat.version>7.0.50</tomcat.version>-->
  74.         <!-- Version of the Maven properties -->
  75.         <maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
  76.         <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
  77.         <maven-source-plugin.version>2.3</maven-source-plugin.version>
  78.         <maven-javadoc-plugin.version>2.3</maven-javadoc-plugin.version>
  79.         <maven-war-plugin.version>2.6</maven-war-plugin.version>
  80.         <maven-exec-plugin.version>1.1.1</maven-exec-plugin.version>
  81.         <maven-tomcat7-plugin.version>2.2</maven-tomcat7-plugin.version>
  82.         <maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
  83.     </properties>
  84.  
  85.     <dependencyManagement>
  86.         <dependencies>
  87.             <dependency>
  88.                 <groupId>org.springframework</groupId>
  89.                 <artifactId>spring-framework-bom</artifactId>
  90.                 <version>${org.springframework.version}</version>
  91.                 <type>pom</type>
  92.                 <scope>import</scope>
  93.             </dependency>
  94.             <dependency>
  95.                 <groupId>io.spring.platform</groupId>
  96.                 <artifactId>platform-bom</artifactId>
  97.                 <version>${io.spring.platform-version}</version>
  98.                 <type>pom</type>
  99.                 <scope>import</scope>
  100.             </dependency>
  101.             <dependency>
  102.                 <groupId>xml-apis</groupId>
  103.                 <artifactId>xml-apis</artifactId>
  104.                 <version>1.4.01</version>
  105.                 <scope>runtime</scope>
  106.             </dependency>
  107.         </dependencies>
  108.     </dependencyManagement>
  109.  
  110.     <dependencies>
  111.         <!-- SPRING Data -->
  112.         <dependency>
  113.             <groupId>org.springframework</groupId>
  114.             <artifactId>spring-core</artifactId>
  115.         </dependency>
  116.         <dependency>
  117.             <groupId>org.springframework</groupId>
  118.             <artifactId>spring-beans</artifactId>
  119.         </dependency>
  120.         <dependency>
  121.             <groupId>org.springframework.data</groupId>
  122.             <artifactId>spring-data-jpa</artifactId>
  123.             <version>${org.springframework.data.jpa.version}</version>
  124.             <!--<exclusions>-->
  125.                 <!--<exclusion>-->
  126.                     <!--<groupId>org.springframework</groupId>-->
  127.                     <!--<artifactId>*</artifactId>-->
  128.                 <!--</exclusion>-->
  129.                 <!--&lt;!&ndash;  because Spring Data usually comes with a slightly older version of Spring &ndash;&gt;-->
  130.             <!--</exclusions>-->
  131.         </dependency>
  132.         <dependency>
  133.             <groupId>org.springframework.data</groupId>
  134.             <artifactId>spring-data-mongodb</artifactId>
  135.         </dependency>
  136.         <!-- SPRING OTHER-->
  137.         <dependency>
  138.             <groupId>org.springframework</groupId>
  139.             <artifactId>spring-context</artifactId>
  140.         </dependency>
  141.         <dependency>
  142.             <groupId>org.springframework</groupId>
  143.             <artifactId>spring-web</artifactId>
  144.         </dependency>
  145.         <!-- SPRING BASIC MVC -->
  146.         <dependency>
  147.             <groupId>org.springframework</groupId>
  148.             <artifactId>spring-jdbc</artifactId>
  149.         </dependency>
  150.         <dependency>
  151.             <groupId>org.springframework</groupId>
  152.             <artifactId>spring-aop</artifactId>
  153.         </dependency>
  154.         <dependency>
  155.             <groupId>org.springframework</groupId>
  156.             <artifactId>spring-webmvc</artifactId>
  157.         </dependency>
  158.         <dependency>
  159.             <groupId>org.springframework</groupId>
  160.             <artifactId>spring-tx</artifactId>
  161.         </dependency>
  162.         <!-- SPRING used for EhCacheCacheManager -->
  163.         <dependency>
  164.             <groupId>org.springframework</groupId>
  165.             <artifactId>spring-context-support</artifactId>
  166.         </dependency>
  167.         <dependency>
  168.             <groupId>org.springframework</groupId>
  169.             <artifactId>spring-orm</artifactId>
  170.         </dependency>
  171.         <dependency>
  172.             <groupId>org.springframework</groupId>
  173.             <artifactId>spring-oxm</artifactId>
  174.             <exclusions>
  175.                 <exclusion>
  176.                     <groupId>commons-lang</groupId>
  177.                     <artifactId>commons-lang</artifactId>
  178.                 </exclusion>
  179.             </exclusions>
  180.         </dependency>
  181.         <!-- Spring Integration -->
  182.         <dependency>
  183.             <groupId>org.springframework.integration</groupId>
  184.             <artifactId>spring-integration-core</artifactId>
  185.             <version>${org.springframework.integration-version}</version>
  186.             <exclusions>
  187.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  188.                 <exclusion>
  189.                     <groupId>commons-logging</groupId>
  190.                     <artifactId>commons-logging</artifactId>
  191.                 </exclusion>
  192.             </exclusions>
  193.         </dependency>
  194.         <dependency>
  195.             <groupId>org.springframework.integration</groupId>
  196.             <artifactId>spring-integration-mail</artifactId>
  197.             <version>${org.springframework.integration-version}</version>
  198.             <exclusions>
  199.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  200.                 <exclusion>
  201.                     <groupId>commons-logging</groupId>
  202.                     <artifactId>commons-logging</artifactId>
  203.                 </exclusion>
  204.             </exclusions>
  205.         </dependency>
  206.         <!-- Spring Security -->
  207.         <dependency>
  208.             <groupId>org.springframework.security</groupId>
  209.             <artifactId>spring-security-config</artifactId>
  210.             <version>${org.springframework.security-version}</version>
  211.             <exclusions>
  212.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  213.                 <exclusion>
  214.                     <groupId>commons-logging</groupId>
  215.                     <artifactId>commons-logging</artifactId>
  216.                 </exclusion>
  217.             </exclusions>
  218.         </dependency>
  219.         <dependency>
  220.             <groupId>org.springframework.security</groupId>
  221.             <artifactId>spring-security-web</artifactId>
  222.             <version>${org.springframework.security-version}</version>
  223.             <exclusions>
  224.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  225.                 <exclusion>
  226.                     <groupId>commons-logging</groupId>
  227.                     <artifactId>commons-logging</artifactId>
  228.                 </exclusion>
  229.             </exclusions>
  230.         </dependency>
  231.         <dependency>
  232.             <groupId>org.springframework.security</groupId>
  233.             <artifactId>spring-security-openid</artifactId>
  234.             <version>${org.springframework.security-version}</version>
  235.             <exclusions>
  236.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  237.                 <exclusion>
  238.                     <groupId>commons-logging</groupId>
  239.                     <artifactId>commons-logging</artifactId>
  240.                 </exclusion>
  241.             </exclusions>
  242.         </dependency>
  243.         <dependency>
  244.             <groupId>org.aspectj</groupId>
  245.             <artifactId>aspectjrt</artifactId>
  246.             <version>${org.aspectj.version}</version>
  247.         </dependency>
  248.         <dependency>
  249.             <groupId>org.aspectj</groupId>
  250.             <artifactId>aspectjweaver</artifactId>
  251.             <version>${org.aspectj.version}</version>
  252.             <scope>runtime</scope>
  253.         </dependency>
  254.         <!-- Database connection pool
  255.         See here for more details on commons-dbcp versus tomcat-jdbc:
  256.         http://blog.ippon.fr/2013/03/13/improving-the-performance-of-the-spring-petclinic-sample-application-part-3-of-5/
  257.        -->
  258.         <dependency>
  259.             <groupId>org.apache.tomcat</groupId>
  260.             <artifactId>tomcat-jdbc</artifactId>
  261.             <version>${tomcat-jdbc.version}</version>
  262.             <scope>runtime</scope>
  263.         </dependency>
  264.         <!-- HIBERNATE -->
  265.         <dependency>
  266.             <groupId>org.hibernate</groupId>
  267.             <artifactId>hibernate-entitymanager</artifactId>
  268.             <version>${hibernate.version}</version>
  269.             <!-- Avoid issue #72 Could not initialize class org.thymeleaf.templateresolver.ServletContextTemplateResolver due to 'validation is not supported' -->
  270.             <exclusions>
  271.                 <exclusion>
  272.                     <artifactId>pull-parser</artifactId>
  273.                     <groupId>pull-parser</groupId>
  274.                 </exclusion>
  275.             </exclusions>
  276.         </dependency>
  277.         <dependency>
  278.             <groupId>org.hibernate</groupId>
  279.             <artifactId>hibernate-validator</artifactId>
  280.             <version>${hibernate-validator.version}</version>
  281.         </dependency>
  282.         <dependency>
  283.             <groupId>org.hibernate</groupId>
  284.             <artifactId>hibernate-ehcache</artifactId>
  285.             <version>${hibernate.version}</version>
  286.         </dependency>
  287.         <dependency>
  288.             <groupId>net.sf.ehcache</groupId>
  289.             <artifactId>ehcache-core</artifactId>
  290.             <version>${ehcache.version}</version>
  291.             <exclusions>
  292.                 <exclusion>
  293.                     <groupId>commons-logging</groupId>
  294.                     <artifactId>commons-logging</artifactId>
  295.                 </exclusion>
  296.             </exclusions>
  297.         </dependency>
  298.         <!-- Databases - Uses HSQL by default -->
  299.         <!--<dependency>-->
  300.             <!--<groupId>org.hsqldb</groupId>-->
  301.             <!--<artifactId>hsqldb</artifactId>-->
  302.             <!--<version>${hsqldb.version}</version>-->
  303.             <!--<scope>runtime</scope>-->
  304.         <!--</dependency>-->
  305.         <!-- H2 Database -->
  306.         <dependency>
  307.             <groupId>com.h2database</groupId>
  308.             <artifactId>h2</artifactId>
  309.             <version>${h2.version}</version>
  310.             <scope>runtime</scope>
  311.         </dependency>
  312.         <!-- MySQLDatabase -->
  313.         <!--<dependency>-->
  314.             <!--<groupId>mysql</groupId>-->
  315.             <!--<artifactId>mysql-connector-java</artifactId>-->
  316.             <!--<version>${mysql.version}</version>-->
  317.         <!--</dependency>-->
  318.         <!-- HikarCP for java 6,7-->
  319.         <dependency>
  320.             <groupId>com.zaxxer</groupId>
  321.             <artifactId>HikariCP-java6</artifactId>
  322.             <version>${HikariCP-java6.version}</version>
  323.             <scope>compile</scope>
  324.         </dependency>
  325.         <!-- Avoid: javax.validation.ValidationException: HV000183: Unable to load 'javax.el.ExpressionFactory' -->
  326.         <dependency>
  327.             <groupId>javax.el</groupId>
  328.             <artifactId>javax.el-api</artifactId>
  329.             <scope>test</scope>
  330.         </dependency>
  331.         <!-- Logging -->
  332.         <dependency>
  333.             <groupId>ch.qos.logback</groupId>
  334.             <artifactId>logback-classic</artifactId>
  335.         </dependency>
  336.         <dependency>
  337.             <groupId>org.slf4j</groupId>
  338.             <artifactId>jcl-over-slf4j</artifactId>
  339.             <version>${org.slf4j.version}</version>
  340.         </dependency>
  341.         <dependency>
  342.             <groupId>log4j</groupId>
  343.             <artifactId>log4j</artifactId>
  344.             <version>1.2.16</version>
  345.             <scope>runtime</scope>
  346.         </dependency>
  347.         <!-- JSON -->
  348.         <dependency>
  349.             <groupId>com.fasterxml.jackson.core</groupId>
  350.             <artifactId>jackson-databind</artifactId>
  351.         </dependency>
  352.         <dependency>
  353.             <groupId>com.jayway.jsonpath</groupId>
  354.             <artifactId>json-path</artifactId>
  355.             <version>${json-path.version}</version>
  356.             <scope>test</scope>
  357.         </dependency>
  358.         <!-- Utilities -->
  359.         <dependency>
  360.             <groupId>com.google.guava</groupId>
  361.             <artifactId>guava</artifactId>
  362.         </dependency>
  363.         <dependency>
  364.             <groupId>org.antlr</groupId>
  365.             <artifactId>stringtemplate</artifactId>
  366.             <version>3.2.1</version>
  367.         </dependency>
  368.         <dependency>
  369.             <groupId>org.glassfish.web</groupId>
  370.             <artifactId>jstl-impl</artifactId>
  371.             <version>${jstl-impl.version}</version>
  372.             <exclusions>
  373.                 <exclusion>
  374.                     <groupId>javax.servlet</groupId>
  375.                     <artifactId>servlet-api</artifactId>
  376.                 </exclusion>
  377.             </exclusions>
  378.         </dependency>
  379.         <dependency>
  380.             <groupId>com.sun.xml.bind</groupId>
  381.             <artifactId>jaxb-impl</artifactId>
  382.             <version>${jaxb-impl.version}</version>
  383.             <scope>provided</scope>
  384.         </dependency>
  385.         <!-- View -->
  386.         <dependency>
  387.             <groupId>org.thymeleaf</groupId>
  388.             <artifactId>thymeleaf-spring4</artifactId>
  389.             <!-- Avoid org.hibernate.jpa.boot.archive.spi.ArchiveException: Could not build ClassFile in Java 8 -->
  390.             <exclusions>
  391.                 <exclusion>
  392.                     <artifactId>javassist</artifactId>
  393.                     <groupId>org.javassist</groupId>
  394.                 </exclusion>
  395.             </exclusions>
  396.         </dependency>
  397.         <dependency>
  398.             <groupId>org.thymeleaf.extras</groupId>
  399.             <artifactId>thymeleaf-extras-springsecurity3</artifactId>
  400.         </dependency>
  401.         <!-- JAVAX - @Inject -->
  402.         <dependency>
  403.             <groupId>javax.inject</groupId>
  404.             <artifactId>javax.inject</artifactId>
  405.         </dependency>
  406.         <!-- JAVAX - JavaMail -->
  407.         <dependency>
  408.             <groupId>javax.mail</groupId>
  409.             <artifactId>mail</artifactId>
  410.             <version>1.4.1</version>
  411.         </dependency>
  412.         <!-- JAVAX - Servlet & JSTL -->
  413.         <dependency>
  414.             <groupId>org.apache.tomcat</groupId>
  415.             <artifactId>tomcat-servlet-api</artifactId>
  416.             <version>${tomcat.servlet.version}</version>
  417.             <scope>provided</scope>
  418.         </dependency>
  419.         <dependency>
  420.             <groupId>javax.servlet.jsp</groupId>
  421.             <artifactId>jsp-api</artifactId>
  422.             <version>2.1</version>
  423.             <scope>provided</scope>
  424.         </dependency>
  425.         <dependency>
  426.             <groupId>javax.servlet</groupId>
  427.             <artifactId>jstl</artifactId>
  428.             <version>${jstl.version}</version>
  429.         </dependency>
  430.         <dependency>
  431.             <groupId>javax.servlet</groupId>
  432.             <artifactId>javax.servlet-api</artifactId>
  433.             <scope>provided</scope>
  434.         </dependency>
  435.         <!-- Display template & layout -->
  436.         <!-- SITEMESH -->
  437.         <dependency>
  438.             <groupId>org.sitemesh</groupId>
  439.             <artifactId>sitemesh</artifactId>
  440.             <version>${sitemesh.version}</version>
  441.         </dependency>
  442.         <!-- TILES -->
  443.         <dependency>
  444.             <groupId>org.apache.tiles</groupId>
  445.             <artifactId>tiles-core</artifactId>
  446.             <version>${tiles.version}</version>
  447.         </dependency>
  448.         <dependency>
  449.             <groupId>org.apache.tiles</groupId>
  450.             <artifactId>tiles-jsp</artifactId>
  451.             <version>${tiles.version}</version>
  452.         </dependency>
  453.         <!--  Joda/Jadira Time -->
  454.         <dependency>
  455.             <groupId>joda-time</groupId>
  456.             <artifactId>joda-time</artifactId>
  457.             <version>${joda-time.version}</version>
  458.         </dependency>
  459.         <dependency>
  460.             <groupId>joda-time</groupId>
  461.             <artifactId>joda-time-jsptags</artifactId>
  462.             <version>${joda-time-jsptags.version}</version>
  463.             <scope>runtime</scope>
  464.         </dependency>
  465.         <dependency>
  466.             <groupId>joda-time</groupId>
  467.             <artifactId>joda-time-hibernate</artifactId>
  468.             <version>${joda-time-hibernate.version}</version>
  469.         </dependency>
  470.         <dependency>
  471.             <groupId>org.jadira.usertype</groupId>
  472.             <artifactId>usertype.core</artifactId>
  473.             <version>${jadira-usertype-core.version}</version>
  474.         </dependency>
  475.         <!-- Webjars (static dependencies distributed as JAR files) -->
  476.         <dependency>
  477.             <groupId>org.webjars</groupId>
  478.             <artifactId>bootstrap</artifactId>
  479.             <version>${webjars-bootstrap.version}</version>
  480.         </dependency>
  481.         <dependency>
  482.             <groupId>org.webjars</groupId>
  483.             <artifactId>jquery-ui</artifactId>
  484.             <version>${webjars-jquery-ui.version}</version>
  485.         </dependency>
  486.         <dependency>
  487.             <groupId>org.webjars</groupId>
  488.             <artifactId>jquery</artifactId>
  489.             <version>${webjars-jquery.version}</version>
  490.         </dependency>
  491.         <!-- Dandelion -->
  492.         <dependency>
  493.             <groupId>com.github.dandelion</groupId>
  494.             <artifactId>datatables-jsp</artifactId>
  495.             <version>${dandelion.version}</version>
  496.         </dependency>
  497.         <dependency>
  498.             <groupId>com.github.dandelion</groupId>
  499.             <artifactId>datatables-export-itext</artifactId>
  500.             <version>${dandelion.version}</version>
  501.         </dependency>
  502.         <!-- Test -->
  503.         <dependency>
  504.             <groupId>junit</groupId>
  505.             <artifactId>junit</artifactId>
  506.             <version>4.11</version>
  507.             <scope>test</scope>
  508.         </dependency>
  509.         <dependency>
  510.             <groupId>org.mockito</groupId>
  511.             <artifactId>mockito-core</artifactId>
  512.             <scope>test</scope>
  513.         </dependency>
  514.         <dependency>
  515.             <groupId>org.assertj</groupId>
  516.             <artifactId>assertj-core</artifactId>
  517.             <version>${assertj-core.version}</version>
  518.             <scope>test</scope>
  519.         </dependency>
  520.         <dependency>
  521.             <groupId>org.hamcrest</groupId>
  522.             <artifactId>hamcrest-core</artifactId>
  523.             <scope>test</scope>
  524.         </dependency>
  525.         <dependency>
  526.             <groupId>org.hamcrest</groupId>
  527.             <artifactId>hamcrest-library</artifactId>
  528.             <scope>test</scope>
  529.         </dependency>
  530.         <dependency>
  531.             <groupId>org.objenesis</groupId>
  532.             <artifactId>objenesis</artifactId>
  533.             <scope>test</scope>
  534.         </dependency>
  535.         <dependency>
  536.             <groupId>org.springframework</groupId>
  537.             <artifactId>spring-test</artifactId>
  538.             <version>${org.springframework.version}</version>
  539.             <scope>test</scope>
  540.         </dependency>
  541.         <dependency>
  542.             <groupId>org.springframework</groupId>
  543.             <artifactId>spring-test</artifactId>
  544.             <version>4.1.6.RELEASE</version>
  545.         </dependency>
  546.     </dependencies>
  547.     <build>
  548.         <sourceDirectory>src</sourceDirectory>
  549.         <plugins>
  550.             <plugin>
  551.                 <artifactId>maven-compiler-plugin</artifactId>
  552.                 <version>${maven-compiler-plugin.version}</version>
  553.                 <configuration>
  554.                     <source>${java-version}</source>
  555.                     <target>${java-version}</target>
  556.                 </configuration>
  557.             </plugin>
  558.             <plugin>
  559.                 <artifactId>maven-war-plugin</artifactId>
  560.                 <version>${maven-war-plugin.version}</version>
  561.                 <configuration>
  562.                     <warSourceDirectory>src/main/webapp</warSourceDirectory>
  563.                     <failOnMissingWebXml>false</failOnMissingWebXml>
  564.                 </configuration>
  565.             </plugin>
  566.         </plugins>
  567.     </build>
  568. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement