Questions tagged [flexmojos]

FlexMojos is a Maven plugin intended to allow build lifecycle management of Flex applications.

[FlexMojos] is a Maven plugin intended to allow build lifecycle management of Flex applications, including compilation, optimization, bundling, and testing (using FlexUnit or other testing frameworks).

FlexMojos is currently the only available option for Maven-based Flex builds, and has been proven to support Flex SDK versions through 4.5.

Beginning of 2012 Flexmojos has left Sonatype. The main Wiki for the project is now available at 1 and the Jira System is available at 2

Starting with version 6 Flexmojos supports Apache Flex SDKs 3 which are generated using the Apache Mavenizer tool 4.

The latest stable version is 6.0.1

90 questions
1
vote
1 answer

Getting an error while executing goals from maven plugin flexmojos-maven-plugin

I get the below error while executing the default lifecycle 'clean install' from my maven project. java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase My code uses the flexmojos-maven-plugin. As per the jira thread…
Rammohan
  • 493
  • 6
  • 27
1
vote
1 answer

How to use dependency instead of loadExterns in flexmojos Maven plugin?

The documentation for flexmojos plugin states that loadExterns parameter is deprecated, and suggests: " Use dependency with type "xml" and classifier "link-report"…
1
vote
1 answer

Getting error "org.apache.flex.compiler:mxmlc:jar" when trying to compile with FlexMojos 7.0.1 and Apache Flex 4.14

I'm migrating an application I had working with Adobe Flex 4.6 and FlexMojos 4 to Apache Flex 4.14 and FlexMojos 7. When I try to execute "mvn build" I'm getting this error: [ERROR] Unresolveable build extension: Plugin…
Jose Ignacio Hita
  • 874
  • 1
  • 10
  • 17
1
vote
1 answer

FlexUnit tests not running in Jenkins

i'm trying to build a flash app with unit tests through my local network jenkins server. I've set it up as a maven artifact and i'm using the flexmojos 6.0.1 maven plugin to build it. Everything seems to work flawlessly (even the unit tests) when I…
1
vote
2 answers

Error: Flex compiler and flex framework versions doesn't match. Compiler: 'X' - Framework: 'Y'

I'm trying to build a Flex project with Flexmojos 7.0.0 & mavenized Apache Flex SDK (groupId "org.apache...") with a dependency to an old library built with Flexmojos 5 and Adobe Flex SDK 4.6.b.23201 (groupId "com.adobe..."). The problem is that it…
average dev
  • 1,128
  • 7
  • 22
1
vote
1 answer

IntelliJ with flexunit4

I have a maven project where I am using flexmojos and flexunit and the tests execute fine when building through maven. However when I try to execute a single test using IntelliJ (right click the on test - run), it creates the _flexunit.swf file and…
user562427
  • 79
  • 5
1
vote
2 answers

Compiling multiple .as files using Maven

I am having issues getting maven to do a simple clean install I am getting the following error: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:compile-swf (default-compile-swf) on project flex: Source file not expecified…
Ken Harris
  • 113
  • 1
  • 1
  • 9
1
vote
1 answer

Running AIR application tests with Maven/FlexMojos 4.2 beta

I have Maven module which is an AIR application. I use the FlexMojos plugin (version 4.2-beta). EDIT: further investigation revealed that the issue is the descriptor used for the tests TestRunner.xml has the AIR 2.6 namespace, while my adl is…
1
vote
2 answers

Apache Flex 4.9

I have just mavenized the Apache Flex 4.9 SDK. Now, how can I build my application with maven? Does anybody have an example pom-File for this? Is there a flex-mojos version out yet, which is working with this flex version? Or are there any…
LKa
  • 11
  • 4
1
vote
0 answers

Flexmojos, Flexunit4: adl returns Unexpected return code 9

I got problem when running flexunit4 unit test Flexmojos 4.2-beta Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file Running tests /Users/mordesku/NetBeansProjects/way2learn/builder/target/test-classes/TestRunner.swf [LAUNCHER]…
mordesku
  • 11
  • 1
1
vote
1 answer

Unable to download flexmojos plugin, maven ignores repositories config

I have Flex project and I need flexmojos-maven-plugin to build it. org.sonatype.flexmojos flexmojos-maven-plugin ... I also mentioned repository
Timofei Davydik
  • 7,244
  • 7
  • 33
  • 59
1
vote
1 answer

using multithreaded maven build with flexmojos

I am trying to improve the performance of a multi module maven build by making it multithreaded. While doing that, I am trying to resolve bunch of dependencies and there is something I am stuck at which is an error with the…
user220755
  • 4,358
  • 16
  • 51
  • 68
1
vote
0 answers

How to build flex resource module in flexmojos4.x

I use flexmojos plugin to manage my flex app. At first, I use flexmojos3.8, the following is fragment to create seperate resource module. If my app support en_US, zh_Ch, I can get MainApp_en_US.swf and MainApp_zh_CN.swf. In my app, I can load proper…
Pansy Xue
  • 25
  • 6
1
vote
1 answer

Maven flexmojos-maven-plugin fails with OutOfMemoryError even with -Xmx1024m -XX:MaxPermSize=512m

I'll be answering my own question to provide bread crumbs for the next person who hits this: Problem x86Linux Maven build fails during flexmojos-maven-plugin with load-config+=...flex-config.xml…
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
0
votes
1 answer

Config Intellj to support modules with Flex Mojos

I have a large app which compiles fine with maven. However it's structure is very complicated and the source for each maven module (almost all maven modules in this app are FlexMojo ones), does not live under each pom. So the source directory in…
kkudi
  • 1,625
  • 4
  • 25
  • 47