Created
August 16, 2011 13:45
-
-
Save theresajayne/1149110 to your computer and use it in GitHub Desktop.
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
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>uk.co.inbrand</groupId> | |
<artifactId>ServMan</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>ServMan</name> | |
<properties> | |
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<repositories> | |
<repository> | |
<id>central</id> | |
<url>http://repo1.maven.org/maven2</url> | |
</repository> | |
<repository> | |
<id>com.springsource.repository.bundles.release</id> | |
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> | |
<url>http://repository.springsource.com/maven/bundles/release</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>warn</checksumPolicy> | |
</releases> | |
</repository> | |
<repository> | |
<id>com.springsource.repository.bundles.external | |
</id> | |
<name>SpringSource Enterprise Bundle Repository - | |
External Bundle Releases</name> | |
<url>http://repository.springsource.com/maven/bundles/external | |
</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>warn</checksumPolicy> | |
</releases> | |
</repository> | |
<repository> | |
<id>com.springsource.repository.libraries.release | |
</id> | |
<name>SpringSource Enterprise Bundle Repository - | |
SpringSource Library Releases</name> | |
<url>http://repository.springsource.com/maven/libraries/release | |
</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>warn</checksumPolicy> | |
</releases> | |
</repository> | |
<repository> | |
<id>com.springsource.repository.libraries.external | |
</id> | |
<name>SpringSource Enterprise Bundle Repository - | |
External Library Releases</name> | |
<url>http://repository.springsource.com/maven/libraries/external | |
</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>warn</checksumPolicy> | |
</releases> | |
</repository> | |
<repository> | |
<url>http://download.java.net/maven/2/</url> | |
<id>hibernate-persistence</id> | |
<layout>default</layout> | |
<name>Repository for library Library[hibernate-persistence]</name> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-hibernate3</artifactId> | |
<version>2.0.8</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-orm</artifactId> | |
<version>3.0.5.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
<version>3.0.5.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context-support</artifactId> | |
<version>3.0.5.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate</artifactId> | |
<version>3.2.5.ga</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>ejb3-persistence</artifactId> | |
<version>1.0.1.GA</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-entitymanager</artifactId> | |
<version>3.3.2.GA</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.sql</groupId> | |
<artifactId>jdbc-stdext</artifactId> | |
<version>2.0</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.transaction</groupId> | |
<artifactId>jta</artifactId> | |
<version>1.0.1B</version> | |
</dependency> | |
<dependency> | |
<groupId>javax</groupId> | |
<artifactId>javaee-web-api</artifactId> | |
<version>6.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.8.2</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
<compilerArguments> | |
<endorseddirs>${endorsed.dir}</endorseddirs> | |
</compilerArguments> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1</version> | |
<configuration> | |
<failOnMissingWebXml>true</failOnMissingWebXml> | |
<webXml>src/main/webapp/WEB-INF/web.xml</webXml> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.1</version> | |
<executions> | |
<execution> | |
<phase>validate</phase> | |
<goals> | |
<goal>copy</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${endorsed.dir}</outputDirectory> | |
<silent>true</silent> | |
<artifactItems> | |
<artifactItem> | |
<groupId>javax</groupId> | |
<artifactId>javaee-endorsed-api</artifactId> | |
<version>6.0</version> | |
<type>jar</type> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>8.0.0.M3</version> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment