flex-mojos

Using swf as a library for another swf in a maven project using flex-mojos

Hi! I have a maven project with flex-mojos 3.1.0. Can I have a module with swf packaging and configure a dependency on it in another module? When I do, I get a compilation error. project | - module1:swf | - module2:swf module2/pom.xml: <parent> <groupId>com.mygroup</groupId> <artifactId>project</artifactId> <versio...

Complex Maven2 with Flex4 Setup

Hi. I have been struggling to get Maven2 to cooperate with me, and was wondering if anyone out there had any ideas on how to get this working.... I am working on a Flash project, and we are considering switching from our hybrid Flex4/FlashCS4 to a pure Flex4 solution. We would like to use the Maven2 build system, so that our developers d...

Conditional Maven build section with a profile?

I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom: extra dependencies extra configuration of the Flex Mojos plugin in the build section I c...

Problem with flex-mojos

If I try the getting-started on http://flexmojos.sonatype.org/getting-started.html I get some errors. Can somebody help me out? I'm new to maven, but since it's a getting-started, I was hopin' everything would go smooth...not. Errors: Missing: ---------- 1) net.sf.saxon:saxon-dom:jar:9.0 Try downloading the file manually from the pr...

New project created with Flex Mojo's archetype throws Cannot Find Parent Project-Maven Exception

This is probably a silly question but I just cant seem to figure out. I'm completely new to flex and maven. Maven 2.2.1: Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0: Installed Created a multi-modular webapp project using flexmojo: mvn archetype:generate -Darch...

How to compile multiple css files into individual swfs using pure Maven?

Right now I am using an apply task inside of an antrun execution. <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.4</version> <executions> <execution> <id>compile-default-theme-css</id> <phase>compile</phase> <configuration> <tasks> ...

Flex-Mojo/Flex-compiler version issues with Flex 4.1 and maven2

My projects UI is built using Flex4.1..I am using maven2 and trying to figure out which flex-mojo version should I use for compiling. I tried with the following, <flex.sdk.version>4.1.0.16076</flex.sdk.version> <flex.mojo.version>3.6.1</flex.mojo.version> but am running into issues.. [INFO] Flex compiler and flex framework ver...

Coping swf resources with flex-mojos to the custom folder

How I can configure copy-flex-resources goal and swf dependencies to copy swf files to the custom folder in my web-app? By default it copies to the web-app root. More about copy-flex-resources goal here: https://docs.sonatype.org/display/FLEXMOJOS/Copy+Flex+Resources ...