<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>
	<name>javafx.graphics-decora</name>
	<packaging>jar</packaging>
	<artifactId>javafx.graphics-decora</artifactId>
	<groupId>org.openjfx</groupId>
	<version>@RELEASE_VERSION@</version>
	<dependencies>
		<dependency>
			<groupId>org.antlr</groupId>
			<artifactId>antlr</artifactId>
                        <version>3.5.1</version>
		</dependency>
		<dependency>
			<groupId>org.antlr</groupId>
			<artifactId>antlr-runtime</artifactId>
                        <version>3.5.1</version>
		</dependency>
		<dependency>
			<groupId>org.antlr</groupId>
			<artifactId>ST4</artifactId>
                        <version>4.0.8</version>
		</dependency>
		<dependency>
			<groupId>org.antlr</groupId>
			<artifactId>stringtemplate</artifactId>
                        <version>3.2.1</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>javafx.base</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>javafx.graphics-java</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>javafx.graphics-antlr</artifactId>
			<version>${project.version}</version>
		</dependency>
	</dependencies>
	<build>
		<sourceDirectory>../src/main/jsl-decora</sourceDirectory>
		<outputDirectory>../build/classes/jsl-compilers/decora</outputDirectory>
		<resources>
			<resource>
				<directory>../src/main/jsl-decora</directory>
				<excludes>
					<exclude>**/*.java</exclude>
					<exclude>**/*.jsl</exclude>
				</excludes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>11</source>
					<target>11</target>/
					<release>11</release>
					<compilerArgs>
						<arg>-nowarn</arg>
						<arg>-g:source,lines,vars</arg>
						<arg>-proc:none</arg>
						<arg>-XDuseUnsharedTable=true</arg>
						<arg>-implicit:none</arg>
						<arg>--add-exports=javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED</arg>
						<arg>--add-exports=javafx.graphics/com.sun.scenario.effect.light=ALL-UNNAMED</arg>
						<arg>--add-exports=javafx.graphics/com.sun.scenario.effect.impl.state=ALL-UNNAMED</arg>
						<arg>-XDignore.symbol.file</arg>
					</compilerArgs>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
                                <version>1.6.0</version>
				<executions>
				  <execution>
					<id>ColorAdjust</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora/</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>ColorAdjust</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>Brightpass</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>Brightpass</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>SepiaTone</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>SepiaTone</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>PerspectiveTransform</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>PerspectiveTransform</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>DisplacementMap</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>DisplacementMap</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>InvertMask</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileJSL</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>InvertMask</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>Blend</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileBlend</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>Blend</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>PhongLighting</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompilePhong</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-all</argument>
							<argument>PhongLighting</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>LinearConvolve</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileLinearConvolve</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-hw</argument>
							<argument>LinearConvolve</argument>
						</arguments>
					</configuration>
				  </execution>
				  <execution>
					<id>LinearConvolveShadow</id>
					<phase>compile</phase>
					<goals>
						<goal>java</goal>
					</goals>
					<configuration>
						<mainClass>CompileLinearConvolve</mainClass>
						<additionalClasspathElements>
							<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
						</additionalClasspathElements>
						<addResourcesToClasspath>true</addResourcesToClasspath>
						<arguments>
							<argument>-i</argument>
							<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
							<argument>-o</argument> 
							<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
							<argument>-t</argument> 
							<argument>-pkg</argument> 
							<argument>com/sun/scenario/effect</argument>
							<argument>-hw</argument>
							<argument>LinearConvolveShadow</argument>
						</arguments>
					</configuration>
				  </execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>
