UNPKG

royale-swf

Version:

Apache Royale (formerly FlexJS) with SWF support

137 lines (121 loc) 4.47 kB
<?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>royale-framework-parent</artifactId> <version>0.9.0</version> </parent> <groupId>org.apache.royale.examples</groupId> <artifactId>examples</artifactId> <version>0.9.0</version> <packaging>pom</packaging> <name>Apache Royale: Examples</name> <properties> <compiler.output-dir>${basedir}/target/javascript/bin/js-debug</compiler.output-dir> <royale.framework.version>0.9.0</royale.framework.version> </properties> <modules> <module>express</module> <module>royale</module> <module>native</module> <module>node</module> <module>amf</module> <module>examples-tests</module> <module>examples-integrationtests</module> </modules> <build> <sourceDirectory>src/main/royale</sourceDirectory> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <pluginManagement> <plugins> <!-- Copy the resources to the compiler output directory --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.0.1</version> <configuration> <outputDirectory>${compiler.output-dir}</outputDirectory> </configuration> </plugin> <plugin> <groupId>org.apache.royale.compiler</groupId> <artifactId>royale-maven-plugin</artifactId> <version>${royale.compiler.version}</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.jboss.errai</groupId> <artifactId>cordova-maven-plugin</artifactId> <version>4.0.0.Beta2</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- Makes it possible to run the example directly by running 'mvn tomcat7:run' --> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <ignorePackaging>true</ignorePackaging> <port>8081</port> <warSourceDirectory>${project.build.directory}/${project.artifactId}-${project.version}</warSourceDirectory> </configuration> </plugin> </plugins> </build> <!-- When doing a release build tell the war plugin to package a different directory. --> <profiles> <profile> <id>release</id> <properties> <compiler.output-dir>${basedir}/target/javascript/bin/js-release</compiler.output-dir> </properties> </profile> <profile> <id>with-cordova</id> <build> <pluginManagement> <plugins> <plugin> <groupId>org.jboss.errai</groupId> <artifactId>cordova-maven-plugin</artifactId> <version>4.0.0.Beta2</version> <executions> <execution> <id>build</id> <phase>package</phase> <goals> <goal>build-project</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project>