Questions tagged [flex-mojos]

A collection of maven plugins to allow for compiling, optimizing, and testing Flex based applications.

34 questions
8
votes
1 answer

How to run maven plugin before dependency check

I want to run maven-install-plugin before dependency check. How can I do that? The plugin configuration: maven-install-plugin install-library
Kirill Trofimov
  • 1,218
  • 1
  • 14
  • 26
7
votes
3 answers

How do I set the theme using Flexmojos?

When compiling using flexmojos I get the warning: [WARNING] No themes are explicitly defined in the section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should…
chris
  • 1,731
  • 4
  • 26
  • 33
3
votes
1 answer

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…
Christophe Herreman
  • 15,895
  • 9
  • 58
  • 86
3
votes
2 answers

Complex Maven2 with Flex4 Setup

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…
Michael Aaron Safyan
  • 93,612
  • 16
  • 138
  • 200
2
votes
2 answers

Get "Error: unable to resolve '/assets/images/**.png' for transcoding" while building on FlexMojos 4.0-RC2 and Flex SDK 4.5.1.21328

I get the this "Error: unable to resolve '/assets/images/**.png' for transcoding" while building on FlexMojos 4.0-RC2 and Flex SDK 4.5.1.21328. Code is like below [Embed(source='/assets/images/lot_dimensions_bg_4digit.png')] SDK…
srayker
  • 21
  • 1
  • 2
2
votes
1 answer

How can I set a swc theme in Maven?

I can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties. I note the theme swc in dependencies, the compiler founds it but the theme doesn't change. Who knows how can I set a custom theme in Maven?
user383715
  • 25
  • 4
2
votes
1 answer

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…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
1
vote
2 answers

Can you use a SWF as a dependency for a Flex Mojos Maven build

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:
artemb
  • 9,251
  • 9
  • 48
  • 68
1
vote
1 answer

How to define a new kind of scope in Maven?

In order tell the Flexmojo Maven plugin that your project should use a particular theme, it is necessary to add a scope "theme" dependency to your project like this:
Dave
  • 21,524
  • 28
  • 141
  • 221
1
vote
2 answers

Why does Flexmojos produce a different size swf to mxmlc?

I am compiling a very simple app, Main.mxml:
chris
  • 1,731
  • 4
  • 26
  • 33
1
vote
1 answer

Flexmojos-maven-plugin - How to configure multiple source mxml files to generate multiple swf files?

Current working code: I am able to build a flex project using flexmojos-maven-plugin successfully. However, I can only provide one 'sourceFile' under my plugin configuration. Refer below my working pom.xml, which builds Main.mxml file correctly from…
Vaibhav Shah
  • 93
  • 1
  • 10
1
vote
2 answers

Flex Maven project compilation error: Global artifact is not available. Make sure to add 'playerglobal' or 'airglobal' to this project

I am converting an existing flex project to a maven project using the IntelliJ IDEA. As per the R&D on google, I have added the pom.xml file and I have resolved multiple issues by adding the required dependencies. However, I am stuck at one point…
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
0 answers

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. maven-antrun-plugin 1.4 compile-default-theme-css
Gabriel
  • 1,679
  • 3
  • 16
  • 37
1
2 3