As far as I know you have to set the scope to "internal". Flex Automation uses so-called [Mixins] and was designed not to have direct dependencies to the automation classes from the framework classes.
Using "internal" will force the compiler to include all classes, even if they are not directly refernced by the application. Chris 2011/5/24 Marvin Froeder <[email protected]>: > Match this with your scopes... > https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compilation > > > VELO > > On Tue, May 24, 2011 at 4:25 PM, Sri Sankaran <[email protected]> > wrote: >> >> The output of mvn dependency:tree suggests that the following 7 SWCs will >> be included >> >> [INFO] | \- >> com.adobe.flex.framework:automation-libraries:pom:4.5.0.20967:compile >> [INFO] | +- >> com.adobe.flex.framework:automation:swc:4.5.0.20967:runtime >> [INFO] | +- >> com.adobe.flex.framework:automation:rb.swc:en_US:4.5.0.20967:runtime >> [INFO] | +- >> com.adobe.flex.framework:automation_agent:swc:4.5.0.20967:runtime >> [INFO] | +- >> com.adobe.flex.framework:automation_agent:rb.swc:en_US:4.5.0.20967:runtime >> [INFO] | +- >> com.adobe.flex.framework:automation_dmv:swc:4.5.0.20967:runtime >> [INFO] | +- com.adobe.flex.framework:qtp:swc:4.5.0.20967:runtime >> [INFO] | \- >> com.adobe.flex.framework:automation_spark:swc:4.5.0.20967:runtime >> >> However the config dump only has >> >> * automation_agent-4.5.0.20967.swc >> * automation_dmv-4.5.0.20967.swc >> * automation_spark-4.5.0.20967.swc >> >> I don't know why the others are missing. >> Sri > > -- > 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 > > http://flexmojos.sonatype.org/ > -- 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 http://flexmojos.sonatype.org/
