I opened a JIRA issue I'm having a problem using the copy-flex-
resources:
https://issues.sonatype.org/browse/FLEXMOJOS-353
I'm trying to have it copy a multiple SWF dependencies (from a
multimodule SWF pom.xml build), and strip off all the extra maven
versioning information (we try to have our dev environment match
production but the forced maven naming convention breaks that.)
For example I have 2 swf's included as dependencies to a war project:
<dependency>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<artifactId>test-client</artifactId>
<type>swf</type>
<classifier>main</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<artifactId>test-client</artifactId>
<type>swf</type>
<classifier>lobby</classifier>
</dependency>
I configure my plugin as such:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flexmojos.version}</version>
<executions>
<execution>
<goals>
<goal>copy-flex-resources</goal> <!-- Copy of Flex resource into WAR --
>
</goals>
</execution>
</executions>
<configuration>
<useFinalName>true</useFinalName>
<stripVersion>true</stripVersion>
<stripModuleArtifactInfo>true</stripModuleArtifactInfo>
</configuration>
It results in:
test-client-main.swf
test-client-lobby.swf
I'd expect:
main.swf
lobby.swf.
--
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/