<?xml version="1.0" encoding="ISO-8859-1"?>
<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>

	<parent>
		<groupId>org.geoserver</groupId>
		<artifactId>geoserver-jms</artifactId>
		<version>2.2.6-ENTERPRISE</version>
	</parent>

	<groupId>org.geoserver</groupId>
	<artifactId>jms-commons</artifactId>
	<version>2.2.6-ENTERPRISE</version>
	<packaging>jar</packaging>
	<name>GeoServer JMS Commons module</name>

	<dependencies>

		<!-- http://jira.codehaus.org/browse/XSTR-571 -->
		<dependency>
			<groupId>com.thoughtworks.xstream</groupId>
			<artifactId>xstream</artifactId>
		</dependency>
		
		<dependency>
			<groupId>javax.jms</groupId>
			<artifactId>jms-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.xbean</groupId>
			<artifactId>xbean-spring</artifactId>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jms</artifactId>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
		</dependency>

		<dependency>
			<groupId>xmlunit</groupId>
			<artifactId>xmlunit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.mockrunner</groupId>
			<artifactId>mockrunner</artifactId>
			<scope>test</scope>
		</dependency>

	</dependencies>
<build>
<plugins>
        <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                        <execution>
                                <phase>package</phase>
                                <goals>
                                        <goal>test-jar</goal>
                                </goals>
                        </execution>
                </executions>
                <configuration>
                        <archive>
                                <manifest>
                                        <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                        <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                                </manifest>
                                <manifestEntries>
                                        <GeoServerModule>community</GeoServerModule>
                                        <Application-Name>${project.build.finalname}</Application-Name>
                                        <Project-Version>${project.version}</Project-Version>
                                        <Iteration-Name>${iteration}</Iteration-Name>
                                        <Build-Timestamp>${maven.build.timestamp}</Build-Timestamp>
                                        <Git-Revision>${build.commit.id}</Git-Revision>
                                </manifestEntries>
                        </archive>
                </configuration>
        </plugin>
   </plugins>
  </build>

</project>
