Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java Sat Dec 1 22:43:30 2012 @@ -0,0 +1,38 @@ +/* + * 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; + +import org.apache.flex.maven.plugins.flex.AbstractFlexMojo; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; + +/** + * Created with IntelliJ IDEA. + * User: cdutz + * Date: 01.12.12 + * Time: 17:48 + */ +@Mojo(name = "package", + defaultPhase = LifecyclePhase.PACKAGE, + threadSafe = true) +public class PackagerMojo extends AbstractFlexMojo { + + public void execute() { + getLog().debug("Executing packager-mojo"); + } + +}
Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestMojo.java URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestMojo.java?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestMojo.java (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestMojo.java Sat Dec 1 22:43:30 2012 @@ -0,0 +1,38 @@ +/* + * 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; + +import org.apache.flex.maven.plugins.flex.AbstractFlexMojo; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; + +/** + * Created with IntelliJ IDEA. + * User: cdutz + * Date: 01.12.12 + * Time: 17:48 + */ +@Mojo(name = "test", + defaultPhase = LifecyclePhase.TEST, + threadSafe = true) +public class TestMojo extends AbstractFlexMojo { + + public void execute() { + getLog().debug("Executing test-mojo"); + } + +} Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,109 @@ +<component-set> + <components> + + <!-- + + Default lifecycle for a flex artifact with packaging "swf" + + --> + <component> + <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> + <role-hint>swf</role-hint> + <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> + <configuration> + <phases> + <!--validate></validate> + <initialize></initialize> + <generate-sources></generate-sources> + <process-sources></process-sources> + <generate-resources></generate-resources> + <process-resources></process-resources--> + <compile>org.apache.maven.plugins:maven-flex-plugin:compile</compile> + <!--process-classes></process-classes> + <generate-test-sources></generate-test-sources> + <process-test-sources></process-test-sources> + <generate-test-resources></generate-test-resources> + <process-test-resources></process-test-resources> + <test-compile></test-compile> + <process-test-classes></process-test-classes> + <test></test> + <prepare-package></prepare-package> + <package></package> + <pre-integration-test></pre-integration-test> + <integration-test></integration-test> + <post-integration-test></post-integration-test> + <verify></verify> + <install></install> + <deploy></deploy--> + </phases> + </configuration> + </component> + + <!-- + + Default lifecycle for a flex artifact with packaging "swc" + + --> + <component> + <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> + <role-hint>swc</role-hint> + <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> + <configuration> + <phases> + <!--validate></validate> + <initialize></initialize> + <generate-sources></generate-sources> + <process-sources></process-sources> + <generate-resources></generate-resources> + <process-resources></process-resources--> + <compile>org.apache.maven.plugins:maven-flex-plugin:compile</compile> + <!--process-classes></process-classes> + <generate-test-sources></generate-test-sources> + <process-test-sources></process-test-sources> + <generate-test-resources></generate-test-resources> + <process-test-resources></process-test-resources> + <test-compile></test-compile> + <process-test-classes></process-test-classes> + <test></test> + <prepare-package></prepare-package> + <package></package> + <pre-integration-test></pre-integration-test> + <integration-test></integration-test> + <post-integration-test></post-integration-test> + <verify></verify> + <install></install> + <deploy></deploy--> + </phases> + </configuration> + </component> + + <!-- + + Tell Maven how to deal with the different types of flex artifacts + + --> + <component> + <role>org.apache.maven.artifact.handler.ArtifactHandler</role> + <role-hint>swc</role-hint> + <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> + <configuration> + <!-- Extension used by artifacts in the repository --> + <extension>swc</extension> + <!-- Type used when specifying dependencies --> + <type>swc</type> + <!-- Type used when specifying the packaging of an artifact --> + <packaging>swc</packaging> + </configuration> + </component> + <component> + <role>org.apache.maven.artifact.handler.ArtifactHandler</role> + <role-hint>swf</role-hint> + <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> + <configuration> + <extension>swf</extension> + <type>swf</type> + <packaging>swf</packaging> + </configuration> + </component> + </components> +</component-set> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/pom.xml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,77 @@ +<?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.plugins</groupId> + <artifactId>plugins</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <!-- This package name is intentional --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-mavenizer-plugin</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>maven-plugin</packaging> + + <name>Maven-Flex-Plugin / Plugins / flex-mavenizer-plugin</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>3.2</version> + <configuration> + <encoding>${project.encoding}</encoding> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + </configuration> + <executions> + <execution> + <id>mojo-descriptor</id> + <phase>process-classes</phase> + <goals> + <goal>descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>3.0.4</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>3.2</version> + <scope>compile</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java Sat Dec 1 22:43:30 2012 @@ -0,0 +1,47 @@ +/* + * 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.mavenizer; + +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.Parameter; + +import java.io.File; + +/** + * Created with IntelliJ IDEA. + * User: cdutz + * Date: 01.12.12 + * Time: 17:48 + */ +@Mojo(name = "mavenizer", + defaultPhase = LifecyclePhase.NONE, + threadSafe = false) +public class MavenizerMojo extends AbstractMojo { + + @Parameter(property = "org.apache.flex.sdk-home-dir", readonly = true, required = true) + protected File sdkHomeDirectory; + + @Parameter(property = "settings.localRepository", readonly = true, required = true) + protected String localRepository; + + public void execute() { + System.out.println("Installing FDK from " + sdkHomeDirectory + " to " + localRepository); + } + +} Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/plugins/pom.xml Sat Dec 1 22:43:30 2012 @@ -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</groupId> + <artifactId>flex-plugin-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.plugins</groupId> + <artifactId>plugins</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin / Plugins</name> + + <modules> + <!-- Plugin for actually performing the flex builds --> + <module>maven-flex-plugin</module> + <!-- Plugin for generating the maven artifacts for performing flex maven builds --> + <module>maven-mavenizer-plugin</module> + </modules> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/pom.xml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,68 @@ +<?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> + + <groupId>org.apache.flex</groupId> + <artifactId>flex-plugin-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven-Flex-Plugin (Parent)</name> + + <properties> + <project.encoding>UTF-8</project.encoding> + <project.build.sourceEncoding>${project.encoding}</project.build.sourceEncoding> + <jdk.version>1.6</jdk.version> + </properties> + + <modules> + <module>plugins</module> + <module>components</module> + <module>testsuite</module> + </modules> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.4</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <encoding>${project.encoding}</encoding> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.5</version> + <configuration> + <encoding>${project.encoding}</encoding> + </configuration> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/pom.xml Sat Dec 1 22:43:30 2012 @@ -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</groupId> + <artifactId>flex-plugin-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.flex.testsuite</groupId> + <artifactId>testsuite</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Maven-Flex-Plugin / Testsuite</name> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/pom.xml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,42 @@ +<?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> + + <groupId>org.apache.flex.testsuite</groupId> + <artifactId>flex.general.simple-swc</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>swc</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-flex-plugin</artifactId> + <version>1.0.0-SNAPSHOT</version> + <extensions>true</extensions> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,23 @@ +<?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. + +--> +<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark"> + <s:Label text="Hello World!"/> +</s:Application> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/pom.xml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/pom.xml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/pom.xml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/pom.xml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,42 @@ +<?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> + + <groupId>org.apache.flex.testsuite</groupId> + <artifactId>flex.general.simple-swf</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-flex-plugin</artifactId> + <version>1.0.0-SNAPSHOT</version> + <extensions>true</extensions> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file Added: incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml?rev=1416068&view=auto ============================================================================== --- incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml (added) +++ incubator/flex/utilities/trunk/maven-flex-plugin/trunk/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml Sat Dec 1 22:43:30 2012 @@ -0,0 +1,23 @@ +<?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. + +--> +<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark"> + <s:Label text="Hello World!"/> +</s:Application> \ No newline at end of file
