This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch jakartaee in repository https://gitbox.apache.org/repos/asf/flex-blazeds.git
commit 4c530e8d7b19024ba499faf6a7f73718647486d0 Merge: cba8c36 c3a1cfd Author: Josh Tynjala <[email protected]> AuthorDate: Mon Aug 21 08:45:05 2023 -0700 Merge branch 'develop' into jakartaee distribution/pom.xml | 33 +- distribution/src/assembly/assemble-bin.xml | 52 +- pom.xml | 1 + samples/classic-turnkey-samples/backend/pom.xml | 194 + .../main/java/flex/samples/ConnectionHelper.java | 59 + .../src/main/java/flex/samples/DAOException.java | 38 + .../java/flex/samples/DatabaseCheckService.java | 65 + .../flex/samples/crm/ConcurrencyException.java | 37 + .../main/java/flex/samples/crm/DAOException.java | 38 + .../java/flex/samples/crm/company/Company.java | 105 + .../java/flex/samples/crm/company/CompanyDAO.java | 228 + .../java/flex/samples/crm/employee/Employee.java | 106 + .../flex/samples/crm/employee/EmployeeDAO.java | 300 + .../java/flex/samples/dcd/product/Product.java | 89 + .../flex/samples/dcd/product/ProductService.java | 197 + .../src/main/java/flex/samples/feed/Feed.java | 85 + .../main/java/flex/samples/marketdata/Feed.java | 121 + .../java/flex/samples/marketdata/Portfolio.java | 75 + .../main/java/flex/samples/marketdata/Stock.java | 84 + .../java/flex/samples/marketdata/portfolio.xml | 141 + .../main/java/flex/samples/product/Product.java | 89 + .../java/flex/samples/product/ProductService.java | 191 + .../samples/qos/CustomDelayQueueProcessor.java | 121 + .../flex/samples/qos/FlexClientConfigService.java | 74 + .../samples/runtimeconfig/ChatRoomService.java | 81 + .../EmployeeRuntimeRemotingDestination.java | 54 + .../main/webapp/WEB-INF/flex/messaging-config.xml | 58 + .../src/main/webapp/WEB-INF/flex/proxy-config.xml | 60 + .../main/webapp/WEB-INF/flex/remoting-config.xml | 56 + .../main/webapp/WEB-INF/flex/services-config.xml | 146 + .../backend/src/main/webapp/WEB-INF/web.xml | 63 + .../src/main/webapp/images/Nokia_3100_blue.gif | Bin 0 -> 3157 bytes .../src/main/webapp/images/Nokia_3100_pink.gif | Bin 0 -> 3091 bytes .../backend/src/main/webapp/images/Nokia_3120.gif | Bin 0 -> 2045 bytes .../backend/src/main/webapp/images/Nokia_3220.gif | Bin 0 -> 3903 bytes .../src/main/webapp/images/Nokia_3230_black.gif | Bin 0 -> 2850 bytes .../src/main/webapp/images/Nokia_3230_bronze.gif | Bin 0 -> 2975 bytes .../backend/src/main/webapp/images/Nokia_3650.gif | Bin 0 -> 2395 bytes .../backend/src/main/webapp/images/Nokia_6010.gif | Bin 0 -> 2703 bytes .../backend/src/main/webapp/images/Nokia_6620.gif | Bin 0 -> 2686 bytes .../backend/src/main/webapp/images/Nokia_6630.gif | Bin 0 -> 2244 bytes .../backend/src/main/webapp/images/Nokia_6670.gif | Bin 0 -> 2681 bytes .../backend/src/main/webapp/images/Nokia_6680.gif | Bin 0 -> 2814 bytes .../backend/src/main/webapp/images/Nokia_6820.gif | Bin 0 -> 3091 bytes .../src/main/webapp/images/Nokia_7610_black.gif | Bin 0 -> 3708 bytes .../src/main/webapp/images/Nokia_7610_white.gif | Bin 0 -> 2811 bytes .../src/main/webapp/images/Nokia_9300_close.gif | Bin 0 -> 1971 bytes .../src/main/webapp/images/Nokia_9500_close.gif | Bin 0 -> 2866 bytes .../backend/src/main/webapp/images/Nokia_N90.gif | Bin 0 -> 2233 bytes .../backend/src/main/webapp/index.htm | 104 + .../backend/src/main/webapp/main.css | 138 + .../backend/src/main/webapp/testdrive.htm | 251 + samples/classic-turnkey-samples/frontend/pom.xml | 140 + .../frontend/runtimeconfig-messaging/asconfig.json | 19 + .../frontend/runtimeconfig-messaging/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../src/main/royale/ChatPanel.mxml | 135 + .../src/main/royale/Main.mxml | 128 + .../frontend/runtimeconfig-remoting/asconfig.json | 19 + .../frontend/runtimeconfig-remoting/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../src/main/royale/Main.mxml | 124 + .../frontend/testdrive-101/asconfig.json | 19 + .../frontend/testdrive-101/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../testdrive-101/src/main/royale/Main.mxml | 105 + .../testdrive-101/src/main/royale/ProductView.mxml | 64 + .../testdrive-101/src/main/royale/Thumb.mxml | 37 + .../frontend/testdrive-chat/asconfig.json | 19 + .../frontend/testdrive-chat/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../testdrive-chat/src/main/royale/Main.mxml | 109 + .../frontend/testdrive-datapush/asconfig.json | 19 + .../frontend/testdrive-datapush/pom.xml | 126 + .../src/main/resources/index-template.html | 30 + .../src/main/resources/startfeed.jsp | 26 + .../src/main/resources/stopfeed.jsp | 26 + .../testdrive-datapush/src/main/royale/Main.mxml | 90 + .../frontend/testdrive-httpservice/asconfig.json | 19 + .../frontend/testdrive-httpservice/pom.xml | 125 + .../src/main/resources/catalog.jsp | 42 + .../src/main/resources/index-template.html | 30 + .../src/main/royale/Main.mxml | 96 + .../frontend/testdrive-remoteobject/asconfig.json | 19 + .../frontend/testdrive-remoteobject/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../src/main/royale/Main.mxml | 105 + .../frontend/testdrive-update/asconfig.json | 19 + .../frontend/testdrive-update/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../testdrive-update/src/main/royale/Main.mxml | 110 + .../testdrive-update/src/main/royale/Product.as | 44 + .../src/main/royale/ProductForm.mxml | 84 + .../frontend/testdrive-webservice/asconfig.json | 19 + .../frontend/testdrive-webservice/pom.xml | 101 + .../src/main/resources/index-template.html | 30 + .../testdrive-webservice/src/main/royale/Main.mxml | 100 + samples/classic-turnkey-samples/pom.xml | 40 + .../sampledb/flexdemodb/flexdemodb.properties | 32 + .../sampledb/flexdemodb/flexdemodb.script | 20074 +++++++++++++++++++ .../sampledb/server.properties | 20 + .../classic-turnkey-samples/sampledb/startdb.bat | 17 + .../classic-turnkey-samples/sampledb/startdb.sh | 15 + .../classic-turnkey-samples/sampledb/stopdb.bat | 17 + samples/classic-turnkey-samples/sampledb/stopdb.sh | 15 + samples/hello-world/backend/pom.xml | 95 + .../blazeds/samples/hello/HelloWorldService.java | 28 + .../main/webapp/WEB-INF/flex/remoting-config.xml | 37 + .../main/webapp/WEB-INF/flex/services-config.xml | 84 + .../backend/src/main/webapp/WEB-INF/web.xml | 48 + samples/hello-world/frontend/asconfig.json | 19 + samples/hello-world/frontend/pom.xml | 117 + .../src/main/resources/index-template.html | 30 + .../hello-world/frontend/src/main/royale/Main.mxml | 79 + samples/hello-world/pom.xml | 40 + samples/pom.xml | 40 + 116 files changed, 27326 insertions(+), 19 deletions(-) diff --cc samples/classic-turnkey-samples/backend/pom.xml index 0000000,d27b0ba..7a5567e mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/backend/pom.xml +++ b/samples/classic-turnkey-samples/backend/pom.xml @@@ -1,0 -1,194 +1,194 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-backend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>war</packaging> + + <name>Apache Flex BlazeDS: Classic Turn Key Samples: Backend</name> + + <properties> + <java.version>1.8</java.version> + </properties> + + <build> + <sourceDirectory>src/main/java</sourceDirectory> + <finalName>samples</finalName> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <overlays> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-messaging</artifactId> + <targetPath>runtimeconfig-messaging</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-remoting</artifactId> + <targetPath>runtimeconfig-remoting</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-101</artifactId> + <targetPath>testdrive-101</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-chat</artifactId> + <targetPath>testdrive-chat</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-datapush</artifactId> + <targetPath>testdrive-datapush</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-httpservice</artifactId> + <targetPath>testdrive-httpservice</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-remoteobject</artifactId> + <targetPath>testdrive-remoteobject</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-update</artifactId> + <targetPath>testdrive-update</targetPath> + </overlay> + <overlay> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-webservice</artifactId> + <targetPath>testdrive-webservice</targetPath> + </overlay> + </overlays> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-common</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-core</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-proxy</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-remoting</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-opt-tomcat-base</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.10</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-messaging</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-remoting</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-101</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-chat</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-datapush</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-httpservice</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-remoteobject</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-update</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-webservice</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/pom.xml index 0000000,d42fc31..ed5608a mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/pom.xml +++ b/samples/classic-turnkey-samples/frontend/pom.xml @@@ -1,0 -1,140 +1,140 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex BlazeDS: Classic Turnkey Samples: Frontend</name> + + <modules> + <module>runtimeconfig-messaging</module> + <module>runtimeconfig-remoting</module> + <module>testdrive-101</module> + <module>testdrive-chat</module> + <module>testdrive-datapush</module> + <module>testdrive-httpservice</module> + <module>testdrive-remoteobject</module> + <module>testdrive-update</module> + <module>testdrive-webservice</module> + </modules> + + <properties> + <compiler.output-dir>${basedir}/target/javascript/bin/js-debug</compiler.output-dir> + <compiler.output-dir-debug>${basedir}/target/javascript/bin/js-debug</compiler.output-dir-debug> + <!-- In Release mode we only want to copy assets folder content to assets destination folder, the rest is managed by compiler --> + <compiler.output-dir-release>${basedir}/target/javascript/bin/js-release</compiler.output-dir-release> + <royale.framework.version>0.9.11-SNAPSHOT</royale.framework.version> + </properties> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <pluginManagement> + <plugins> + <!-- Copy the resources to the compiler output directory --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-resources-debug</id> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${compiler.output-dir-debug}</outputDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + <execution> + <id>copy-resources-release</id> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <!-- Copy the assets to the assets output directory --> + <outputDirectory>${compiler.output-dir-release}/assets</outputDirectory> + <resources> + <resource> + <directory>src/main/resources/assets</directory> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <version>0.9.11-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <keepAs3Metadata> + <name>Bindable</name> + <name>Managed</name> + <name>ChangeEvent</name> + <name>NonCommittingChangeEvent</name> + <name>Transient</name> + <name>Mixin</name> + </keepAs3Metadata> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>compiler-jx</artifactId> + <version>0.9.11-SNAPSHOT</version> + </dependency> + </dependencies> + </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> + </project> diff --cc samples/classic-turnkey-samples/frontend/runtimeconfig-messaging/pom.xml index 0000000,a321a36..98dd9fb mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/runtimeconfig-messaging/pom.xml +++ b/samples/classic-turnkey-samples/frontend/runtimeconfig-messaging/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-messaging</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Runtime Config Messaging</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/runtimeconfig-remoting/pom.xml index 0000000,5d57f4d..327037b mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/runtimeconfig-remoting/pom.xml +++ b/samples/classic-turnkey-samples/frontend/runtimeconfig-remoting/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>runtimeconfig-remoting</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Runtime Config Remoting</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-101/pom.xml index 0000000,b3b9c41..76fc168 mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-101/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-101/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-101</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive 101</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-chat/pom.xml index 0000000,796a834..8ca63cd mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-chat/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-chat/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-chat</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive Chat</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-datapush/pom.xml index 0000000,0dcf883..f8c8488 mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-datapush/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-datapush/pom.xml @@@ -1,0 -1,126 +1,126 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-datapush</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive Data Push</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-jsp-to-release</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <resources> + <resource> + <directory>${basedir}/src/main/resources/</directory> + <includes> + <include>startfeed.jsp</include> + <include>stopfeed.jsp</include> + </includes> + </resource> + </resources> + <outputDirectory>${project.build.directory}/javascript/bin/js-release/</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-httpservice/pom.xml index 0000000,c89f3c8..5bbca4f mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-httpservice/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-httpservice/pom.xml @@@ -1,0 -1,125 +1,125 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-httpservice</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive HTTPService</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-jsp-to-release</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <resources> + <resource> + <directory>${basedir}/src/main/resources/</directory> + <includes> + <include>catalog.jsp</include> + </includes> + </resource> + </resources> + <outputDirectory>${project.build.directory}/javascript/bin/js-release/</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-remoteobject/pom.xml index 0000000,4ba647d..b8b39ef mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-remoteobject/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-remoteobject/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-remoteobject</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive Remote Object</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-update/pom.xml index 0000000,8baabb8..5ddeedd mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-update/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-update/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-update</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive Update</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/frontend/testdrive-webservice/pom.xml index 0000000,929c1c9..c99079c mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/frontend/testdrive-webservice/pom.xml +++ b/samples/classic-turnkey-samples/frontend/testdrive-webservice/pom.xml @@@ -1,0 -1,101 +1,101 @@@ + <?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.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>testdrive-webservice</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Samples: Test Drive Web Service</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/target/javascript/bin/js-debug/index-template.html</htmlTemplate> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/classic-turnkey-samples/pom.xml index 0000000,8c8cb2d..ce7adc9 mode 000000,100644..100644 --- a/samples/classic-turnkey-samples/pom.xml +++ b/samples/classic-turnkey-samples/pom.xml @@@ -1,0 -1,40 +1,40 @@@ + <?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.flex.blazeds.samples</groupId> + <artifactId>blazeds-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.turnkey</groupId> + <artifactId>blazeds-classic-turnkey-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex BlazeDS: Classic Turnkey Samples</name> + + <modules> + <module>frontend</module> + <module>backend</module> + </modules> + </project> diff --cc samples/hello-world/backend/pom.xml index 0000000,a9f18ef..29e69a6 mode 000000,100644..100644 --- a/samples/hello-world/backend/pom.xml +++ b/samples/hello-world/backend/pom.xml @@@ -1,0 -1,95 +1,95 @@@ + <?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.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-sample</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-backend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>war</packaging> + + <name>Apache Flex BlazeDS: Hello World Sample: Backend</name> + + <properties> + <java.version>1.8</java.version> + </properties> + + <build> + <sourceDirectory>src/main/java</sourceDirectory> + <finalName>hello-world</finalName> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <overlays> + <overlay> + <groupId>org.apache.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-frontend</artifactId> + </overlay> + </overlays> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-common</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-core</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-proxy</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-remoting</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + </dependencies> + </project> diff --cc samples/hello-world/frontend/pom.xml index 0000000,c78e3d8..03f05f2 mode 000000,100644..100644 --- a/samples/hello-world/frontend/pom.xml +++ b/samples/hello-world/frontend/pom.xml @@@ -1,0 -1,117 +1,117 @@@ + <?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.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-sample</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-frontend</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex BlazeDS: Hello World Sample: Frontend</name> + + <build> + <sourceDirectory>src/main/royale</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-themes</id> + <phase>generate-resources</phase> + <configuration> + <includes>defaults.css</includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>royale-maven-plugin</artifactId> + <version>0.9.11-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <mainClass>Main.mxml</mainClass> + <targets>JSRoyale</targets> + <debug>false</debug> + <htmlTemplate>${basedir}/src/main/resources/index-template.html</htmlTemplate> + <keepAs3Metadata> + <name>Bindable</name> + <name>Managed</name> + <name>ChangeEvent</name> + <name>NonCommittingChangeEvent</name> + <name>Transient</name> + <name>Mixin</name> + </keepAs3Metadata> + <additionalCompilerOptions> + -js-dynamic-access-unknown-members=true; + -source-map=true; + </additionalCompilerOptions> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.royale.compiler</groupId> + <artifactId>compiler-jx</artifactId> + <version>0.9.11-SNAPSHOT</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>Jewel</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>JewelTheme</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <scope>theme</scope> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.royale.framework</groupId> + <artifactId>MXRoyaleBase</artifactId> + <version>0.9.11-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + </dependencies> + </project> diff --cc samples/hello-world/pom.xml index 0000000,13afc18..b8f1a6e mode 000000,100644..100644 --- a/samples/hello-world/pom.xml +++ b/samples/hello-world/pom.xml @@@ -1,0 -1,40 +1,40 @@@ + <?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.flex.blazeds.samples</groupId> + <artifactId>blazeds-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples.hello</groupId> + <artifactId>blazeds-hello-world-sample</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex BlazeDS: Hello World Sample</name> + + <modules> + <module>frontend</module> + <module>backend</module> + </modules> + </project> diff --cc samples/pom.xml index 0000000,235ac21..40fb9b9 mode 000000,100644..100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@@ -1,0 -1,40 +1,40 @@@ + <?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.flex.blazeds</groupId> + <artifactId>blazeds</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.blazeds.samples</groupId> + <artifactId>blazeds-samples</artifactId> - <version>4.9.0-SNAPSHOT</version> ++ <version>5.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex BlazeDS: Samples</name> + + <modules> + <module>hello-world</module> + <module>classic-turnkey-samples</module> + </modules> + </project>
