flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS <webdoubl...@hotmail.com>
Subject Re: AW: AW: AW: how to setup and use maven-flex-plugin
Date Thu, 02 May 2013 23:20:01 GMT

Just did the test too and can reproduce as well, it can't find flex sdk in my old snapshot version of FM6 and the same than Dan for the 
release one.

I didn't catch it before because I've got all the mavenized SDKs in usual my 

So, Dan, good catch :)


-----Message d'origine----- 
From: christofer.dutz@c-ware.de
Sent: Friday, May 03, 2013 12:31 AM
To: users@flex.apache.org
Subject: AW: AW: AW: how to setup and use maven-flex-plugin

Hi Dan,

I can reproduce this problem and I'll have a look into it as soon as I am 
able to spare some time ... eventually this weekend.


-----Ursprüngliche Nachricht-----
Von: Dan Rollo [mailto:danrollo@gmail.com]
Gesendet: Donnerstag, 2. Mai 2013 23:32
An: users@flex.apache.org
Betreff: AW: AW: AW: how to setup and use maven-flex-plugin

Hi Chris and Fred,

I've banked my simple test project in github here:

I don't see anything in this project that could possibly include 4.6 
artifacts (and the maven error says the FM plugin is trying to resolve those 
old artifacts). But I'm a total flex noob.

Does anyone have a FDK 4.9.1 ONLY env to try building this in?

The output of dependency:tree in my "hacked environment" is below (but it is 
possibly different in an env with real FDK 4.6 artifacts?).
("hacked environment" has some 4.9.1 artifacts republished as 4.6 to 
workaround FM resolve errors).

[INFO] Building lib-model Flex 1.0.0-SNAPSHOT [INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ lib-model ---  
[INFO] com.myco.model:lib-model:swc:1.0.0-SNAPSHOT
[INFO] +- com.adobe.flex.framework:flex-framework:pom:
[INFO] |  +-
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:spark_dmv:swc:
[INFO] |  |  +- com.adobe.flex.framework:apache:swc:
[INFO] |  |  +- com.adobe.flex.framework:mx:swc:
[INFO] |  |  +- com.adobe.flex.framework:spark:swc:
[INFO] |  |  +- com.adobe.flex.framework:rpc:swc:
[INFO] |  |  +-
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:osmf:swc:
[INFO] |  |  +- com.adobe.flex.framework:charts:swc:
[INFO] |  |  +-
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:core:swc:
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:framework:swc:
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:apache:rb.swc:
[INFO] |  |  +- com.adobe.flex.framework:mx:rb.swc:
[INFO] |  |  +- com.adobe.flex.framework:spark:rb.swc:
[INFO] |  |  +- com.adobe.flex.framework:rpc:rb.swc:
[INFO] |  |  +-
[INFO] |  |  +-
[INFO] |  |  +- com.adobe.flex.framework:charts:rb.swc:
[INFO] |  |  +-
[INFO] |  |  +-
[INFO] |  |  \-
[INFO] |  \- com.adobe.flash.framework:playerglobal:swc:11.1:compile
[INFO] +- com.adobe.flash.framework:playerglobal:rb.swc:11.4:external
(scope not updated to compile)
[INFO] \- org.flexunit:flexunit:swc:flex4:4.1.0:test

If you run dependency:tree in your env, do you get the same result?

Maybe I'm one of the first to run FM with FDK 4.9.1 without already having 
FDK 4.6 available? - the joys of being a noob? :)


I just had a look at the pom of flexmojos-maven-plugin and could not find a 
reference to the framework:pom artifact except it being mentioned in the 
dependencyManagement section.

I did have a look at the dependencies of the mojo though and could see that 
the only thing having a dependency on the framework:pom was the 
com.adobe.flex:compiler:pom ... I added this dependency in there to allow 
checking the correct version of the flex core libs. But as you are 
overriding this and in com.adobe.flex:compiler:pom:

But having a look at your pom I just saw the error. You are adding the 
dependencies to the plugin classpath and not the artifact classpath. So just 
remove all of the "swc" and "swc.rb"
dependencies from the plugin that it just contains the compiler:pom 


View raw message