Commits

Anonymous committed 2b903a2

* initial maven structure structure, project can be compiled and tested

Comments (0)

Files changed (4)

+syntax: glob
+.idea
+*.iml
+./target
+*.DS_Store
+**/*.iml
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+
+    <groupId>com.ludia.client</groupId>
+    <artifactId>flex-test-utils</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <packaging>swc</packaging>
+
+    <name>flex-test-utils</name>
+
+    <repositories>
+        <repository>
+            <id>ludia-public</id>
+            <name>Ludia Public Repository</name>
+            <url>
+                https://nexus.socialludia.com/content/groups/public/
+            </url>
+            <snapshots>
+                <updatePolicy>never</updatePolicy>
+            </snapshots>
+            <releases>
+                <updatePolicy>always</updatePolicy>
+            </releases>
+        </repository>
+    </repositories>
+    <!-- Maven plugin path to resolve dependencies -->
+    <pluginRepositories>
+        <!-- Flexmojos , FlexPMD plugins -->
+        <pluginRepository>
+            <id>ludia-public</id>
+            <name>Ludia Public Repository</name>
+            <url>https://nexus.socialludia.com/content/groups/public</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </pluginRepository>
+    </pluginRepositories>
+    <!-- Maven deploy path -->
+    <distributionManagement>
+        <repository>
+            <id>ludia-client-releases</id>
+            <url>
+                https://nexus.socialludia.com/content/repositories/ludia-client-releases
+            </url>
+        </repository>
+        <snapshotRepository>
+            <id>ludia-client-snapshots</id>
+            <url>
+                https://nexus.socialludia.com/content/repositories/ludia-client-snapshots
+            </url>
+        </snapshotRepository>
+        <site>
+            <id>hudson.socialludia.com</id>
+            <url>
+                https://hudson.socialludia.com/job/flash-waldo/Documentation/
+            </url>
+        </site>
+    </distributionManagement>
+
+    <build>
+        <sourceDirectory>src/main/flex</sourceDirectory>
+        <testSourceDirectory>src/test/flex</testSourceDirectory>
+        <plugins>
+            <plugin>
+                <groupId>org.sonatype.flexmojos</groupId>
+                <artifactId>flexmojos-maven-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <storepass>Prout</storepass>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.adobe.flex.framework</groupId>
+            <artifactId>flex-framework</artifactId>
+            <version>4.5.1.21328</version>
+            <type>pom</type>
+        </dependency>
+        <dependency>
+            <groupId>com.adobe.flexunit</groupId>
+            <artifactId>flexunit</artifactId>
+            <version>4.1-rc-2</version>
+            <type>swc</type>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+</project>

src/main/flex/com/ludia/client/SomeClass.as

+/**
+ *  Copyright 2008 Marvin Herman Froeder
+ *  Licensed 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 com.ludia.client {
+
+	public class SomeClass {
+
+		public static function greeting(name:String):String {
+			return "Hello, " + name;
+		}
+
+	}
+
+}

src/test/flex/com/ludia/client/SomeTest.as

+/**
+ *  Copyright 2008 Marvin Herman Froeder
+ *  Licensed 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 com.ludia.client {
+
+
+	public class SomeTest {
+
+        [Test]
+        public function testSomething():void
+        {
+
+
+        }
+
+    }
+}