<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>
	<parent>
		<groupId>nl.innovationinvestments</groupId>
		<artifactId>IICompanyPom</artifactId>
		<version>1-SNAPSHOT</version>
	</parent>
	<groupId>nl.knowledgeplaza</groupId>
	<artifactId>orangestyle</artifactId>
	<packaging>chy</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>KnowledgePlaza Orange Style KPWindows</name>

	<!-- properties -->
	<properties>
		<cheyenne-version>1.11-SNAPSHOT</cheyenne-version>
	</properties>
	
	<!-- configure dependencies -->
	<dependencies>
		
		<dependency> <groupId>nl.innovationinvestments</groupId> <artifactId>CheyenneWebProject</artifactId> <version>1.0-SNAPSHOT</version> <type>pom</type> </dependency>
		<dependency> <groupId>nl.knowledgeplaza</groupId> <artifactId>kpwindows</artifactId> <version>1.1-SNAPSHOT</version> <type>war</type> </dependency>
	</dependencies>
	
	<!-- configure how the project is build -->
	<build>
		<!-- <xslt in="resource/language_project.xml" out="resource/language.xml" style="resource/language.xsl" /> -->

		<plugins>	
			
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>xml-maven-plugin</artifactId>
				<version>1.0-beta-3</version>
				<executions>
				  <execution>
				    <goals>
				      <goal>transform</goal>
				    </goals>
				    <phase>initialize</phase>
				  </execution>
				</executions>
				
				<configuration>
				  <transformationSets>
				    <transformationSet>
				      <dir>resource</dir>
				      <includes><include>language_project.xml</include></includes>
				      <stylesheet>resource/language.xsl</stylesheet>
				      <outputDir>resource</outputDir>
				      <fileMappers>
							<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
								<targetName>language.xml</targetName>
							</fileMapper>
                      </fileMappers>
				    </transformationSet>
				  </transformationSets>
				</configuration>
			</plugin>

			
			<!-- setup the compiler -->
			<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>
					<showDeprecation>false</showDeprecation>
					<fork>false</fork>
					 <compilerArgument></compilerArgument>
				</configuration>
			</plugin>
			
			<!-- cheyenne -->
			<plugin>
				<groupId>nl.innovationinvestments</groupId>
				<artifactId>CheyenneMavenPlugin</artifactId>
				<version>${cheyenne-version}</version>
				<extensions>true</extensions>
				<configuration>
					<languageDef>resource/language.xml</languageDef>
				</configuration>
			</plugin>

		
		</plugins>
	</build>
</project>
