I have a Maven/FlexMojos build that works perfectly well with IntelliJ 12.0.4.
However, in the process of adding AIR support to this project, I have an issue with dependencies that are Adobe Native Extensions (special SWC libraries that contains specific target platform implementations).
I deployed the ANE file and then added the dependency in my POM.
IntelliJ does not seem to be able to detect that this file is indeed a native extension or even a Flex library (it is simply ignored), which causes later problems when I need to package the application.
The workaround I found is to manually re-add the dependency as an ANE to my module configuration (in that manner, IntelliJ seems to manage the ANE correctly), which is not very convenient since it's not in my maven configuration. Then, I added the SWC file as a dependency so that it compiles with Maven (I don't know how to use ANE with FlexMojos yet).
I am not sure what is the correct way to manage ANEs used in my build. Is this doable without the manual addition trick ? Any suggestions are welcomed.