I Noticed this behaviour with older versions of Maven together with the 3.x versions of flexmojos. Since I upgraded to FM4 and Maven 3.0.3 I am no longer having these issues. I remember that a "solution" was to use an older version of the copy-resources plugin (3.4.2 ... if I remember that correctly), even if the rest is compiling with newer versions of FM.
Chris 2011/5/26 王平 <[email protected]>: > Clement you! > 1 i don't want to strip version or group id or other infor. > 2 even i striped version. it also retain ${project.artifactID}.swf. > > From: Clement Pang > Sent: Thursday, May 26, 2011 9:33 AM > To: [email protected] > Subject: Re: [flex-mojos] about copy-flex-resources > You can use <stripVersion>true</stripVersion> to get rid of the > {project.version} part (it becomes ${project.artifactId}.swf). > Clement > On Wed, May 25, 2011 at 6:29 PM, ?像 <[email protected]> wrote: >> >> Hi All >> ????Any comments will be respected. thanks >> ? >> From: ?像 >> Sent: Wednesday, May 25, 2011 5:57 PM >> To: [email protected] >> Subject: [flex-mojos] about copy-flex-resources >> ? >> it could copy swf but the final name became :??? >> ${project.artifactId}-${project.version}.swf? >> How to fix that. thanks. >> this is my script in pom: >> ? >> <dependencies> >> ??? <dependency> >> ?????? <groupId>com.adobe.flex.framework</groupId> >> ?????? <artifactId>text-layout</artifactId> >> ?????? <version>4.0.0.13875</version> >> ?????? <type>swf</type> >> ???? </dependency> >> ........... >> ? >> <plugins> >> ???<plugin> >> ????<groupId>org.sonatype.flexmojos</groupId> >> ????<artifactId>flexmojos-maven-plugin</artifactId> >> ????<version>3.6</version> >> ????<executions> >> ?????<execution> >> ??????<goals> >> ???????<goal>wrapper</goal> >> ???????<goal>copy-flex-resources</goal> >> ??????</goals> >> ?????</execution> >> ????</executions> >> ?? ......... >> >> -- >> 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/ >> >> -- >> 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/ > > -- > 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/ > > -- > 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/ > -- 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/
