Hi all!
I'm having trouble making flex-mojos compile a module containing some
locales into a swf file.
I get the following error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for
'flex-compiler-mojo:compile-swc'
[0] on the command line, specify: '-DmojoExecution=VALUE'
I'm using:
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
my pom.xml looks the following:
<build>
<plugins>
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<configuration>
<runtimeLocales>
<locale>en_US</locale>
</runtimeLocales>
<!--locales>
<locale>en_US</locale>
</locales-->
<mergeResourceBundle>false</mergeResourceBundle>
<resourceBundlePath>${basedir}/src/main/resources/locale/</
resourceBundlePath>
</configuration>
</plugin>
</plugins>
</build>
My main pom.xml:
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<version>2.0M10</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>3.1.0.2710</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<!-- Common dependencies -->
<dependencies>
<!-- Flex SDK dependencies -->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>3.1.0.2710</version>
<type>pom</type>
</dependency>
<!-- Flex-Mojos Unit testing support -->
<dependency>
<groupId>info.flex-mojos</groupId>
<artifactId>testing-support</artifactId>
<version>2.0M10</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies>
Am I doing something wrong?
Kindly regards
Netphreak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---