Finally understood that copy-flex-resources goal copies artifacts that have 
been previously installed from swf modules.

To copy artifacts from SWF projects with multiple artifacts, I found using 
the classifier parameter works, so the dependency in the WAR pom looks like 
this,

<dependency>
   <groupId>org.my.app</groupId>
   <artifactId>swf</artifactId>
   <type>swf</type>
   <version>${swf.dependency}</version>
   <classifier>main</classifier>
</dependency>

using <stripModuleArtifactInfo>true</stripModuleArtifactInfo> for 
the copy-flex-resources configuration copies main.swf to target/war and 
packages the swf in the war file.

ALMOST there, still need to do complete the wrapper goal, and cross my 
fingers the compiled Flex app works as expected.

-- 
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

http://flexmojos.sonatype.org/

Reply via email to