Hi,

I'm currently working on updating the Flexmojos plugin to support newer Maven 
versions. Now I'm having a strange problem:


Flexmojos defines Flex dependencies as type "swc" for flex libraries and 
"rb.swc" for resource bundles. Furthermore we have a scope "rsl" (runtime 
shared library) which sort of turns the default static linking to dynamic 
linking.


So assume I have an artifact A and B of type "swc" that has one "rb.swc" 
dependency to its corresponding resource bundle.


In my project I now add one dependency to A with scope "rsl" and one dependency 
to B with the default "compile" scope.


In Maven 3.0.5 I can see the MavenProjects.artifacts list containing


A:swc:rsl

A:rb.swc:compile

B:swc:compile

B:rb.swc:compile


In Maven 3.1.1 this however is:


A:swc:rsl

A:rb.swc:runtime

B:swc:compile

B:rb.swc:compile


Why does the scope of the transitive dependencies switch to "runtime" in Maven 
3.1.1?


Chris

Reply via email to