<?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">
	<parent>
		<groupId>net.sf.r4h</groupId>
		<artifactId>repository4hibernate-parent</artifactId>
		<version>4.1.2</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>repository4hibernate-shared</artifactId>
	<name>${project.artifactId}</name>
	<packaging>jar</packaging>
	<description>Provides Restrictions and Order classes which are used as parameters for HibernateRepository methods. The reason this jar artifact is separted is to allow GWT/EclipseRCP and other client platforms to store information needed for requests to HibernateRepository on client site without need to have HibernateRepository or Hibernate it self on the client.</description>
	<build><!--GWT clients require source files to be placed in jar, but now we can use classifier source -->
		<!-- <resources>
			<resource>
				<directory>src/main/java</directory>
			</resource>
		</resources> -->
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<version>2.3.7</version>
				<executions>
					<execution>
						<id>bundle-manifest</id>
						<phase>process-classes</phase>
						<goals>
							<goal>manifest</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- won't work without previous plugin enabled -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<archive>
						<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
					</archive>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
