Created
January 26, 2014 05:16
-
-
Save bava/8628755 to your computer and use it in GitHub Desktop.
Spring 4 MVC Base POM.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <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.inflinx.samples</groupId> | |
| <artifactId>springmvc-base</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <name>springmvc-base</name> | |
| <packaging>war</packaging> | |
| <properties> | |
| <java.version>1.7</java.version> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <spring.version>4.0.0.RELEASE</spring.version> | |
| <spring.data.jpa.version>1.4.3.RELEASE</spring.data.jpa.version> | |
| <aspectj.version>1.7.4</aspectj.version> | |
| <jstl.version>1.2</jstl.version> | |
| <servlet.version>3.0.1</servlet.version> | |
| <jsp.version>2.2</jsp.version> | |
| <hibernate.version>4.3.0.Final</hibernate.version> | |
| <hibernate.validator.version>5.0.2.Final</hibernate.validator.version> | |
| <hsqldb.version>2.3.1</hsqldb.version> | |
| <logback.version>1.0.13</logback.version> | |
| <slf4j.version>1.7.5</slf4j.version> | |
| <junit.version>4.11</junit.version> | |
| <mockito.version>1.9.5</mockito.version> | |
| <hamcrest.version>1.3</hamcrest.version> | |
| <commons.lang.version>2.6</commons.lang.version> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-framework-bom</artifactId> | |
| <version>${spring.version}</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <!-- Spring Dependencies Start --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-webmvc</artifactId> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-tx</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context-support</artifactId> | |
| </dependency> | |
| <!-- Spring Data Tier Dependencies --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-orm</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-jdbc</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.data</groupId> | |
| <artifactId>spring-data-jpa</artifactId> | |
| <version>${spring.data.jpa.version}</version> | |
| </dependency> | |
| <!-- Spring Dependencies End --> | |
| <!-- AspectJ Dependencies Start --> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjrt</artifactId> | |
| <version>${aspectj.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjweaver</artifactId> | |
| <version>${aspectj.version}</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <!-- AspectJ Dependencies End --> | |
| <!-- Servlet Dependencies Start --> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>javax.servlet-api</artifactId> | |
| <version>${servlet.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet.jsp</groupId> | |
| <artifactId>jsp-api</artifactId> | |
| <version>${jsp.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jstl</groupId> | |
| <artifactId>jstl</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| <!-- Servlet Dependencies End --> | |
| <!-- Data Tier Dependencies Start --> | |
| <dependency> | |
| <groupId>org.hsqldb</groupId> | |
| <artifactId>hsqldb</artifactId> | |
| <version>${hsqldb.version}</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-entitymanager</artifactId> | |
| <version>${hibernate.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-validator</artifactId> | |
| <version>${hibernate.validator.version}</version> | |
| </dependency> | |
| <!-- Data Tier Dependencies End --> | |
| <!-- Logging Dependencies Start --> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>${slf4j.version}</version> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <version>${logback.version}</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <!-- Logging Dependencies End --> | |
| <!-- UI Layer Dependencies Start --> | |
| <dependency> | |
| <groupId>org.sitemesh</groupId> | |
| <artifactId>sitemesh</artifactId> | |
| <version>3.0-alpha-2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.webjars</groupId> | |
| <artifactId>bootstrap</artifactId> | |
| <version>3.0.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.webjars</groupId> | |
| <artifactId>jquery</artifactId> | |
| <version>2.0.3-1</version> | |
| </dependency> | |
| <!-- UI Layer Dependencies Start --> | |
| <!-- Testing Dependencies Start --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-test</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>${junit.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hamcrest</groupId> | |
| <artifactId>hamcrest-library</artifactId> | |
| <version>${hamcrest.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-all</artifactId> | |
| <version>1.9.5</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- Testing Dependencies End --> | |
| <!-- Misc Dependencies --> | |
| <dependency> | |
| <groupId>commons-lang</groupId> | |
| <artifactId>commons-lang</artifactId> | |
| <version>${commons.lang.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.1</version> | |
| <configuration> | |
| <source>1.7</source> | |
| <target>1.7</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment