| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --><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>org.apache.royale.framework</groupId> |
| <artifactId>projects</artifactId> |
| <version>0.9.9</version> |
| </parent> |
| |
| <artifactId>Graphics</artifactId> |
| <version>0.9.9</version> |
| <packaging>swc</packaging> |
| |
| <name>Apache Royale: Framework: Libs: Graphics</name> |
| |
| <properties> |
| <!-- TODO: This is a fix till we release this via Maven --> |
| <pixelbender.download-url>https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip</pixelbender.download-url> |
| <project.build.outputTimestamp>2022-03-13T09:39:40Z</project.build.outputTimestamp></properties> |
| |
| <build> |
| <sourceDirectory>src/main/royale</sourceDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>${project.build.directory}/downloads/frameworks/projects/framework/src/mx/graphics/shaderClasses</directory> |
| <includes> |
| <include>*.pbj</include> |
| </includes> |
| <targetPath>${project.build.directory}/generated-resources/pixelbender/org/apache/royale/graphics/utils/shaderClasses</targetPath> |
| </resource> |
| </resources> |
| <plugins> |
| <!-- Download the pixelbender binaries and put them somewhere the compiler can find them --> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>get-pixelbender-artifacts</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>${pixelbender.download-url}</url> |
| <outputFileName>apache.royale-sdk-pixel-bender-1.0.0-bin.zip</outputFileName> |
| <outputDirectory>${project.build.directory}/downloads</outputDirectory> |
| <unpack>true</unpack> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated-resources/pixelbender</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.royale.compiler</groupId> |
| <artifactId>royale-maven-plugin</artifactId> |
| <version>${project.royale.compiler.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <namespaces> |
| <namespace> |
| <uri>library://ns.apache.org/royale/basic</uri> |
| <manifest>${project.basedir}/src/main/resources/basic-manifest.xml</manifest> |
| </namespace> |
| <namespace> |
| <uri>library://ns.apache.org/royale/svg</uri> |
| <manifest>${project.basedir}/src/main/resources/svg-manifest.xml</manifest> |
| </namespace> |
| </namespaces> |
| <includeClasses> |
| <includeClass>GraphicsClasses</includeClass> |
| </includeClasses> |
| <includeFiles> |
| <include-file> |
| <name>defaults.css</name> |
| <path>../src/main/resources/defaults.css</path> |
| </include-file> |
| </includeFiles> |
| <includeLookupOnly>true</includeLookupOnly> |
| <skipExtern>true</skipExtern> |
| <skipAS>${royale.skipAS}</skipAS> |
| <additionalCompilerOptions>${project.compiler.options};-compiler.byte-array-embed-class=org.apache.royale.core.ByteArrayAsset;-js-vector-emulation-class=Array</additionalCompilerOptions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.royale.framework</groupId> |
| <artifactId>Core</artifactId> |
| <version>0.9.9</version> |
| <type>swc</type> |
| <classifier>js</classifier> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>option-with-swf</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.royale.framework</groupId> |
| <artifactId>Core</artifactId> |
| <version>0.9.9</version> |
| <type>swc</type> |
| <classifier>swf</classifier> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| |
| </project> |