Solved.

In my parent pom I was declaring a <scope>caching</scope> for
framework and a swc cannot be compiled this way.

Moved it to my poms that generate just swf files and everything is
working fine.

Regards,

PS

On 29 jan, 09:12, Pedro Sena <[email protected]> wrote:
> Hi Guys,
>
> I'm trying to compile a swc lib that contains some .mxml components.
>
> I'm getting the following error:
>
> Could not resolve <mx:Image> to a component implementation.
> Could not resolve <mx:Label> to a component implementation.
>
> It is not finding default flex components.
>
> I have the correct dependencies(at leats, I think so):
>
> <dependency>
>                         <groupId>com.adobe.flex.framework</groupId>
>                         <artifactId>framework</artifactId>
>                         <version>3.2.0.3958</version>
>                         <type>swc</type>
>                         <scope>caching</scope>
>                 </dependency>
>
> ANd the namespace is correctly declared in my mxml file:
>
> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"; width="321"
> height="172">
>
> What am I missing here?
>
> Thanks,
>
> PS
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to