You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/04/03 16:38:55 UTC
[royale-asjs] branch develop updated: add profile to make
generating swf versions of examples optional
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new acecf81 add profile to make generating swf versions of examples optional
acecf81 is described below
commit acecf81037fccc11750b7d76c8cbcd96ace79020
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Apr 3 09:38:41 2019 -0700
add profile to make generating swf versions of examples optional
---
examples/blog/BE0001_Hello_World/pom.xml | 9 +--------
examples/blog/BE0002_Using_Jewel_Alert_Control/pom.xml | 9 +--------
.../blog/BE0003_Using_Jewel_Slider_Control/pom.xml | 9 +--------
.../blog/BE0004_Adding_an_item_to_a_Jewel_List/pom.xml | 9 +--------
.../pom.xml | 9 +--------
.../pom.xml | 9 +--------
.../pom.xml | 9 +--------
.../pom.xml | 9 +--------
.../BE0009_Using_an_Item_ Renderer_with_a_List/pom.xml | 9 +--------
.../pom.xml | 9 +--------
.../pom.xml | 9 +--------
examples/express/DataBindingExample/pom.xml | 10 +---------
examples/express/DataGridExample/pom.xml | 7 -------
examples/express/GitHubCommitLogViewer/pom.xml | 8 --------
examples/express/pom.xml | 1 +
examples/mxroyale/ControlsExample/pom.xml | 9 +--------
examples/mxroyale/HelloWorld/pom.xml | 9 +--------
examples/mxroyale/RemoteObjectAMFTest/pom.xml | 10 +---------
examples/mxroyale/SparkHelloWorld/pom.xml | 9 +--------
examples/pom.xml | 3 +++
examples/royale/ASDoc/pom.xml | 8 --------
examples/royale/AccordionExample/pom.xml | 7 -------
examples/royale/Ace/pom.xml | 8 --------
examples/royale/AlertExample/pom.xml | 7 -------
examples/royale/ChartExample/pom.xml | 8 --------
examples/royale/CordovaCameraExample/pom.xml | 8 --------
examples/royale/CreateJSExample/pom.xml | 8 --------
examples/royale/DataBindingExample/pom.xml | 8 --------
.../royale/DataBindingExampleWithFlexLayout/pom.xml | 8 --------
examples/royale/DataBindingExample_Flat/pom.xml | 8 --------
examples/royale/DataBindingExample_as/pom.xml | 8 --------
examples/royale/DataGridExample/pom.xml | 7 -------
examples/royale/DateControlsExample/pom.xml | 7 -------
examples/royale/DebuggingExample/pom.xml | 8 --------
examples/royale/DesktopMap/pom.xml | 8 --------
examples/royale/DividedContainerExample/pom.xml | 7 -------
examples/royale/DragAndDropExample/pom.xml | 9 ---------
examples/royale/Flex2Royale/pom.xml | 8 --------
examples/royale/HTMLElements/pom.xml | 7 -------
examples/royale/HelloWorld/pom.xml | 7 -------
examples/royale/JSON2ASVO/pom.xml | 16 ----------------
examples/royale/ListExample/pom.xml | 9 ---------
examples/royale/MapSearch/pom.xml | 8 --------
examples/royale/MenuExample/pom.xml | 7 -------
examples/royale/MobileMap/pom.xml | 8 --------
examples/royale/MobileStocks/pom.xml | 8 --------
examples/royale/MobileTrader/pom.xml | 8 --------
examples/royale/ModuleExample/MainApp/pom.xml | 7 -------
examples/royale/ModuleExample/Module/pom.xml | 7 -------
examples/royale/RemoteObjectAMFTest/pom.xml | 10 +---------
examples/royale/RemoteObjectAMFTestBasic/pom.xml | 10 +---------
examples/royale/RoyaleStore/pom.xml | 7 -------
examples/royale/RoyaleStore_jquery/pom.xml | 8 --------
examples/royale/RoyaleWebsiteStatsViewer/pom.xml | 8 --------
examples/royale/StorageExample/pom.xml | 8 --------
examples/royale/StyleExample/pom.xml | 8 --------
examples/royale/TableExample/pom.xml | 7 -------
examples/royale/TeamPage/pom.xml | 9 ---------
examples/royale/TodoListSampleApp/pom.xml | 7 -------
examples/royale/TourDeJewel/pom.xml | 7 -------
examples/royale/TreeExample/pom.xml | 7 -------
pom.xml | 18 ++++++++++++++++++
62 files changed, 40 insertions(+), 471 deletions(-)
diff --git a/examples/blog/BE0001_Hello_World/pom.xml b/examples/blog/BE0001_Hello_World/pom.xml
index 680fa63..2461228 100644
--- a/examples/blog/BE0001_Hello_World/pom.xml
+++ b/examples/blog/BE0001_Hello_World/pom.xml
@@ -40,7 +40,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0001_Hello_World.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
</configuration>
</plugin>
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0002_Using_Jewel_Alert_Control/pom.xml b/examples/blog/BE0002_Using_Jewel_Alert_Control/pom.xml
index 07b7f1e..0dca5c2 100644
--- a/examples/blog/BE0002_Using_Jewel_Alert_Control/pom.xml
+++ b/examples/blog/BE0002_Using_Jewel_Alert_Control/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0002_Using_Jewel_Alert_Control.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0003_Using_Jewel_Slider_Control/pom.xml b/examples/blog/BE0003_Using_Jewel_Slider_Control/pom.xml
index 79ab4fb..1a2b60b 100644
--- a/examples/blog/BE0003_Using_Jewel_Slider_Control/pom.xml
+++ b/examples/blog/BE0003_Using_Jewel_Slider_Control/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0003_Using_Jewel_Slider_Control.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/pom.xml b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/pom.xml
index 15e7d0c..4960409 100644
--- a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/pom.xml
+++ b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0004_Adding_an_item_to_a_Jewel_List.mxml</mainClass>
- <targets>SWF,JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/pom.xml b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/pom.xml
index 53a2e96..49fd63e 100644
--- a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/pom.xml
+++ b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0005_Creating_a_group_of_Jewel_RadioButtons.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
index afa811d..1411d05 100644
--- a/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
+++ b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/pom.xml b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/pom.xml
index f94a05c..e3fc5c1 100644
--- a/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/pom.xml
+++ b/examples/blog/BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0007_Selecting_options_from_a_group_of_jewel_checkbox_controls.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
index 2e9544b..3b808ff 100644
--- a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
+++ b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0008_Using_View_States_to_show_or_hide_content.mxml</mainClass>
- <targets>SWF, JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0009_Using_an_Item_ Renderer_with_a_List/pom.xml b/examples/blog/BE0009_Using_an_Item_ Renderer_with_a_List/pom.xml
index c69aee2..42ad74b 100644
--- a/examples/blog/BE0009_Using_an_Item_ Renderer_with_a_List/pom.xml
+++ b/examples/blog/BE0009_Using_an_Item_ Renderer_with_a_List/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0009_Using_an_Item_Renderer_with_a_List.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0010_Customization_through_the_Royale_API/pom.xml b/examples/blog/BE0010_Customization_through_the_Royale_API/pom.xml
index 7ca1539..4aee69d 100644
--- a/examples/blog/BE0010_Customization_through_the_Royale_API/pom.xml
+++ b/examples/blog/BE0010_Customization_through_the_Royale_API/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0010_Customization_through_the_Royale_API.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/blog/BE0011_Loading_external_data_through_HTTPService/pom.xml b/examples/blog/BE0011_Loading_external_data_through_HTTPService/pom.xml
index 0fd7ee2..6073836 100644
--- a/examples/blog/BE0011_Loading_external_data_through_HTTPService/pom.xml
+++ b/examples/blog/BE0011_Loading_external_data_through_HTTPService/pom.xml
@@ -41,7 +41,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>BE0011_Loading_external_data_through_HTTPService.mxml</mainClass>
- <targets>SWF, JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
<additionalCompilerOptions>-source-map=true;-js-dynamic-access-unknown-members=true</additionalCompilerOptions>
@@ -52,13 +52,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index cf6cbe8..5486e46 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -40,7 +40,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>DataBindingExample.mxml</mainClass>
- <targets>SWF,JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
</configuration>
</plugin>
</plugins>
@@ -48,14 +48,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/express/DataGridExample/pom.xml b/examples/express/DataGridExample/pom.xml
index 59e30ab..f9355ad 100644
--- a/examples/express/DataGridExample/pom.xml
+++ b/examples/express/DataGridExample/pom.xml
@@ -50,13 +50,6 @@
</build>
<dependencies>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
</dependencies>
</project>
diff --git a/examples/express/GitHubCommitLogViewer/pom.xml b/examples/express/GitHubCommitLogViewer/pom.xml
index 22ea1af..f5e1fbc 100644
--- a/examples/express/GitHubCommitLogViewer/pom.xml
+++ b/examples/express/GitHubCommitLogViewer/pom.xml
@@ -47,14 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 7e55835..0bf6d93 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -57,6 +57,7 @@
<dependency>org.apache.royale.examples:examples-tests</dependency>
</dependenciesToScan>
<systemPropertyVariables>
+ <targets>${project.build.plugins.plugin.configuration.targets}</targets>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
diff --git a/examples/mxroyale/ControlsExample/pom.xml b/examples/mxroyale/ControlsExample/pom.xml
index 1848851..cb15f6d 100644
--- a/examples/mxroyale/ControlsExample/pom.xml
+++ b/examples/mxroyale/ControlsExample/pom.xml
@@ -40,7 +40,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>ControlsExample.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
</configuration>
</plugin>
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/mxroyale/HelloWorld/pom.xml b/examples/mxroyale/HelloWorld/pom.xml
index 7484a1f..dde2d90 100644
--- a/examples/mxroyale/HelloWorld/pom.xml
+++ b/examples/mxroyale/HelloWorld/pom.xml
@@ -40,7 +40,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>HelloWorld.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
</configuration>
</plugin>
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/mxroyale/RemoteObjectAMFTest/pom.xml b/examples/mxroyale/RemoteObjectAMFTest/pom.xml
index 673202e..b961357 100644
--- a/examples/mxroyale/RemoteObjectAMFTest/pom.xml
+++ b/examples/mxroyale/RemoteObjectAMFTest/pom.xml
@@ -48,7 +48,7 @@
<configuration>
<mainClass>App.mxml</mainClass>
<!-- <mainClass>App_Jewel.mxml</mainClass> -->
- <targets>SWF,JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<debug>true</debug>
<!-- <additionalCompilerOptions>-source-map=true;-js-dynamic-access-unknown-members=true</additionalCompilerOptions> -->
</configuration>
@@ -66,14 +66,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/mxroyale/SparkHelloWorld/pom.xml b/examples/mxroyale/SparkHelloWorld/pom.xml
index 8c65fc6..2f080b4 100644
--- a/examples/mxroyale/SparkHelloWorld/pom.xml
+++ b/examples/mxroyale/SparkHelloWorld/pom.xml
@@ -40,7 +40,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>HelloWorld.mxml</mainClass>
- <targets>JSRoyale,SWF</targets>
+ <targets>${royale.example.targets}</targets>
<debug>false</debug>
</configuration>
</plugin>
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/pom.xml b/examples/pom.xml
index a5a0140..9717c63 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -103,6 +103,9 @@
<artifactId>royale-maven-plugin</artifactId>
<version>${royale.compiler.version}</version>
<extensions>true</extensions>
+ <configuration>
+ <targets>${royale.example.targets}</targets>
+ </configuration>
</plugin>
<plugin>
<groupId>org.jboss.errai</groupId>
diff --git a/examples/royale/ASDoc/pom.xml b/examples/royale/ASDoc/pom.xml
index 5294aee..723f8eb 100644
--- a/examples/royale/ASDoc/pom.xml
+++ b/examples/royale/ASDoc/pom.xml
@@ -83,14 +83,6 @@
<scope>theme</scope>
</dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>20.0</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
</dependencies>
</project>
diff --git a/examples/royale/AccordionExample/pom.xml b/examples/royale/AccordionExample/pom.xml
index eda9bdc..7cadb9d 100644
--- a/examples/royale/AccordionExample/pom.xml
+++ b/examples/royale/AccordionExample/pom.xml
@@ -59,13 +59,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/Ace/pom.xml b/examples/royale/Ace/pom.xml
index bf66af1..5037815 100644
--- a/examples/royale/Ace/pom.xml
+++ b/examples/royale/Ace/pom.xml
@@ -48,14 +48,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>DragDrop</artifactId>
<version>0.9.2-SNAPSHOT</version>
diff --git a/examples/royale/AlertExample/pom.xml b/examples/royale/AlertExample/pom.xml
index 6cc294e..5b88ce6 100644
--- a/examples/royale/AlertExample/pom.xml
+++ b/examples/royale/AlertExample/pom.xml
@@ -69,13 +69,6 @@
<type>swc</type>
<classifier>js</classifier>
</dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
diff --git a/examples/royale/ChartExample/pom.xml b/examples/royale/ChartExample/pom.xml
index 86dc6f1..972151c 100644
--- a/examples/royale/ChartExample/pom.xml
+++ b/examples/royale/ChartExample/pom.xml
@@ -53,14 +53,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Charts</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/CordovaCameraExample/pom.xml b/examples/royale/CordovaCameraExample/pom.xml
index 46c2fb2..5213479 100644
--- a/examples/royale/CordovaCameraExample/pom.xml
+++ b/examples/royale/CordovaCameraExample/pom.xml
@@ -51,14 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Mobile</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/CreateJSExample/pom.xml b/examples/royale/CreateJSExample/pom.xml
index ee6a291..047433c 100644
--- a/examples/royale/CreateJSExample/pom.xml
+++ b/examples/royale/CreateJSExample/pom.xml
@@ -53,14 +53,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>CreateJS</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DataBindingExample/pom.xml b/examples/royale/DataBindingExample/pom.xml
index 59fd73a..06bae64 100644
--- a/examples/royale/DataBindingExample/pom.xml
+++ b/examples/royale/DataBindingExample/pom.xml
@@ -47,14 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DataBindingExampleWithFlexLayout/pom.xml b/examples/royale/DataBindingExampleWithFlexLayout/pom.xml
index 6beb363..91ac7b0 100644
--- a/examples/royale/DataBindingExampleWithFlexLayout/pom.xml
+++ b/examples/royale/DataBindingExampleWithFlexLayout/pom.xml
@@ -47,14 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DataBindingExample_Flat/pom.xml b/examples/royale/DataBindingExample_Flat/pom.xml
index 0a59a51..94984f2 100644
--- a/examples/royale/DataBindingExample_Flat/pom.xml
+++ b/examples/royale/DataBindingExample_Flat/pom.xml
@@ -97,14 +97,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Flat</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DataBindingExample_as/pom.xml b/examples/royale/DataBindingExample_as/pom.xml
index 8c89dcc..98ac31e 100644
--- a/examples/royale/DataBindingExample_as/pom.xml
+++ b/examples/royale/DataBindingExample_as/pom.xml
@@ -58,14 +58,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DataGridExample/pom.xml b/examples/royale/DataGridExample/pom.xml
index 9b8e4bb..f5a3206 100644
--- a/examples/royale/DataGridExample/pom.xml
+++ b/examples/royale/DataGridExample/pom.xml
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DateControlsExample/pom.xml b/examples/royale/DateControlsExample/pom.xml
index 86e816b..833f9e6 100644
--- a/examples/royale/DateControlsExample/pom.xml
+++ b/examples/royale/DateControlsExample/pom.xml
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Formatters</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DebuggingExample/pom.xml b/examples/royale/DebuggingExample/pom.xml
index 260484d..03b93c4 100644
--- a/examples/royale/DebuggingExample/pom.xml
+++ b/examples/royale/DebuggingExample/pom.xml
@@ -47,14 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Core</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DesktopMap/pom.xml b/examples/royale/DesktopMap/pom.xml
index bc78df5..5838432 100644
--- a/examples/royale/DesktopMap/pom.xml
+++ b/examples/royale/DesktopMap/pom.xml
@@ -54,14 +54,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>GoogleMaps</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DividedContainerExample/pom.xml b/examples/royale/DividedContainerExample/pom.xml
index b055b88..495e6ce 100644
--- a/examples/royale/DividedContainerExample/pom.xml
+++ b/examples/royale/DividedContainerExample/pom.xml
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/DragAndDropExample/pom.xml b/examples/royale/DragAndDropExample/pom.xml
index c14c447..22cbcd8 100644
--- a/examples/royale/DragAndDropExample/pom.xml
+++ b/examples/royale/DragAndDropExample/pom.xml
@@ -71,14 +71,5 @@
<type>swc</type>
<scope>theme</scope>
</dependency>
-
- <!-- Needed for Flash compilation -->
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>20.0</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
</dependencies>
</project>
diff --git a/examples/royale/Flex2Royale/pom.xml b/examples/royale/Flex2Royale/pom.xml
index 1d85d58..ddb2be4 100644
--- a/examples/royale/Flex2Royale/pom.xml
+++ b/examples/royale/Flex2Royale/pom.xml
@@ -47,14 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/HTMLElements/pom.xml b/examples/royale/HTMLElements/pom.xml
index d9009c2..14eb2d1 100644
--- a/examples/royale/HTMLElements/pom.xml
+++ b/examples/royale/HTMLElements/pom.xml
@@ -47,13 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/HelloWorld/pom.xml b/examples/royale/HelloWorld/pom.xml
index bff4477..9f76b2d 100644
--- a/examples/royale/HelloWorld/pom.xml
+++ b/examples/royale/HelloWorld/pom.xml
@@ -47,13 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/JSON2ASVO/pom.xml b/examples/royale/JSON2ASVO/pom.xml
index 116004a..95430d2 100644
--- a/examples/royale/JSON2ASVO/pom.xml
+++ b/examples/royale/JSON2ASVO/pom.xml
@@ -54,14 +54,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Storage</artifactId>
<version>0.9.6-SNAPSHOT</version>
@@ -91,14 +83,6 @@
<classifier>js</classifier>
</dependency>
- <!-- <dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- -->
<dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
diff --git a/examples/royale/ListExample/pom.xml b/examples/royale/ListExample/pom.xml
index 71b17eb..c0feab1 100644
--- a/examples/royale/ListExample/pom.xml
+++ b/examples/royale/ListExample/pom.xml
@@ -85,14 +85,5 @@
<type>swc</type>
<scope>theme</scope>
</dependency>
-
- <!-- Needed for Flash compilation -->
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>20.0</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
</dependencies>
</project>
diff --git a/examples/royale/MapSearch/pom.xml b/examples/royale/MapSearch/pom.xml
index 6f1438c..9c9c531 100644
--- a/examples/royale/MapSearch/pom.xml
+++ b/examples/royale/MapSearch/pom.xml
@@ -58,14 +58,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>GoogleMaps</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/MenuExample/pom.xml b/examples/royale/MenuExample/pom.xml
index a984cf1..3298af0 100644
--- a/examples/royale/MenuExample/pom.xml
+++ b/examples/royale/MenuExample/pom.xml
@@ -68,13 +68,6 @@
<type>swc</type>
<classifier>js</classifier>
</dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
diff --git a/examples/royale/MobileMap/pom.xml b/examples/royale/MobileMap/pom.xml
index 57d62fe..d58a0f0 100644
--- a/examples/royale/MobileMap/pom.xml
+++ b/examples/royale/MobileMap/pom.xml
@@ -56,14 +56,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Mobile</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/MobileStocks/pom.xml b/examples/royale/MobileStocks/pom.xml
index e1ef9b6..4fa128e 100644
--- a/examples/royale/MobileStocks/pom.xml
+++ b/examples/royale/MobileStocks/pom.xml
@@ -58,14 +58,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Charts</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/MobileTrader/pom.xml b/examples/royale/MobileTrader/pom.xml
index 7daed0b..c788938 100644
--- a/examples/royale/MobileTrader/pom.xml
+++ b/examples/royale/MobileTrader/pom.xml
@@ -58,14 +58,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Charts</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/ModuleExample/MainApp/pom.xml b/examples/royale/ModuleExample/MainApp/pom.xml
index fa38e8a..6722694 100644
--- a/examples/royale/ModuleExample/MainApp/pom.xml
+++ b/examples/royale/ModuleExample/MainApp/pom.xml
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/ModuleExample/Module/pom.xml b/examples/royale/ModuleExample/Module/pom.xml
index 1bfd9f5..62519e4 100644
--- a/examples/royale/ModuleExample/Module/pom.xml
+++ b/examples/royale/ModuleExample/Module/pom.xml
@@ -49,13 +49,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>BasicTheme</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/RemoteObjectAMFTest/pom.xml b/examples/royale/RemoteObjectAMFTest/pom.xml
index ae95fd6..54decb4 100644
--- a/examples/royale/RemoteObjectAMFTest/pom.xml
+++ b/examples/royale/RemoteObjectAMFTest/pom.xml
@@ -53,7 +53,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>App.mxml</mainClass>
- <targets>SWF,JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<!-- <debug>false</debug> -->
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
</configuration>
@@ -71,14 +71,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/RemoteObjectAMFTestBasic/pom.xml b/examples/royale/RemoteObjectAMFTestBasic/pom.xml
index d6ed8ba..e052e9f 100644
--- a/examples/royale/RemoteObjectAMFTestBasic/pom.xml
+++ b/examples/royale/RemoteObjectAMFTestBasic/pom.xml
@@ -47,7 +47,7 @@
<extensions>true</extensions>
<configuration>
<mainClass>App.mxml</mainClass>
- <targets>SWF, JSRoyale</targets>
+ <targets>${royale.example.targets}</targets>
<debug>true</debug>
</configuration>
</plugin>
@@ -64,14 +64,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/RoyaleStore/pom.xml b/examples/royale/RoyaleStore/pom.xml
index fbe22e6..ed26829 100644
--- a/examples/royale/RoyaleStore/pom.xml
+++ b/examples/royale/RoyaleStore/pom.xml
@@ -53,13 +53,6 @@
</build>
<dependencies>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
<!--
By declaring this dependency here, we force the royale-externs-js to be
added to the external library path of all modules. Without this it would
diff --git a/examples/royale/RoyaleStore_jquery/pom.xml b/examples/royale/RoyaleStore_jquery/pom.xml
index 3f10259..c50bbd2 100644
--- a/examples/royale/RoyaleStore_jquery/pom.xml
+++ b/examples/royale/RoyaleStore_jquery/pom.xml
@@ -54,14 +54,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>DragDrop</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/RoyaleWebsiteStatsViewer/pom.xml b/examples/royale/RoyaleWebsiteStatsViewer/pom.xml
index 1178f21..eecc55f 100644
--- a/examples/royale/RoyaleWebsiteStatsViewer/pom.xml
+++ b/examples/royale/RoyaleWebsiteStatsViewer/pom.xml
@@ -48,14 +48,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/StorageExample/pom.xml b/examples/royale/StorageExample/pom.xml
index b708b3e..3f10b6f 100644
--- a/examples/royale/StorageExample/pom.xml
+++ b/examples/royale/StorageExample/pom.xml
@@ -51,14 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.air.framework</groupId>
- <artifactId>airglobal</artifactId>
- <version>${air.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Storage</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/StyleExample/pom.xml b/examples/royale/StyleExample/pom.xml
index a5338a1..5efcf1a 100644
--- a/examples/royale/StyleExample/pom.xml
+++ b/examples/royale/StyleExample/pom.xml
@@ -48,14 +48,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Network</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/TableExample/pom.xml b/examples/royale/TableExample/pom.xml
index 65ada3c..e9488c5 100644
--- a/examples/royale/TableExample/pom.xml
+++ b/examples/royale/TableExample/pom.xml
@@ -51,13 +51,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/TeamPage/pom.xml b/examples/royale/TeamPage/pom.xml
index 9bf4391..272f256 100644
--- a/examples/royale/TeamPage/pom.xml
+++ b/examples/royale/TeamPage/pom.xml
@@ -84,15 +84,6 @@
<type>swc</type>
<scope>theme</scope>
</dependency>
-
- <!-- Needed for Flash compilation -->
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>20.0</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
</dependencies>
</project>
diff --git a/examples/royale/TodoListSampleApp/pom.xml b/examples/royale/TodoListSampleApp/pom.xml
index 6e7d387..0ebb7d3 100644
--- a/examples/royale/TodoListSampleApp/pom.xml
+++ b/examples/royale/TodoListSampleApp/pom.xml
@@ -53,13 +53,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/TourDeJewel/pom.xml b/examples/royale/TourDeJewel/pom.xml
index 6ca72d4..d777157 100644
--- a/examples/royale/TourDeJewel/pom.xml
+++ b/examples/royale/TourDeJewel/pom.xml
@@ -52,13 +52,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Formatters</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/examples/royale/TreeExample/pom.xml b/examples/royale/TreeExample/pom.xml
index 16d5645..af505ad 100644
--- a/examples/royale/TreeExample/pom.xml
+++ b/examples/royale/TreeExample/pom.xml
@@ -47,13 +47,6 @@
<dependencies>
<dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Basic</artifactId>
<version>0.9.6-SNAPSHOT</version>
diff --git a/pom.xml b/pom.xml
index 8407105..1c015f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,6 +59,8 @@
<royale.typedefs.version>0.9.6-SNAPSHOT</royale.typedefs.version>
<royale.build-tools.version>1.0.0</royale.build-tools.version>
+ <royale.example.targets>JSRoyale</royale.example.targets>
+
<royale.skipAS>true</royale.skipAS>
<royale.debug>true</royale.debug>
<flex.version>4.15.0</flex.version>
@@ -364,6 +366,22 @@
</profile>
<profile>
+ <id>generate-swf</id>
+ <properties>
+ <royale.example.targets>SWF,JSRoyale</royale.example.targets>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>${flash.version}</version>
+ <type>swc</type>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <profile>
<id>generate-swcs-for-swf</id>
<properties>
<royale.skipAS>false</royale.skipAS>