You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/09/24 03:19:35 UTC
[royale-compiler] 01/04: make flash dependencies optional via a
profile
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch release/0.9.6
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 70b242fdd43ea526e96e7516ae1dd296c61fe96a
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Sep 23 14:29:00 2019 -0700
make flash dependencies optional via a profile
---
build.xml | 1 +
compiler/pom.xml | 7 -------
pom.xml | 12 ++++++++++++
3 files changed, 13 insertions(+), 7 deletions(-)
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>