Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.springapp</groupId>
- <artifactId>srpingMvc</artifactId>
- <packaging>war</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>srpingMvc</name>
- <properties>
- <!-- Generic properties -->
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.build.outputEncoding>UTF-8</project.build.outputEncoding>
- <java-version>1.7</java-version>
- <!-- Version of the libray we used on the project-->
- <!-- SPring framework + Roo + Security + Integration-->
- <io.spring.platform-version>1.1.2.RELEASE</io.spring.platform-version>
- <org.springframework.version>4.1.6.RELEASE</org.springframework.version>
- <org.springframework.integration-version>4.1.3.RELEASE</org.springframework.integration-version>
- <org.springframework.security-version>4.0.1.RELEASE</org.springframework.security-version>
- <org.springframework.data.jpa.version>1.8.0.RELEASE</org.springframework.data.jpa.version>
- <!-- Persistence: Hibernate/JPA/POOLING -->
- <hibernate.version>4.3.8.Final</hibernate.version>
- <HikariCP-java6.version>2.3.7</HikariCP-java6.version>
- <!-- Bean validation -->
- <hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
- <!-- AOP -->
- <org.aspectj.version>1.8.5</org.aspectj.version>
- <!-- Database access -->
- <tomcat-jdbc.version>7.0.42</tomcat-jdbc.version>
- <ehcache.version>2.6.10</ehcache.version>
- <hsqldb.version>2.3.2</hsqldb.version>
- <mysql.version>5.1.6</mysql.version>
- <h2.version>1.4.187</h2.version>
- <!-- Java EE / Java SE dependencies -->
- <jsp.version>2.2</jsp.version>
- <jstl.version>1.2</jstl.version>
- <jstl-impl.version>1.2</jstl-impl.version>
- <tomcat.servlet.version>7.0.30</tomcat.servlet.version>
- <jaxb-impl.version>2.2.7</jaxb-impl.version>
- <javax-servlet-api.version>3.1.0</javax-servlet-api.version>
- <javax-servlet-jsp-api.version>2.3.1</javax-servlet-jsp-api.version>
- <!-- JSon-->
- <json-path.version>2.0.0</json-path.version>
- <!-- Logging -->
- <logback.version>1.1.3</logback.version>
- <org.slf4j.version>1.7.12</org.slf4j.version>
- <junit.version>4.11</junit.version>
- <!-- Test -->
- <junit.version>4.12</junit.version>
- <!-- AssertJ is not a part of Spring IO platform, so the version must be provided explicitly -->
- <assertj-core.version>3.0.0</assertj-core.version>
- <!-- Dates -->
- <joda-time-hibernate.version>1.3</joda-time-hibernate.version>
- <joda-time-jsptags.version>1.1.1</joda-time-jsptags.version>
- <joda-time.version>2.7</joda-time.version>
- <jadira-usertype-core.version>3.2.0.GA</jadira-usertype-core.version>
- <!-- support -->
- <gate.version>8.0</gate.version>
- <cobertura.version>2.7</cobertura.version>
- <!-- Support the site template -->
- <webjars-bootstrap.version>2.2.2</webjars-bootstrap.version>
- <jquery.version>1.9.0</jquery.version>
- <sitemesh.version>3.0.0</sitemesh.version>
- <tiles.version>3.0.5</tiles.version>
- <!-- Web dependencies -->
- <webjars-bootstrap.version>2.3.0</webjars-bootstrap.version>
- <webjars-jquery-ui.version>1.10.3</webjars-jquery-ui.version>
- <webjars-jquery.version>2.0.3-1</webjars-jquery.version>
- <dandelion.version>0.10.1</dandelion.version>
- <!--<tomcat.version>7.0.50</tomcat.version>-->
- <!-- Version of the Maven properties -->
- <maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
- <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
- <maven-source-plugin.version>2.3</maven-source-plugin.version>
- <maven-javadoc-plugin.version>2.3</maven-javadoc-plugin.version>
- <maven-war-plugin.version>2.6</maven-war-plugin.version>
- <maven-exec-plugin.version>1.1.1</maven-exec-plugin.version>
- <maven-tomcat7-plugin.version>2.2</maven-tomcat7-plugin.version>
- <maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-framework-bom</artifactId>
- <version>${org.springframework.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>io.spring.platform</groupId>
- <artifactId>platform-bom</artifactId>
- <version>${io.spring.platform-version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.4.01</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <!-- SPRING Data -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-jpa</artifactId>
- <version>${org.springframework.data.jpa.version}</version>
- <!--<exclusions>-->
- <!--<exclusion>-->
- <!--<groupId>org.springframework</groupId>-->
- <!--<artifactId>*</artifactId>-->
- <!--</exclusion>-->
- <!--<!– because Spring Data usually comes with a slightly older version of Spring –>-->
- <!--</exclusions>-->
- </dependency>
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-mongodb</artifactId>
- </dependency>
- <!-- SPRING OTHER-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- </dependency>
- <!-- SPRING BASIC MVC -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- </dependency>
- <!-- SPRING used for EhCacheCacheManager -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-orm</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-oxm</artifactId>
- <exclusions>
- <exclusion>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Spring Integration -->
- <dependency>
- <groupId>org.springframework.integration</groupId>
- <artifactId>spring-integration-core</artifactId>
- <version>${org.springframework.integration-version}</version>
- <exclusions>
- <!-- Exclude Commons Logging in favor of SLF4j -->
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.integration</groupId>
- <artifactId>spring-integration-mail</artifactId>
- <version>${org.springframework.integration-version}</version>
- <exclusions>
- <!-- Exclude Commons Logging in favor of SLF4j -->
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Spring Security -->
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-config</artifactId>
- <version>${org.springframework.security-version}</version>
- <exclusions>
- <!-- Exclude Commons Logging in favor of SLF4j -->
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-web</artifactId>
- <version>${org.springframework.security-version}</version>
- <exclusions>
- <!-- Exclude Commons Logging in favor of SLF4j -->
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-openid</artifactId>
- <version>${org.springframework.security-version}</version>
- <exclusions>
- <!-- Exclude Commons Logging in favor of SLF4j -->
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjrt</artifactId>
- <version>${org.aspectj.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>${org.aspectj.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!-- Database connection pool
- See here for more details on commons-dbcp versus tomcat-jdbc:
- http://blog.ippon.fr/2013/03/13/improving-the-performance-of-the-spring-petclinic-sample-application-part-3-of-5/
- -->
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-jdbc</artifactId>
- <version>${tomcat-jdbc.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!-- HIBERNATE -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-entitymanager</artifactId>
- <version>${hibernate.version}</version>
- <!-- Avoid issue #72 Could not initialize class org.thymeleaf.templateresolver.ServletContextTemplateResolver due to 'validation is not supported' -->
- <exclusions>
- <exclusion>
- <artifactId>pull-parser</artifactId>
- <groupId>pull-parser</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- <version>${hibernate-validator.version}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- <version>${hibernate.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache-core</artifactId>
- <version>${ehcache.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Databases - Uses HSQL by default -->
- <!--<dependency>-->
- <!--<groupId>org.hsqldb</groupId>-->
- <!--<artifactId>hsqldb</artifactId>-->
- <!--<version>${hsqldb.version}</version>-->
- <!--<scope>runtime</scope>-->
- <!--</dependency>-->
- <!-- H2 Database -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>${h2.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!-- MySQLDatabase -->
- <!--<dependency>-->
- <!--<groupId>mysql</groupId>-->
- <!--<artifactId>mysql-connector-java</artifactId>-->
- <!--<version>${mysql.version}</version>-->
- <!--</dependency>-->
- <!-- HikarCP for java 6,7-->
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP-java6</artifactId>
- <version>${HikariCP-java6.version}</version>
- <scope>compile</scope>
- </dependency>
- <!-- Avoid: javax.validation.ValidationException: HV000183: Unable to load 'javax.el.ExpressionFactory' -->
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>javax.el-api</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- Logging -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${org.slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.16</version>
- <scope>runtime</scope>
- </dependency>
- <!-- JSON -->
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </dependency>
- <dependency>
- <groupId>com.jayway.jsonpath</groupId>
- <artifactId>json-path</artifactId>
- <version>${json-path.version}</version>
- <scope>test</scope>
- </dependency>
- <!-- Utilities -->
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>stringtemplate</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.web</groupId>
- <artifactId>jstl-impl</artifactId>
- <version>${jstl-impl.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>${jaxb-impl.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- View -->
- <dependency>
- <groupId>org.thymeleaf</groupId>
- <artifactId>thymeleaf-spring4</artifactId>
- <!-- Avoid org.hibernate.jpa.boot.archive.spi.ArchiveException: Could not build ClassFile in Java 8 -->
- <exclusions>
- <exclusion>
- <artifactId>javassist</artifactId>
- <groupId>org.javassist</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.thymeleaf.extras</groupId>
- <artifactId>thymeleaf-extras-springsecurity3</artifactId>
- </dependency>
- <!-- JAVAX - @Inject -->
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </dependency>
- <!-- JAVAX - JavaMail -->
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>1.4.1</version>
- </dependency>
- <!-- JAVAX - Servlet & JSTL -->
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-servlet-api</artifactId>
- <version>${tomcat.servlet.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <version>${jstl.version}</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Display template & layout -->
- <!-- SITEMESH -->
- <dependency>
- <groupId>org.sitemesh</groupId>
- <artifactId>sitemesh</artifactId>
- <version>${sitemesh.version}</version>
- </dependency>
- <!-- TILES -->
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-core</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-jsp</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <!-- Joda/Jadira Time -->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>${joda-time.version}</version>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time-jsptags</artifactId>
- <version>${joda-time-jsptags.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time-hibernate</artifactId>
- <version>${joda-time-hibernate.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jadira.usertype</groupId>
- <artifactId>usertype.core</artifactId>
- <version>${jadira-usertype-core.version}</version>
- </dependency>
- <!-- Webjars (static dependencies distributed as JAR files) -->
- <dependency>
- <groupId>org.webjars</groupId>
- <artifactId>bootstrap</artifactId>
- <version>${webjars-bootstrap.version}</version>
- </dependency>
- <dependency>
- <groupId>org.webjars</groupId>
- <artifactId>jquery-ui</artifactId>
- <version>${webjars-jquery-ui.version}</version>
- </dependency>
- <dependency>
- <groupId>org.webjars</groupId>
- <artifactId>jquery</artifactId>
- <version>${webjars-jquery.version}</version>
- </dependency>
- <!-- Dandelion -->
- <dependency>
- <groupId>com.github.dandelion</groupId>
- <artifactId>datatables-jsp</artifactId>
- <version>${dandelion.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.dandelion</groupId>
- <artifactId>datatables-export-itext</artifactId>
- <version>${dandelion.version}</version>
- </dependency>
- <!-- Test -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj-core.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.objenesis</groupId>
- <artifactId>objenesis</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${org.springframework.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>4.1.6.RELEASE</version>
- </dependency>
- </dependencies>
- <build>
- <sourceDirectory>src</sourceDirectory>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <source>${java-version}</source>
- <target>${java-version}</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven-war-plugin.version}</version>
- <configuration>
- <warSourceDirectory>src/main/webapp</warSourceDirectory>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement