Skip to content
Snippets Groups Projects
pom.xml 8.43 KiB
Newer Older
Costin Leau's avatar
Costin Leau committed
<?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>org.springframework.samples</groupId>
Keith Donald's avatar
Keith Donald committed
	<artifactId>org.springframework.samples.petclinic</artifactId>
Costin Leau's avatar
Costin Leau committed
	<name>petclinic</name>
Costin Leau's avatar
Costin Leau committed
	<packaging>war</packaging>
	<version>1.0.0-SNAPSHOT</version>
	<properties>
Keith Donald's avatar
Keith Donald committed
		<spring.version>3.0.0.RELEASE</spring.version>
Costin Leau's avatar
Costin Leau committed
		<slf4j.version>1.5.6</slf4j.version>
	</properties>
	<dependencies>
Keith Donald's avatar
Keith Donald committed
	
		<!-- Spring -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.springframework</groupId>
			<artifactId>org.springframework.context</artifactId>
			<version>${spring.version}</version>
			<exclusions>
				<!-- Exclude Commons Logging in favor of SLF4j (see 'Logging' Dependency Config below) -->
				<exclusion>
					<groupId>org.apache.commons.logging</groupId>
					<artifactId>com.springsource.org.apache.commons.logging</artifactId>
		         </exclusion>
			</exclusions>
Costin Leau's avatar
Costin Leau committed
		</dependency>
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.springframework</groupId>
Costin Leau's avatar
Costin Leau committed
			<artifactId>org.springframework.aspects</artifactId>
Keith Donald's avatar
Keith Donald committed
			<version>${spring.version}</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Costin Leau's avatar
Costin Leau committed
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>com.springsource.org.aspectj.weaver</artifactId>
			<version>1.6.5.RELEASE</version>
		</dependency>		
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.springframework</groupId>
Costin Leau's avatar
Costin Leau committed
			<artifactId>org.springframework.orm</artifactId>
Keith Donald's avatar
Keith Donald committed
			<version>${spring.version}</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.springframework</groupId>
Costin Leau's avatar
Costin Leau committed
			<artifactId>org.springframework.oxm</artifactId>
Keith Donald's avatar
Keith Donald committed
			<version>${spring.version}</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
Costin Leau's avatar
Costin Leau committed
			<artifactId>org.springframework.web.servlet</artifactId>
			<version>${spring.version}</version>
		</dependency>
Keith Donald's avatar
Keith Donald committed
		<!-- Logging -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
            <version>${slf4j.version}</version>
 			<scope>runtime</scope>           
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>com.springsource.slf4j.api</artifactId>
            <version>${slf4j.version}</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>com.springsource.slf4j.log4j</artifactId>
            <version>${slf4j.version}</version>
			<scope>runtime</scope>           
        </dependency>		
Costin Leau's avatar
Costin Leau committed
		<dependency>
			<groupId>org.apache.log4j</groupId>
			<artifactId>com.springsource.org.apache.log4j</artifactId>
			<version>1.2.15</version>
Keith Donald's avatar
Keith Donald committed
			<scope>runtime</scope>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed

		<!-- DataSource -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
			<version>1.2.2.osgi</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>		
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.hsqldb</groupId>
			<artifactId>com.springsource.org.hsqldb</artifactId>
			<version>1.8.0.9</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed
		<!-- MySQL JDBC Connector -->
		<!--
        <dependency>
            <groupId>com.mysql.jdbc</groupId>
            <artifactId>com.springsource.com.mysql.jdbc</artifactId>
            <version>5.1.6</version>
        </dependency>
        -->
        		
		<!-- Hibernate -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
			<groupId>org.hibernate</groupId>
Keith Donald's avatar
Keith Donald committed
			<artifactId>com.springsource.org.hibernate</artifactId>
			<version>3.3.2.GA</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed
		
		<!-- JPA -->
		<dependency>
			<groupId>javax.persistence</groupId>
			<artifactId>com.springsource.javax.persistence</artifactId>
			<version>1.0.0</version>
		</dependency>
		<!-- Toplink JPA Provider -->
		<dependency>
			<groupId>com.oracle.toplink.essentials</groupId>
			<artifactId>com.springsource.oracle.toplink.essentials</artifactId>
			<version>2.0.0.b41-beta2</version>
		</dependency>
		<!-- Hibernate JPA Provider -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>com.springsource.org.hibernate.ejb</artifactId>
			<version>3.4.0.GA</version>
Keith Donald's avatar
Keith Donald committed
			<scope>runtime</scope>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed
		<!-- Open JPA Provider -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.apache.openjpa</groupId>
			<artifactId>com.springsource.org.apache.openjpa</artifactId>
			<version>1.1.0</version>
			<scope>runtime</scope>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed

		<!-- Servlet -->
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>javax.servlet</groupId>
			<artifactId>com.springsource.javax.servlet</artifactId>
			<version>2.5.0</version>
			<scope>provided</scope>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Costin Leau's avatar
Costin Leau committed
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>javax.servlet</groupId>
			<artifactId>com.springsource.javax.servlet.jsp</artifactId>
			<version>2.1.0</version>
			<scope>provided</scope>
Costin Leau's avatar
Costin Leau committed
		</dependency>
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>javax.servlet</groupId>
			<artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
			<version>1.2.0</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
		<dependency>
Keith Donald's avatar
Keith Donald committed
			<groupId>org.apache.taglibs</groupId>
			<artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
			<version>1.1.2</version>
		</dependency>		

		<!-- Rome RSS -->
		<dependency>
			<groupId>com.sun.syndication</groupId>
			<artifactId>com.springsource.com.sun.syndication</artifactId>
			<version>1.0.0</version>
Costin Leau's avatar
Costin Leau committed
		</dependency>
Keith Donald's avatar
Keith Donald committed
		<!-- JAXB -->
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>com.springsource.javax.xml.bind</artifactId>
			<version>2.1.7</version>
			<scope>provided</scope>
		</dependency>

Keith Donald's avatar
Keith Donald committed
		<!-- Test dependencies -->
		<dependency>
			<groupId>org.junit</groupId>
			<artifactId>com.springsource.org.junit</artifactId>
			<version>4.5.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>org.springframework.test</artifactId>
			<version>${spring.version}</version>
            <scope>test</scope>
		</dependency>
Keith Donald's avatar
Keith Donald committed
		<dependency>
 		   <groupId>javax.transaction</groupId>
 		   <artifactId>com.springsource.javax.transaction</artifactId>
		    <version>1.1.0</version>
		    <scope>test</scope>
Keith Donald's avatar
Keith Donald committed
		</dependency>
		<dependency>
		    <groupId>org.hibernate</groupId>
    		<artifactId>com.springsource.org.hibernate.annotations</artifactId>
    		<version>3.4.0.GA</version>
    		<scope>test</scope>
Keith Donald's avatar
Keith Donald committed
		</dependency>
		
Costin Leau's avatar
Costin Leau committed
	</dependencies>
	<repositories>
		<repository>
			<id>com.springsource.repository.bundles.release</id>
Costin Leau's avatar
Costin Leau committed
			<name>SpringSource Enterprise Bundle Repository - SpringSource Releases</name>
Costin Leau's avatar
Costin Leau committed
			<url>http://repository.springsource.com/maven/bundles/release</url>
		</repository>
		<repository>
			<id>com.springsource.repository.bundles.external</id>
Costin Leau's avatar
Costin Leau committed
			<name>SpringSource Enterprise Bundle Repository - External Releases</name>
Costin Leau's avatar
Costin Leau committed
			<url>http://repository.springsource.com/maven/bundles/external</url>
		</repository>
Keith Donald's avatar
Keith Donald committed
		<repository>
			<id>com.springsource.repository.bundles.milestone</id>
Costin Leau's avatar
Costin Leau committed
			<name>SpringSource Enterprise Bundle Repository - SpringSource Milestones</name>
Keith Donald's avatar
Keith Donald committed
			<url>http://repository.springsource.com/maven/bundles/milestone</url>
		</repository>
Costin Leau's avatar
Costin Leau committed
		<repository>
			<id>com.springsource.repository.bundles.snapshot</id>
Costin Leau's avatar
Costin Leau committed
			<name>SpringSource Enterprise Bundle Repository - Snapshot Releases</name>
Costin Leau's avatar
Costin Leau committed
			<url>http://repository.springsource.com/maven/bundles/snapshot</url>
		</repository>
	</repositories>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
Costin Leau's avatar
Costin Leau committed
					<source>1.5</source>
					<target>1.5</target>
Costin Leau's avatar
Costin Leau committed
				</configuration>
			</plugin>
Costin Leau's avatar
Costin Leau committed
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <includes>
                  <include>**/*Tests.java</include>
                </includes>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-war-plugin</artifactId>
              <configuration>
                <warName>petclinic</warName>
                </configuration>
            </plugin>
Costin Leau's avatar
Costin Leau committed
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>install</id>
						<phase>install</phase>
						<goals>
							<goal>sources</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>