<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>
	<artifactId>sesam-showcase-annotations-support</artifactId>
	<name>sesam-showcase-annotations-support</name>
	<description>SeSAM Annotations support showcase</description>
	<packaging>jar</packaging>

	<parent>
		<groupId>sk.seges.sesam</groupId>
		<artifactId>sesam-showcase-parent</artifactId>
		<version>1.1.2</version>
		<relativePath>../sesam-showcase-parent/pom.xml</relativePath>
	</parent>

	<build>
		<plugins>
			<plugin>
				<groupId>org.bsc.maven</groupId>
				<artifactId>maven-processor-plugin</artifactId>
				<executions>
					<execution>
						<id>process</id>
						<goals>
							<goal>process</goal>
						</goals>
						<phase>generate-sources</phase>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>add-source</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>add-source</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<configuration>
					<additionalConfig>
						<file>
							<name>.factorypath</name>
							<content><![CDATA[
								<factorypath>
									<factorypathentry kind="VARJAR" id="M2_REPO/sk/seges/sesam/sesam-annotations-support/${project.version}/sesam-annotations-support-${project.version}.jar" enabled="true" runInBatchMode="false" />
									<factorypathentry kind="VARJAR" id="M2_REPO/sk/seges/sesam/sesam-showcase-playground/${project.version}/sesam-showcase-playground-${project.version}.jar" enabled="true" runInBatchMode="false" />
									<factorypathentry kind="VARJAR" id="M2_REPO/sk/seges/sesam/sesam-showcase-annotation-processor/${project.version}/sesam-showcase-annotation-processor-${project.version}.jar" enabled="true" runInBatchMode="false" />
						        </factorypath>
						          ]]>
							</content>
						</file>
						<file>
							<name>.settings/org.eclipse.jdt.apt.core.prefs</name>
							<content><![CDATA[
					          eclipse.preferences.version=1
					          org.eclipse.jdt.apt.aptEnabled=true
					          org.eclipse.jdt.apt.genSrcDir=${jsr269.generated.dir}
					          org.eclipse.jdt.apt.reconcileEnabled=true
					           ]]>
							</content>
						</file>
						<file>
                        	<name>.settings/org.eclipse.jdt.core.prefs</name>
                            <content><![CDATA[
								eclipse.preferences.version=1
								org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
								org.eclipse.jdt.core.compiler.compliance=1.6
								org.eclipse.jdt.core.compiler.processAnnotations=enabled
								org.eclipse.jdt.core.compiler.source=1.6
                                 ]]>
                            </content>
                        </file>
						
					</additionalConfig>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>sk.seges.sesam</groupId>
			<artifactId>sesam-annotations-support</artifactId>
		</dependency>
		<dependency>
			<groupId>sk.seges.sesam</groupId>
			<artifactId>sesam-showcase-playground</artifactId>
		</dependency>
		<dependency>
			<groupId>sk.seges.sesam</groupId>
			<artifactId>sesam-showcase-annotation-processor</artifactId>
		</dependency>
	</dependencies>
</project>
