By default it does run on generate-resources phase, but you can configure to run at any phase you which. You can run mvn clean install or mvn org.sonatype.flexmojos:flexmojos-maven-plugin:3.1.0:copy-flex-resources
https://docs.sonatype.org/display/FLEXMOJOS/Copy+Flex+Resources VELO On Fri, Apr 3, 2009 at 6:19 PM, Fernando Wermus <[email protected]>wrote: > Some things more: > > Running the webapp test fails. I dont know if the goal that copies the swf > to /webapp/flex comes before or after the tests. How can I guess that? And > I don't know how to avoid running them. How can avoid of running the tests? > Is it this the problem? > > Thanks in advance. > > > > On Fri, Apr 3, 2009 at 6:13 PM, Fernando Wermus <[email protected] > > wrote: > >> I have three pom's: a webapp POM, a swf POM and a parent POM. In webapp >> POM I have the following plugin sets >> >> <plugin> >> <groupId>org.sonatype.flexmojos</groupId> >> <artifactId>flexmojos-maven-plugin</artifactId> >> <version>3.1.0</version> >> <executions> >> <execution> >> <goals> >> <goal>copy-flex-resources</goal> >> </goals> >> </execution> >> </executions> >> </plugin> >> <plugin> >> >> but when I run "mvn install" the above is not executed (in parent POM) . I >> cannot see some swf file in my webapp module in /webapp/flex/. But what I do >> see it is a swf compiled in swf project. If I tried to run "mvn >> flexmojos-maven-plugin:copy-flex-resources" I get: >> >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: >> 'flexmojos-maven-plugin'. >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The plugin >> 'org.apache.maven.plugins:maven-flexmojos-maven-plugin-plugin' does not >> exist or no valid version could be found >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 1 second >> [INFO] Finished at: Fri Apr 03 18:10:51 ART 2009 >> [INFO] Final Memory: 7M/12M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> which confuses me because I have the swf file compiled! >> >> Any help? >> >> >> >> -- >> Fernando Wermus. >> >> www.linkedin.com/in/fernandowermus >> http://mientretiempo.blogspot.com/ >> > > > > -- > Fernando Wermus. > > www.linkedin.com/in/fernandowermus > http://mientretiempo.blogspot.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
