<?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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<!-- | |
TODO: | |
Flash version: | |
Missing Resources | |
When scrolling in the detail view I get the following error: | |
TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::MouseEvent@6878a7ed8b1 to org.apache.royale.events.MouseEvent. | |
--> | |
<parent> | |
<groupId>org.apache.royale.examples</groupId> | |
<artifactId>examples-royale</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
</parent> | |
<artifactId>DataBindingExample_Flat</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<packaging>swf</packaging> | |
<name>Apache Royale: Examples: Royale: DataBindingExample_Flat</name> | |
<properties> | |
<war.source.directory>${project.build.directory}/javascript/bin/js-debug</war.source.directory> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.royale.compiler</groupId> | |
<artifactId>royale-maven-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<mainClass>DataBindingExample.mxml</mainClass> | |
<allowSubclassOverrides>true</allowSubclassOverrides> | |
<targets>${royale.targets}</targets> | |
<removeCirculars>true</removeCirculars> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.10</version> | |
<executions> | |
<execution> | |
<id>unpack-fonts</id> | |
<phase>process-resources</phase> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Fonts</artifactId> | |
<version>${royale.framework.version}</version> | |
<type>war</type> | |
<outputDirectory>${war.source.directory}/fonts</outputDirectory> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Flat</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<type>swc</type> | |
<classifier>js</classifier> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Network</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<type>swc</type> | |
<classifier>js</classifier> | |
</dependency> | |
<!-- This dependency is needed by the war plugin to add the overlay --> | |
<dependency> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Fonts</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<type>war</type> | |
<scope>runtime</scope> | |
</dependency> | |
</dependencies> | |
<profiles> | |
<profile> | |
<id>apache-release</id> | |
<properties> | |
<war.source.directory>${project.build.directory}/javascript/bin/js-release</war.source.directory> | |
</properties> | |
</profile> | |
<profile> | |
<id>option-with-swf</id> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Flat</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<type>swc</type> | |
<classifier>swf</classifier> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.royale.framework</groupId> | |
<artifactId>Network</artifactId> | |
<version>0.9.8-SNAPSHOT</version> | |
<type>swc</type> | |
<classifier>swf</classifier> | |
</dependency> | |
</dependencies> | |
</profile> | |
</profiles> | |
</project> |