make flash dependencies optional via a profile
diff --git a/build.xml b/build.xml
index 1c299e0..ac25291 100644
--- a/build.xml
+++ b/build.xml
@@ -258,6 +258,7 @@
<copy todir="${staging-dir}" includeEmptyDirs="false">
<fileset dir="${basedir}">
+ <include name=".mvn/extensions.xml"/>
<include name="build.xml"/>
<include name="build.properties"/>
<include name="env-template.properties"/>
diff --git a/compiler/pom.xml b/compiler/pom.xml
index 27c62d8..3423877 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -611,13 +611,6 @@
<version>3.4</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>${flash.version}</version>
- <type>swc</type>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>
diff --git a/pom.xml b/pom.xml
index c88d9a5..17833c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -241,6 +241,18 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>test-using-swf</id>
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>${flash.version}</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
<build>