- Renamed the root directory - Renamed the artifact of the maven-extension to flex-sdk-converter-maven-extension
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/8bc0350d Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/8bc0350d Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/8bc0350d Branch: refs/heads/develop Commit: 8bc0350d2c8f61ded3f565191c41e5e604353756 Parents: 57a4127 Author: Christofer Dutz <[email protected]> Authored: Thu Jul 23 11:30:09 2015 +0200 Committer: Christofer Dutz <[email protected]> Committed: Thu Jul 23 11:30:11 2015 +0200 ---------------------------------------------------------------------- .../flex-maven-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 ++ .../flex-maven-plugin/components/pom.xml | 53 ++ .../flex-maven-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 ++ .../flex-maven-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 + .../flex-maven-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 + .../flex-maven-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 ++++++++ .../flex-maven-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 ++ .../flex-maven-plugin/plugins/pom.xml | 46 ++ flex-maven-tools/flex-maven-plugin/pom.xml | 127 ++++ .../flex-maven-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 + flex-maven-tools/flex-sdk-converter/LICENSE | 203 +++++ flex-maven-tools/flex-sdk-converter/NOTICE | 5 + flex-maven-tools/flex-sdk-converter/README.txt | 222 ++++++ .../flex-sdk-converter/RELEASE_NOTES | 19 + flex-maven-tools/flex-sdk-converter/cli/pom.xml | 107 +++ .../converter/core/SdkConverterCLI.java | 394 ++++++++++ .../flex-sdk-converter/converters/air/pom.xml | 41 ++ .../utilities/converter/air/AirConverter.java | 431 +++++++++++ .../flex-sdk-converter/converters/base/pom.xml | 51 ++ .../flex/utilities/converter/BaseConverter.java | 426 +++++++++++ .../flex/utilities/converter/Converter.java | 28 + .../exceptions/ConverterException.java | 32 + .../converter/model/MavenArtifact.java | 168 +++++ .../src/main/resources/templates/default.ftl | 41 ++ .../base/src/main/resources/templates/pom.ftl | 55 ++ .../flex-sdk-converter/converters/flash/pom.xml | 46 ++ .../converter/flash/FlashConverter.java | 286 ++++++++ .../flex-sdk-converter/converters/flex/pom.xml | 64 ++ .../utilities/converter/flex/FlexConverter.java | 735 +++++++++++++++++++ .../converters/fontkit/pom.xml | 41 ++ .../converter/fontkit/FontkitConverter.java | 74 ++ .../flex-sdk-converter/converters/pom.xml | 45 ++ .../converters/wrapper/pom.xml | 41 ++ .../converter/wrapper/WrapperConverter.java | 93 +++ .../flex-sdk-converter/deployers/aether/pom.xml | 125 ++++ .../deployer/aether/AetherDeployer.java | 248 +++++++ .../flex-sdk-converter/deployers/maven/pom.xml | 67 ++ .../converter/deployer/maven/MavenDeployer.java | 185 +++++ .../flex-sdk-converter/deployers/pom.xml | 38 + .../flex-sdk-converter/maven-extension/pom.xml | 118 +++ .../converter/mavenextension/FlexEventSpy.java | 294 ++++++++ flex-maven-tools/flex-sdk-converter/pom.xml | 80 ++ .../flex-sdk-converter/retrievers/base/pom.xml | 69 ++ .../converter/retrievers/BaseRetriever.java | 116 +++ .../converter/retrievers/Retriever.java | 36 + .../exceptions/RetrieverException.java | 32 + .../retrievers/model/ProxySettings.java | 48 ++ .../retrievers/types/PlatformType.java | 49 ++ .../converter/retrievers/types/SdkType.java | 30 + .../converter/retrievers/utils/ProgressBar.java | 47 ++ .../retrievers/types/PlatformTypeTest.java | 69 ++ .../retrievers/download/pom.xml | 67 ++ .../retrievers/download/DownloadRetriever.java | 496 +++++++++++++ .../retrievers/download/SystemIdHelper.java | 35 + .../src/main/resources/message.properties | 25 + .../retrievers/download/ProxyTest.java | 88 +++ .../flex-sdk-converter/retrievers/pom.xml | 38 + .../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 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 -- 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 - flex-maven-tools/mavenizer/LICENSE | 203 ----- flex-maven-tools/mavenizer/NOTICE | 5 - flex-maven-tools/mavenizer/README.txt | 222 ------ flex-maven-tools/mavenizer/RELEASE_NOTES | 19 - flex-maven-tools/mavenizer/cli/pom.xml | 107 --- .../converter/core/SdkConverterCLI.java | 394 ---------- .../mavenizer/converters/air/pom.xml | 41 -- .../utilities/converter/air/AirConverter.java | 431 ----------- .../mavenizer/converters/base/pom.xml | 51 -- .../flex/utilities/converter/BaseConverter.java | 426 ----------- .../flex/utilities/converter/Converter.java | 28 - .../exceptions/ConverterException.java | 32 - .../converter/model/MavenArtifact.java | 168 ----- .../src/main/resources/templates/default.ftl | 41 -- .../base/src/main/resources/templates/pom.ftl | 55 -- .../mavenizer/converters/flash/pom.xml | 46 -- .../converter/flash/FlashConverter.java | 286 -------- .../mavenizer/converters/flex/pom.xml | 64 -- .../utilities/converter/flex/FlexConverter.java | 735 ------------------- .../mavenizer/converters/fontkit/pom.xml | 41 -- .../converter/fontkit/FontkitConverter.java | 74 -- flex-maven-tools/mavenizer/converters/pom.xml | 45 -- .../mavenizer/converters/wrapper/pom.xml | 41 -- .../converter/wrapper/WrapperConverter.java | 93 --- .../mavenizer/deployers/aether/pom.xml | 125 ---- .../deployer/aether/AetherDeployer.java | 248 ------- .../mavenizer/deployers/maven/pom.xml | 67 -- .../converter/deployer/maven/MavenDeployer.java | 185 ----- flex-maven-tools/mavenizer/deployers/pom.xml | 38 - .../mavenizer/maven-extension/pom.xml | 118 --- .../converter/mavenextension/FlexEventSpy.java | 294 -------- flex-maven-tools/mavenizer/pom.xml | 80 -- .../mavenizer/retrievers/base/pom.xml | 69 -- .../converter/retrievers/BaseRetriever.java | 116 --- .../converter/retrievers/Retriever.java | 36 - .../exceptions/RetrieverException.java | 32 - .../retrievers/model/ProxySettings.java | 48 -- .../retrievers/types/PlatformType.java | 49 -- .../converter/retrievers/types/SdkType.java | 30 - .../converter/retrievers/utils/ProgressBar.java | 47 -- .../retrievers/types/PlatformTypeTest.java | 69 -- .../mavenizer/retrievers/download/pom.xml | 67 -- .../retrievers/download/DownloadRetriever.java | 496 ------------- .../retrievers/download/SystemIdHelper.java | 35 - .../src/main/resources/message.properties | 25 - .../retrievers/download/ProxyTest.java | 88 --- flex-maven-tools/mavenizer/retrievers/pom.xml | 38 - 266 files changed, 10565 insertions(+), 10565 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/pom.xml b/flex-maven-tools/flex-maven-plugin/components/api/pom.xml new file mode 100644 index 0000000..8e6b3c9 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java b/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java new file mode 100644 index 0000000..85a3da5 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java b/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java new file mode 100644 index 0000000..8dfa31c --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java b/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java new file mode 100644 index 0000000..70b2ac7 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java b/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java new file mode 100644 index 0000000..3dbca0d --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java b/flex-maven-tools/flex-maven-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java new file mode 100644 index 0000000..123970d --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/pom.xml b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/pom.xml new file mode 100644 index 0000000..615237f --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java new file mode 100644 index 0000000..cac80b6 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/pom.xml b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/pom.xml new file mode 100644 index 0000000..00fa678 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-compc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/compc/CompcCompilerImpl.java new file mode 100644 index 0000000..0a6531d --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/pom.xml b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/pom.xml new file mode 100644 index 0000000..35f55cb --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-falcon/src/main/java/org/apache/flex/maven/plugins/flex/compiler/falcon/FalconCompilerImpl.java new file mode 100644 index 0000000..ccf6afc --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/pom.xml b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/pom.xml new file mode 100644 index 0000000..8b0c2b9 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java b/flex-maven-tools/flex-maven-plugin/components/compiler/compiler-mxmlc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/mxmlc/MxmlcCompilerImpl.java new file mode 100644 index 0000000..dd976b1 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/compiler/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/compiler/pom.xml b/flex-maven-tools/flex-maven-plugin/components/compiler/pom.xml new file mode 100644 index 0000000..fa114e0 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/generator/generator-constants/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/generator/generator-constants/pom.xml b/flex-maven-tools/flex-maven-plugin/components/generator/generator-constants/pom.xml new file mode 100644 index 0000000..5aea4d4 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/generator/generator-gas3/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/generator/generator-gas3/pom.xml b/flex-maven-tools/flex-maven-plugin/components/generator/generator-gas3/pom.xml new file mode 100644 index 0000000..d14d97d --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/generator/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/generator/pom.xml b/flex-maven-tools/flex-maven-plugin/components/generator/pom.xml new file mode 100644 index 0000000..1defbca --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-apparat/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-apparat/pom.xml b/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-apparat/pom.xml new file mode 100644 index 0000000..8590dcd --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-flex/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-flex/pom.xml b/flex-maven-tools/flex-maven-plugin/components/optimizer/optimizer-flex/pom.xml new file mode 100644 index 0000000..5451844 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/optimizer/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/optimizer/pom.xml b/flex-maven-tools/flex-maven-plugin/components/optimizer/pom.xml new file mode 100644 index 0000000..f62368c --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/packager/packager-air/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/packager/packager-air/pom.xml b/flex-maven-tools/flex-maven-plugin/components/packager/packager-air/pom.xml new file mode 100644 index 0000000..16eb2bd --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/packager/packager-war/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/packager/packager-war/pom.xml b/flex-maven-tools/flex-maven-plugin/components/packager/packager-war/pom.xml new file mode 100644 index 0000000..a01b652 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/packager/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/packager/pom.xml b/flex-maven-tools/flex-maven-plugin/components/packager/pom.xml new file mode 100644 index 0000000..6b2e96a --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/pom.xml b/flex-maven-tools/flex-maven-plugin/components/pom.xml new file mode 100644 index 0000000..d6bcc91 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/test/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/test/pom.xml b/flex-maven-tools/flex-maven-plugin/components/test/pom.xml new file mode 100644 index 0000000..e2b37ba --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/test/test-flexunit/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/test/test-flexunit/pom.xml b/flex-maven-tools/flex-maven-plugin/components/test/test-flexunit/pom.xml new file mode 100644 index 0000000..4f980b1 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/components/test/test-lib/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/components/test/test-lib/pom.xml b/flex-maven-tools/flex-maven-plugin/components/test/test-lib/pom.xml new file mode 100644 index 0000000..94d5926 --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/examples/flexjs/flexjs-hello-world/pom.xml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/examples/flexjs/flexjs-hello-world/pom.xml b/flex-maven-tools/flex-maven-plugin/examples/flexjs/flexjs-hello-world/pom.xml new file mode 100644 index 0000000..be3046a --- /dev/null +++ b/flex-maven-tools/flex-maven-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/8bc0350d/flex-maven-tools/flex-maven-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-maven-plugin/examples/flexjs/flexjs-hello-world/src/main/flex/FlexJSTest_basic.mxml b/flex-maven-tools/flex-maven-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/flex-maven-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
