Repository: flex-asjs Updated Branches: refs/heads/develop ba3140bee -> f208da8d9
maven build for ModuleExample. Module artifacts are not copied into the MainApp (yet) Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f208da8d Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f208da8d Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f208da8d Branch: refs/heads/develop Commit: f208da8d9a7836a6100b8426faf0ca08c9fed71e Parents: ba3140b Author: Alex Harui <aha...@apache.org> Authored: Wed Aug 16 10:08:26 2017 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Wed Aug 16 10:08:26 2017 -0700 ---------------------------------------------------------------------- examples/flexjs/ModuleExample/MainApp/pom.xml | 60 ++++++++ examples/flexjs/ModuleExample/Module/pom.xml | 60 ++++++++ examples/flexjs/ModuleExample/pom.xml | 162 +++++++++++++++++++++ examples/flexjs/pom.xml | 1 + 4 files changed, 283 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f208da8d/examples/flexjs/ModuleExample/MainApp/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ModuleExample/MainApp/pom.xml b/examples/flexjs/ModuleExample/MainApp/pom.xml new file mode 100644 index 0000000..8fc88e2 --- /dev/null +++ b/examples/flexjs/ModuleExample/MainApp/pom.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.flex.flexjs.examples</groupId> + <artifactId>examples-flexjs-ModuleExample</artifactId> + <version>0.9.0-SNAPSHOT</version> + </parent> + + <artifactId>MainApp</artifactId> + <version>0.9.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex - FlexJS: Examples: FlexJS: ModuleExample: MainApp</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flexjs-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>MainApp.mxml</mainClass> + <debug>false</debug> + <additionalCompilerOptions>-js-compiler-option=--variable_map_output_file gccvars.txt;-js-compiler-option+=--property_map_output_file gccprops.txt</additionalCompilerOptions> + </configuration> + </plugin> + </plugins> + </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> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f208da8d/examples/flexjs/ModuleExample/Module/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ModuleExample/Module/pom.xml b/examples/flexjs/ModuleExample/Module/pom.xml new file mode 100644 index 0000000..2001b0a --- /dev/null +++ b/examples/flexjs/ModuleExample/Module/pom.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.flex.flexjs.examples</groupId> + <artifactId>examples-flexjs-ModuleExample</artifactId> + <version>0.9.0-SNAPSHOT</version> + </parent> + + <artifactId>Module</artifactId> + <version>0.9.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex - FlexJS: Examples: FlexJS: ModuleExample: Module</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flexjs-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <mainClass>Module.mxml</mainClass> + <debug>false</debug> + <additionalCompilerOptions>-js-compiler-option=--variable_map_input_file ../../../../../MainApp/target/javascript/bin/js-release/gccvars.txt;-js-compiler-option+=--property_map_input_file ../../../../../MainApp/target/javascript/bin/js-release/gccprops.txt</additionalCompilerOptions> + </configuration> + </plugin> + </plugins> + </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> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f208da8d/examples/flexjs/ModuleExample/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ModuleExample/pom.xml b/examples/flexjs/ModuleExample/pom.xml new file mode 100644 index 0000000..3e48e85 --- /dev/null +++ b/examples/flexjs/ModuleExample/pom.xml @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.flex.flexjs.examples</groupId> + <artifactId>examples-flexjs</artifactId> + <version>0.9.0-SNAPSHOT</version> + </parent> + + <artifactId>examples-flexjs-ModuleExample</artifactId> + <version>0.9.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex - FlexJS: Examples: FlexJS: ModuleExample</name> + + <modules> + <module>MainApp</module> + <module>Module</module> + </modules> + + <!-- + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.19.1</version> + <executions> + <execution> + <id>tests-default</id> + <phase>integration-test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <dependenciesToScan> + <dependency>org.apache.flex.flexjs.examples:examples-tests</dependency> + </dependenciesToScan> + <systemPropertyVariables> + <artifactId>${project.artifactId}</artifactId> + <version>${project.version}</version> + <type>${project.packaging}</type> + <targets>${project.build.plugins.plugin.configuration.targets}</targets> + <buildDirectory>${project.build.directory}</buildDirectory> + </systemPropertyVariables> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + --> + + <dependencies> + <!-- + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Core</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Core</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Language</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Language</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>HTML</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>HTML</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Collections</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Collections</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Binding</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Binding</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Graphics</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>swf</classifier> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Graphics</artifactId> + <version>0.9.0-SNAPSHOT</version> + <type>swc</type> + <classifier>js</classifier> + </dependency> + --> + </dependencies> + +</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f208da8d/examples/flexjs/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml index 14abd70..2de6a5a 100644 --- a/examples/flexjs/pom.xml +++ b/examples/flexjs/pom.xml @@ -53,6 +53,7 @@ <!--module>MDLBlogExample</module>--> <module>MDLDynamicTabsExample</module> <module>MDLExample</module> + <module>ModuleExample</module> <module>MobileMap</module> <module>MobileStocks</module> <module>MobileTrader</module>