Hi all, I am building a flex application "the maven way" : one pom project with global configuration, and maven modules for the actual flex code and war generation. The problem is, if I launch the complete build from the pom project, the modules can't find the source folders ( "[WARNING] Source file was not defined, flex-mojos will guess one."), but it works fine if I launch directly a mvn install from the module itself.
Here is the pom my flex app module (without the swc dependencies): <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"> <parent> <artifactId>e-learning-root</artifactId> <groupId>com.excilys.flex.condor</groupId> <version>3.3.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.excilys.flex.condor</groupId> <artifactId>e-learning-flex</artifactId> <packaging>swf</packaging> <name>Flex Application : Capico</name> <version>3.3.0-SNAPSHOT</version> <build> <sourceDirectory>src/main/flex/</sourceDirectory> <testSourceDirectory>src/test/flex/</testSourceDirectory> <plugins> <plugin> <groupId>info.flex-mojos</groupId> <artifactId>flex-compiler-mojo</artifactId> <extensions>true</extensions> <configuration> <debug>true</debug> <quick>true</quick> <locales> <param>en_US</param> <param>jp_JP</param> <param>fr_FR</param> <param>en_UK</param> </locales> <mergeResourceBundle>true</mergeResourceBundle> <resourceBundlePath>src/main/resources/locale/{locale}</ resourceBundlePath> </configuration> </plugin> </plugins> </build> </parent> Here is my pom from the root project: <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>com.excilys.flex.condor</groupId> <artifactId>e-learning-root</artifactId> <packaging>pom</packaging> <version>3.3.0-SNAPSHOT</version> <name>Flex Application : Capico and Capico Player common configuration</name> <url>http://maven.apache.org</url> <parent> <artifactId>flex-super-pom</artifactId> <groupId>info.flex-mojos</groupId> <version>2.0.3</version> </parent> <modules> <module>e-learning-flex</module> <module>e-learning-webapp</module> <module>e-learning-player</module> </modules> </project> --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
