Using flex-mojos with flex SDK 3.0.1 or any newer…
Hi guys…
Some folks are asking about using flex-mojos with Flex 2. Well, so far the answer is no!
But it make me curious. Is possible to run flex-mojos with any newer flex SDK.
Well, the answer looks like to be yes =D, but only with maven 2.0.9 =/
The key to do that is maven 2.0.9 capability to override plugin’s dependency. You can read more here.
Adobe provides night build for flex SDK, so you just need to pick one version here.
While flex SDK is not available on any maven repository, there is some hand work to get flex SDK installed on maven repository. So far, there are only to version available on flex-mojos repo: 3.0.0.477 and 3.0.1.1092.
And how to update flex-mojos compiler to 3.0.1.1092?
Just update flex-mojos dependency to flex-compiler-oem:
<plugin>
<groupId>info.rvin.mojo</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>flex-compiler-oem</artifactId>
<version>3.0.1.1092</version>
</dependency>
</dependencies>
</plugin>
Keep in mind this flex-compiler-oem has other dependencies inside he, so, if you plan try flex-mojos with flex 4 don’t forget to make the right pom.xml for flex-compiler-oem.
There is a sample here.
As far I can tell, SDK 3.0.1 is a little faster. But no magic gain.
VELO
May 16th, 2008 at 3:58 am
[…] Looking at this I learn how to configure a common environment to use fp10. Them, I configure flex SDK 3.0.1.1728 on flex mojos (like this). […]
July 16th, 2008 at 3:15 pm
[…] I use this knowledge to upgrade flex-oem-compiler to […]
August 21st, 2008 at 3:43 am
[…] is easier to update flex version. Just need to add the two dependencies in the right places. You can see how/where […]