move maven-flex-plugin under flex-maven-tools
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/bfa34a48 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/bfa34a48 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/bfa34a48 Branch: refs/heads/develop Commit: bfa34a484bed53ebb4f41bb885378668dbc9441c Parents: bd17e63 Author: Alex Harui <[email protected]> Authored: Sun Jun 14 23:19:16 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Sun Jun 14 23:19:16 2015 -0700 ---------------------------------------------------------------------- .../maven-flex-plugin/components/api/pom.xml | 46 +++ .../maven/plugins/flex/compiler/Compiler.java | 25 ++ .../maven/plugins/flex/generator/Generator.java | 20 ++ .../maven/plugins/flex/optimizer/Optimizer.java | 20 ++ .../maven/plugins/flex/packager/Packager.java | 20 ++ .../flex/maven/plugins/flex/test/Test.java | 20 ++ .../components/compiler/compiler-asdoc/pom.xml | 74 +++++ .../flex/compiler/asdoc/AsdocCompilerImpl.java | 31 ++ .../components/compiler/compiler-compc/pom.xml | 74 +++++ .../flex/compiler/compc/CompcCompilerImpl.java | 31 ++ .../components/compiler/compiler-falcon/pom.xml | 74 +++++ .../compiler/falcon/FalconCompilerImpl.java | 31 ++ .../components/compiler/compiler-mxmlc/pom.xml | 74 +++++ .../flex/compiler/mxmlc/MxmlcCompilerImpl.java | 31 ++ .../components/compiler/pom.xml | 46 +++ .../generator/generator-constants/pom.xml | 47 +++ .../components/generator/generator-gas3/pom.xml | 47 +++ .../components/generator/pom.xml | 44 +++ .../optimizer/optimizer-apparat/pom.xml | 47 +++ .../components/optimizer/optimizer-flex/pom.xml | 47 +++ .../components/optimizer/pom.xml | 44 +++ .../components/packager/packager-air/pom.xml | 47 +++ .../components/packager/packager-war/pom.xml | 47 +++ .../components/packager/pom.xml | 44 +++ .../maven-flex-plugin/components/pom.xml | 53 ++++ .../maven-flex-plugin/components/test/pom.xml | 44 +++ .../components/test/test-flexunit/pom.xml | 47 +++ .../components/test/test-lib/pom.xml | 39 +++ .../examples/flexjs/flexjs-hello-world/pom.xml | 76 +++++ .../src/main/flex/FlexJSTest_basic.mxml | 53 ++++ .../src/main/flex/MyInitialView.mxml | 143 +++++++++ .../src/main/flex/StockDataJSONItemConverter.as | 38 +++ .../src/main/flex/controllers/MyController.as | 92 ++++++ .../src/main/flex/models/MyModel.as | 59 ++++ .../maven-flex-plugin/examples/flexjs/pom.xml | 40 +++ .../examples/i18n/compiled-locales/pom.xml | 40 +++ .../examples/i18n/compiled-locales/swf/pom.xml | 77 +++++ .../swf/src/main/flex/Main.mxml | 49 +++ .../main/locales/de_DE/myresources.properties | 19 ++ .../main/locales/en_US/myresources.properties | 19 ++ .../examples/i18n/compiled-locales/war/pom.xml | 124 ++++++++ .../war/src/main/webapp/WEB-INF/web.xml | 31 ++ .../examples/i18n/locale-chains/pom.xml | 40 +++ .../examples/i18n/locale-chains/swf/pom.xml | 79 +++++ .../locale-chains/swf/src/main/flex/Main.mxml | 63 ++++ .../main/locales/de_AT/myresources.properties | 19 ++ .../main/locales/de_DE/myresources.properties | 20 ++ .../main/locales/en_GB/myresources.properties | 19 ++ .../main/locales/en_US/myresources.properties | 21 ++ .../examples/i18n/locale-chains/war/pom.xml | 124 ++++++++ .../war/src/main/webapp/WEB-INF/web.xml | 31 ++ .../maven-flex-plugin/examples/i18n/pom.xml | 42 +++ .../examples/i18n/runtime-locales/pom.xml | 40 +++ .../examples/i18n/runtime-locales/swf/pom.xml | 77 +++++ .../runtime-locales/swf/src/main/flex/Main.mxml | 80 +++++ .../main/locales/de_DE/myresources.properties | 19 ++ .../main/locales/en_US/myresources.properties | 19 ++ .../examples/i18n/runtime-locales/war/pom.xml | 124 ++++++++ .../war/src/main/webapp/WEB-INF/web.xml | 31 ++ .../maven-flex-plugin/examples/mobile/pom.xml | 40 +++ .../examples/mobile/simple-air/pom.xml | 110 +++++++ .../mobile/simple-air/src/main/air/sign.p12 | Bin 0 -> 2482 bytes .../main/flex/SimpleAirMobileApplication.mxml | 27 ++ .../simple-air/src/main/flex/tabs/Tab1.mxml | 24 ++ .../simple-air/src/main/flex/tabs/Tab2.mxml | 24 ++ .../src/main/resources/descriptor.xml | 297 +++++++++++++++++++ .../maven-flex-plugin/examples/pom.xml | 120 ++++++++ .../plugins/maven-flex-plugin/pom.xml | 105 +++++++ .../maven/plugins/flex/AbstractFlexMojo.java | 6 + .../plugins/flex/compiler/CompilerMojo.java | 63 ++++ .../plugins/flex/generator/GeneratorMojo.java | 32 ++ .../plugins/flex/optimizer/OptimizerMojo.java | 32 ++ .../plugins/flex/packager/PackagerMojo.java | 32 ++ .../plugins/flex/test/TestCompilerMojo.java | 44 +++ .../plugins/flex/test/TestGeneratorMojo.java | 34 +++ .../maven/plugins/flex/test/TestRunnerMojo.java | 32 ++ .../resources/META-INF/plexus/components.xml | 109 +++++++ .../plugins/maven-mavenizer-plugin/pom.xml | 75 +++++ .../maven/plugins/mavenizer/MavenizerMojo.java | 41 +++ .../maven-flex-plugin/plugins/pom.xml | 46 +++ flex-maven-tools/maven-flex-plugin/pom.xml | 127 ++++++++ .../maven-flex-plugin/testsuite/pom.xml | 39 +++ .../concepts/flex/general/simple-swc/pom.xml | 45 +++ .../general/simple-swc/src/main/flex/Main.mxml | 23 ++ .../concepts/flex/general/simple-swf/pom.xml | 45 +++ .../general/simple-swf/src/main/flex/Main.mxml | 23 ++ maven-flex-plugin/components/api/pom.xml | 46 --- .../maven/plugins/flex/compiler/Compiler.java | 25 -- .../maven/plugins/flex/generator/Generator.java | 20 -- .../maven/plugins/flex/optimizer/Optimizer.java | 20 -- .../maven/plugins/flex/packager/Packager.java | 20 -- .../flex/maven/plugins/flex/test/Test.java | 20 -- .../components/compiler/compiler-asdoc/pom.xml | 74 ----- .../flex/compiler/asdoc/AsdocCompilerImpl.java | 31 -- .../components/compiler/compiler-compc/pom.xml | 74 ----- .../flex/compiler/compc/CompcCompilerImpl.java | 31 -- .../components/compiler/compiler-falcon/pom.xml | 74 ----- .../compiler/falcon/FalconCompilerImpl.java | 31 -- .../components/compiler/compiler-mxmlc/pom.xml | 74 ----- .../flex/compiler/mxmlc/MxmlcCompilerImpl.java | 31 -- maven-flex-plugin/components/compiler/pom.xml | 46 --- .../generator/generator-constants/pom.xml | 47 --- .../components/generator/generator-gas3/pom.xml | 47 --- maven-flex-plugin/components/generator/pom.xml | 44 --- .../optimizer/optimizer-apparat/pom.xml | 47 --- .../components/optimizer/optimizer-flex/pom.xml | 47 --- maven-flex-plugin/components/optimizer/pom.xml | 44 --- .../components/packager/packager-air/pom.xml | 47 --- .../components/packager/packager-war/pom.xml | 47 --- maven-flex-plugin/components/packager/pom.xml | 44 --- maven-flex-plugin/components/pom.xml | 53 ---- maven-flex-plugin/components/test/pom.xml | 44 --- .../components/test/test-flexunit/pom.xml | 47 --- .../components/test/test-lib/pom.xml | 39 --- .../examples/flexjs/flexjs-hello-world/pom.xml | 76 ----- .../src/main/flex/FlexJSTest_basic.mxml | 53 ---- .../src/main/flex/MyInitialView.mxml | 143 --------- .../src/main/flex/StockDataJSONItemConverter.as | 38 --- .../src/main/flex/controllers/MyController.as | 92 ------ .../src/main/flex/models/MyModel.as | 59 ---- maven-flex-plugin/examples/flexjs/pom.xml | 40 --- .../examples/i18n/compiled-locales/pom.xml | 40 --- .../examples/i18n/compiled-locales/swf/pom.xml | 77 ----- .../swf/src/main/flex/Main.mxml | 49 --- .../main/locales/de_DE/myresources.properties | 19 -- .../main/locales/en_US/myresources.properties | 19 -- .../examples/i18n/compiled-locales/war/pom.xml | 124 -------- .../war/src/main/webapp/WEB-INF/web.xml | 31 -- .../examples/i18n/locale-chains/pom.xml | 40 --- .../examples/i18n/locale-chains/swf/pom.xml | 79 ----- .../locale-chains/swf/src/main/flex/Main.mxml | 63 ---- .../main/locales/de_AT/myresources.properties | 19 -- .../main/locales/de_DE/myresources.properties | 20 -- .../main/locales/en_GB/myresources.properties | 19 -- .../main/locales/en_US/myresources.properties | 21 -- .../examples/i18n/locale-chains/war/pom.xml | 124 -------- .../war/src/main/webapp/WEB-INF/web.xml | 31 -- maven-flex-plugin/examples/i18n/pom.xml | 42 --- .../examples/i18n/runtime-locales/pom.xml | 40 --- .../examples/i18n/runtime-locales/swf/pom.xml | 77 ----- .../runtime-locales/swf/src/main/flex/Main.mxml | 80 ----- .../main/locales/de_DE/myresources.properties | 19 -- .../main/locales/en_US/myresources.properties | 19 -- .../examples/i18n/runtime-locales/war/pom.xml | 124 -------- .../war/src/main/webapp/WEB-INF/web.xml | 31 -- maven-flex-plugin/examples/mobile/pom.xml | 40 --- .../examples/mobile/simple-air/pom.xml | 110 ------- .../mobile/simple-air/src/main/air/sign.p12 | Bin 2482 -> 0 bytes .../main/flex/SimpleAirMobileApplication.mxml | 27 -- .../simple-air/src/main/flex/tabs/Tab1.mxml | 24 -- .../simple-air/src/main/flex/tabs/Tab2.mxml | 24 -- .../src/main/resources/descriptor.xml | 297 ------------------- maven-flex-plugin/examples/pom.xml | 120 -------- .../plugins/maven-flex-plugin/pom.xml | 105 ------- .../maven/plugins/flex/AbstractFlexMojo.java | 6 - .../plugins/flex/compiler/CompilerMojo.java | 63 ---- .../plugins/flex/generator/GeneratorMojo.java | 32 -- .../plugins/flex/optimizer/OptimizerMojo.java | 32 -- .../plugins/flex/packager/PackagerMojo.java | 32 -- .../plugins/flex/test/TestCompilerMojo.java | 44 --- .../plugins/flex/test/TestGeneratorMojo.java | 34 --- .../maven/plugins/flex/test/TestRunnerMojo.java | 32 -- .../resources/META-INF/plexus/components.xml | 109 ------- .../plugins/maven-mavenizer-plugin/pom.xml | 75 ----- .../maven/plugins/mavenizer/MavenizerMojo.java | 41 --- maven-flex-plugin/plugins/pom.xml | 46 --- maven-flex-plugin/pom.xml | 127 -------- maven-flex-plugin/testsuite/pom.xml | 39 --- .../concepts/flex/general/simple-swc/pom.xml | 45 --- .../general/simple-swc/src/main/flex/Main.mxml | 23 -- .../concepts/flex/general/simple-swf/pom.xml | 45 --- .../general/simple-swf/src/main/flex/Main.mxml | 23 -- 172 files changed, 4517 insertions(+), 4517 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/pom.xml b/flex-maven-tools/maven-flex-plugin/components/api/pom.xml new file mode 100644 index 0000000..e153d2f --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/pom.xml @@ -0,0 +1,46 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / API</name> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java new file mode 100644 index 0000000..8de3e0c --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java @@ -0,0 +1,25 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.compiler; + +import org.apache.maven.project.MavenProject; + +public interface Compiler { + + void compile(MavenProject project); + +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java new file mode 100644 index 0000000..89ba054 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java @@ -0,0 +1,20 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.generator; + +public interface Generator { +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java new file mode 100644 index 0000000..0ccd766 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java @@ -0,0 +1,20 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.optimizer; + +public interface Optimizer { +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java new file mode 100644 index 0000000..11ea9c3 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java @@ -0,0 +1,20 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.packager; + +public interface Packager { +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java new file mode 100644 index 0000000..3fda4d3 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java @@ -0,0 +1,20 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.test; + +public interface Test { +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml new file mode 100644 index 0000000..9ee41fc --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml @@ -0,0 +1,74 @@ +<?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.components</groupId> + <artifactId>compiler</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>compiler-asdoc</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Compiler / ASDoc</name> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.5.5</version> + <executions> + <execution> + <id>process-classes</id> + <goals> + <goal>generate-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java new file mode 100644 index 0000000..1e3fc2c --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java @@ -0,0 +1,31 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.compiler.asdoc; + +import org.apache.flex.maven.plugins.flex.compiler.Compiler; +import org.apache.maven.project.MavenProject; +import org.codehaus.plexus.component.annotations.Component; + +@Component(role = Compiler.class, hint = "asdoc") +public class AsdocCompilerImpl implements Compiler { + + @Override + public void compile(MavenProject project) { + System.out.println("Executing compile: Asdoc"); + } + +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/pom.xml b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/pom.xml new file mode 100644 index 0000000..9ea436c --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/pom.xml @@ -0,0 +1,74 @@ +<?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.components</groupId> + <artifactId>compiler</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>compiler-compc</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Compiler / Compc</name> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.5.5</version> + <executions> + <execution> + <id>process-classes</id> + <goals> + <goal>generate-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java new file mode 100644 index 0000000..4f6b455 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java @@ -0,0 +1,31 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.compiler.compc; + +import org.apache.flex.maven.plugins.flex.compiler.Compiler; +import org.apache.maven.project.MavenProject; +import org.codehaus.plexus.component.annotations.Component; + +@Component(role = Compiler.class, hint = "compc") +public class CompcCompilerImpl implements Compiler { + + @Override + public void compile(MavenProject project) { + System.out.println("Executing compile: Compc"); + } + +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/pom.xml b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/pom.xml new file mode 100644 index 0000000..eae9748 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/pom.xml @@ -0,0 +1,74 @@ +<?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.components</groupId> + <artifactId>compiler</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>compiler-falcon</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Compiler / Falcon</name> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.5.5</version> + <executions> + <execution> + <id>process-classes</id> + <goals> + <goal>generate-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java new file mode 100644 index 0000000..3613772 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java @@ -0,0 +1,31 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.compiler.falcon; + +import org.apache.flex.maven.plugins.flex.compiler.Compiler; +import org.apache.maven.project.MavenProject; +import org.codehaus.plexus.component.annotations.Component; + +@Component(role = Compiler.class, hint = "falcon") +public class FalconCompilerImpl implements Compiler { + + @Override + public void compile(MavenProject project) { + System.out.println("Executing compile: Falcon"); + } + +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/pom.xml b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/pom.xml new file mode 100644 index 0000000..86200d7 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/pom.xml @@ -0,0 +1,74 @@ +<?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.components</groupId> + <artifactId>compiler</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>compiler-mxmlc</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Compiler / MXMLC</name> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.5.5</version> + <executions> + <execution> + <id>process-classes</id> + <goals> + <goal>generate-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java new file mode 100644 index 0000000..038fc1f --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java @@ -0,0 +1,31 @@ +/* + * 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. + */ +package org.apache.flex.maven.plugins.flex.compiler.mxmlc; + +import org.apache.flex.maven.plugins.flex.compiler.Compiler; +import org.apache.maven.project.MavenProject; +import org.codehaus.plexus.component.annotations.Component; + +@Component(role = Compiler.class, hint = "mxmlc") +public class MxmlcCompilerImpl implements Compiler { + + @Override + public void compile(MavenProject project) { + System.out.println("Executing compile: MXMLC"); + } + +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/compiler/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/compiler/pom.xml b/flex-maven-tools/maven-flex-plugin/components/compiler/pom.xml new file mode 100644 index 0000000..fa7b345 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/compiler/pom.xml @@ -0,0 +1,46 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>compiler</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components / Compiler</name> + + <modules> + <module>compiler-falcon</module> + <module>compiler-mxmlc</module> + <module>compiler-compc</module> + <module>compiler-asdoc</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/generator/generator-constants/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/generator/generator-constants/pom.xml b/flex-maven-tools/maven-flex-plugin/components/generator/generator-constants/pom.xml new file mode 100644 index 0000000..258e89f --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/generator/generator-constants/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>generator</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>generator-constants</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Generator / Constants</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/generator/generator-gas3/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/generator/generator-gas3/pom.xml b/flex-maven-tools/maven-flex-plugin/components/generator/generator-gas3/pom.xml new file mode 100644 index 0000000..a7cac24 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/generator/generator-gas3/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>generator</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>generator-gas3</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Generator / GAS3</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/generator/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/generator/pom.xml b/flex-maven-tools/maven-flex-plugin/components/generator/pom.xml new file mode 100644 index 0000000..738941c --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/generator/pom.xml @@ -0,0 +1,44 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>generator</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components / Generator</name> + + <modules> + <module>generator-constants</module> + <module>generator-gas3</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-apparat/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-apparat/pom.xml b/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-apparat/pom.xml new file mode 100644 index 0000000..cc4aaa8 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-apparat/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>optimizer</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>optimizer-apparat</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Optimizer / Apparat</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-flex/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-flex/pom.xml b/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-flex/pom.xml new file mode 100644 index 0000000..85ff825 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/optimizer/optimizer-flex/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>optimizer</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>optimizer-flex</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Optimizer / Flex</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/optimizer/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/optimizer/pom.xml b/flex-maven-tools/maven-flex-plugin/components/optimizer/pom.xml new file mode 100644 index 0000000..58a2986 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/optimizer/pom.xml @@ -0,0 +1,44 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>optimizer</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components / Optimizer</name> + + <modules> + <module>optimizer-flex</module> + <module>optimizer-apparat</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/packager/packager-air/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/packager/packager-air/pom.xml b/flex-maven-tools/maven-flex-plugin/components/packager/packager-air/pom.xml new file mode 100644 index 0000000..c8e50ca --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/packager/packager-air/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>packager</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>packager-air</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Packager / AIR</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/packager/packager-war/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/packager/packager-war/pom.xml b/flex-maven-tools/maven-flex-plugin/components/packager/packager-war/pom.xml new file mode 100644 index 0000000..1ee8825 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/packager/packager-war/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>packager</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>packager-war</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Packager / WAR</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/packager/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/packager/pom.xml b/flex-maven-tools/maven-flex-plugin/components/packager/pom.xml new file mode 100644 index 0000000..d0793ae --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/packager/pom.xml @@ -0,0 +1,44 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>packager</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components / Packager</name> + + <modules> + <module>packager-war</module> + <module>packager-air</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/pom.xml b/flex-maven-tools/maven-flex-plugin/components/pom.xml new file mode 100644 index 0000000..c374076 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/pom.xml @@ -0,0 +1,53 @@ +<?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</groupId> + <artifactId>flex-plugin-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components</name> + + <modules> + <module>api</module> + <!-- Generate code --> + <module>generator</module> + <!-- Flex & ActionScript compiler --> + <module>compiler</module> + <!-- Integrate the execution of Flexunit tests --> + <module>test</module> + <!-- Optimize SWFs and SWCs --> + <module>optimizer</module> + <!-- Copy a Flex projects resources to a war project --> + <module>packager</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/test/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/test/pom.xml b/flex-maven-tools/maven-flex-plugin/components/test/pom.xml new file mode 100644 index 0000000..f1cdd31 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/test/pom.xml @@ -0,0 +1,44 @@ +<?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.components</groupId> + <artifactId>components</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>test</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Components / Test</name> + + <modules> + <module>test-flexunit</module> + <module>test-lib</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/test/test-flexunit/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/test/test-flexunit/pom.xml b/flex-maven-tools/maven-flex-plugin/components/test/test-flexunit/pom.xml new file mode 100644 index 0000000..28f7149 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/test/test-flexunit/pom.xml @@ -0,0 +1,47 @@ +<?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.components</groupId> + <artifactId>test</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>test-flexunit</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Test / FlexUnit</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.components</groupId> + <artifactId>api</artifactId> + <version>1.0.0-SNAPSHOT</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/components/test/test-lib/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/components/test/test-lib/pom.xml b/flex-maven-tools/maven-flex-plugin/components/test/test-lib/pom.xml new file mode 100644 index 0000000..21c4f1e --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/components/test/test-lib/pom.xml @@ -0,0 +1,39 @@ +<?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.components</groupId> + <artifactId>test</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.components</groupId> + <artifactId>test-lib</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Components / Test / Client-Lib</name> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/pom.xml b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/pom.xml new file mode 100644 index 0000000..3ad9c85 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/pom.xml @@ -0,0 +1,76 @@ +<?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.examples.flexjs</groupId> + <artifactId>flexjs</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <artifactId>flexjs-hello-world</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <build> + <sourceDirectory>src/main/flex</sourceDirectory> + <plugins> + <plugin> + <groupId>net.flexmojos.oss</groupId> + <artifactId>flexmojos-maven-plugin</artifactId> + <version>7.1.0-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <sourceFile>FlexJSTest_basic.mxml</sourceFile> + <!--compilerName>Falcon</compilerName--> + <compilerName>FlexJS</compilerName> + <debug>true</debug> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.flex.compiler</groupId> + <artifactId>falcon-jx-compiler</artifactId> + <version>0.0.3-SNAPSHOT</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs</groupId> + <artifactId>framework</artifactId> + <version>0.0.3-SNAPSHOT</version> + <type>pom</type> + </dependency> + <!-- This is still only needed to satisfy check in Flexmojos --> + <dependency> + <groupId>com.adobe.flash.framework</groupId> + <artifactId>playerglobal</artifactId> + <version>14.0</version> + <type>swc</type> + </dependency> + </dependencies> + +</project> http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml new file mode 100644 index 0000000..b000196 --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml @@ -0,0 +1,53 @@ +<?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. + +--> +<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:local="*" + xmlns:basic="library://ns.apache.org/flexjs/basic" + xmlns:models="models.*" + xmlns:controllers="controllers.*" + initialize="MyModel(model).labelText='Hello World'"> + + <fx:Script><![CDATA[ import models.MyModel; ]]></fx:Script> + + <basic:valuesImpl> + <basic:SimpleCSSValuesImpl /> + </basic:valuesImpl> + <basic:initialView> + <local:MyInitialView /> + </basic:initialView> + <basic:model> + <models:MyModel /> + </basic:model> + <basic:controller> + <controllers:MyController /> + </basic:controller> + <basic:beads> + <basic:HTTPService id="service"> + <basic:LazyCollection id="collection"> + <basic:inputParser> + <basic:JSONInputParser /> + </basic:inputParser> + <basic:itemConverter> + <local:StockDataJSONItemConverter /> + </basic:itemConverter> + </basic:LazyCollection> + </basic:HTTPService> + </basic:beads> +</basic:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/MyInitialView.mxml b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/MyInitialView.mxml new file mode 100644 index 0000000..9a910cc --- /dev/null +++ b/flex-maven-tools/maven-flex-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/MyInitialView.mxml @@ -0,0 +1,143 @@ +<?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. + +--> +<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:basic="library://ns.apache.org/flexjs/basic" + > + <fx:Script> + <![CDATA[ + import org.apache.flex.events.CustomEvent; + import org.apache.flex.events.Event; + import org.apache.flex.utils.Timer; + + private var timer:org.apache.flex.utils.Timer; + + public function get symbol():String + { + return list.selectedItem as String; + } + + public function get city():String + { + return cityList.selectedItem as String; + } + + public function get inputText():String + { + return input.text; + } + + public function get comboBoxValue():String + { + return String(comboBox.selectedItem); + } + + public function startTimer():void + { + timer = new org.apache.flex.utils.Timer(1000); + timer.addEventListener('timer', timerHandler); + timer.start() + } + + public function timerHandler(event:org.apache.flex.events.Event):void + { + timerLabel.text = timer.currentCount.toString(); + } + ]]> + </fx:Script> + <fx:Style> + @namespace basic "library://ns.apache.org/flexjs/basic"; + + .skinned { + background-image: url('ButtonImageUp.png'); + border-style: none; + } + + .skinned:hover { + background-image: url('ButtonImageOver.png'); + } + + .skinned:active { + background-image: url('ButtonImageDown.png'); + } + + </fx:Style> + <basic:Label id="lbl" x="100" y="25" > + <basic:beads> + <basic:SimpleBinding eventName="labelTextChanged" + sourceID="applicationModel" + sourcePropertyName="labelText" + destinationPropertyName="text" /> + </basic:beads> + </basic:Label> + <basic:TextButton text="Start Timer" x="100" y="75" click="startTimer()" /> + <basic:TextButton text="Stop Timer" x="100" y="100" click="timer.removeEventListener('timer', timerHandler);timer.stop()" /> + <basic:Label id="timerLabel" x="100" y="125" /> + + <basic:List id="cityList" x="200" y="75" width="100" height="75" change="dispatchEvent(new CustomEvent('cityListChanged'))"> + <basic:beads> + <basic:ConstantBinding + sourceID="applicationModel" + sourcePropertyName="cities" + destinationPropertyName="dataProvider" /> + </basic:beads> + </basic:List> + + <basic:TextArea x="320" y="25" width="150" height="75"> + <basic:beads> + <basic:SimpleBinding eventName="labelTextChanged" + sourceID="applicationModel" + sourcePropertyName="labelText" + destinationPropertyName="text" /> + </basic:beads> + </basic:TextArea> + <basic:TextInput id="input" x="320" y="110" /> + <basic:TextButton text="Transfer" x="320" y="138" click="dispatchEvent(new CustomEvent('transferClicked'))" /> + + <basic:CheckBox id="checkbox" x="320" y="170" text="Check Me" /> + + <basic:RadioButton groupName="group1" text="Apples" value="0" x="100" y="150" /> + <basic:RadioButton groupName="group1" text="Oranges" value="1" x="100" y="170" selected="true" /> + <basic:RadioButton groupName="group1" text="Grapes" value="2" x="100" y="190" /> + + <basic:RadioButton groupName="group2" text="Red" value="red" x="100" y="250" selected="true" /> + <basic:RadioButton groupName="group2" text="Green" value="green" x="100" y="270" /> + <basic:RadioButton groupName="group2" text="Blue" value="blue" x="100" y="290" /> + + <basic:DropDownList id="list" x="200" y="200" width="100" height="18" change="dispatchEvent(new CustomEvent('listChanged'))"> + <basic:beads> + <basic:ConstantBinding + sourceID="applicationModel" + sourcePropertyName="strings" + destinationPropertyName="dataProvider" /> + </basic:beads> + </basic:DropDownList> + <basic:TextButton text="OK" x="200" y="230" click="dispatchEvent(new CustomEvent('buttonClicked'))" /> + <basic:TextButton text="Skinned" x="200" y="260" width="80" height="24" className="skinned" click="dispatchEvent(new CustomEvent('buttonClicked'))" /> + + <basic:ComboBox id="comboBox" x="320" y="200" width="100" change="dispatchEvent(new CustomEvent('comboBoxChanged'))"> + <basic:beads> + <basic:ConstantBinding + sourceID="applicationModel" + sourcePropertyName="cities" + destinationPropertyName="dataProvider" /> + </basic:beads> + </basic:ComboBox> + +</basic:ViewBase>
