- When maven compiles the flex package, it creates the main swf .. ex. flexapp.swf, and additional modules ex. flexmod1.swf . This gets created and installed in maven under the same group and artifact and id.
Took some time to figure out when packaging the war how to include all swf files in the war.
- this includes the main compiled swf
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mainproj</artifactId>
<version>${project.version}</version>
<type>swf</type>
</dependency>
- to include the compiled modules
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mainproj</artifactId>
<version>${project.version}</version>
<type>swf</type>
<classifier>nameofmodule</classifier>
</dependency>
use the classifier to specify the name of the compiled module.
No comments:
Post a Comment