Hi. I need help with IntelliJ and flexmojos. I'm trying to import a flexmojos project into IntelliJ 13, but I'm getting this message:
" These modules have been removed from maven structure: 'testflex' Do you want them to be removed from the project too? " However I can build it successfully from the terminal (mvn package). There's no error or exception in IntelliJ log file. I created the project from a maven archetype using the following command: mvn archetype:generate \ -DarchetypeGroupId=org.sonatype.flexmojos \ -DarchetypeArtifactId=flexmojos-archetypes-application \ -DarchetypeVersion=4.2-beta Then I modified the pom.xml in order to use flexmojos 6 and flex 4.11. This is the file: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>testflex</artifactId> <version>1.0-SNAPSHOT</version> <packaging>swf</packaging> <name>testflex Flex</name> <properties> <flexmojos.version>6.0.1</flexmojos.version> <flex.version>4.11.0.20131017</flex.version> <flex.debug>true</flex.debug> <flex.flashPlayer.command>flashplayerdebugger</flex.flashPlayer.command> </properties> <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <configuration> <debug>true</debug> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>0.85</version> <type>swc</type> <scope>test</scope> </dependency> </dependencies> </project> I'm using Ubuntu 13.10, IntelliJ 13.0.2 and maven 3.1.1. I don't know what's wrong. Thanks for you help Gonzalo.