apache-flexmaven-2flashflex-mojos

Can you use a SWF as a dependency for a Flex Mojos Maven build


I have a maven project with flex-mojos 3.1.0. Can I have a module with swf packaging and configure a dependency on it in another module? When I do, I get a compilation error.

project    
| - module1:swf  
| - module2:swf

module2/pom.xml:

<parent>
    <groupId>com.mygroup</groupId>
    <artifactId>project</artifactId>
    <version>1.0-SNAPSHOT</version>
</parent>

<dependencies>
    <dependency>
        <groupId>com.mygroup</groupId>
        <artifactId>module1</artifactId>
        <version>1.0-SNAPSHOT</version>
        <type>swf</type>
    </dependency>
</dependencies>

Solution

  • Seems to be impossible