Ok sorry I was thinking it was possible to change something in FM code to bypass this issue. Too bad... it will become a little bit more uncomfortable to use FM
On Thu, Nov 24, 2011 at 11:59 AM, Marvin Froeder <[email protected]> wrote: > And also voting won't get the issue fixed... > > On Nov 24, 7:00 am, Christofer Dutz <[email protected]> > wrote: >> Don't see the point in voting on this as this is not a Flexmojos >> Problem and I dont's see a way that Velo or anyone else could do >> anything against it (Except reimplementing a lot of mavens >> functionality). >> >> Chris >> >> 2011/11/24 remiP <[email protected]>: >> >> >> >> >> >> >> >> > A Jira ticket is open concerning this issue, please vote for it: >> >https://issues.sonatype.org/browse/FLEXMOJOS-376 >> >> > RP >> >> > On Nov 15, 2:25 pm, Christofer Dutz <[email protected]> >> > wrote: >> >> Hi, >> >> >> I have been using Flexmojos 4 quite some time now. All modules worked >> >> fine for me, except the "copy-flex-resources" target in my projects >> >> war-module. Here I allways got some nasty NullPointerExceptions while >> >> building. My solution was to go back to using FM 3.7.1 for only this >> >> module. Today I started having another look at this problem and I >> >> think I found the reason and a workaround. So I'll just explain what's >> >> going wrong: >> >> >> Since Maven 3.0.3 Maven does a lot of validation while building. >> >> Especially the anoying messages about invalid scopes. Actually there >> >> is also an error complaining about invalid packaging types but this is >> >> allways ignored. >> >> When Building the war module FM now tries to access the project model >> >> in order to access any eventually defined "finalName" configuration >> >> options in your SWF modules. Unfortunately the reading of the pom >> >> results in an Error that "swf" is an unsupported packaging type. This >> >> exception is caught and flexmojos simply logs a "cant read project >> >> pom" message and swallows the rest of the error. Because the default >> >> error handling simply returns null you get a NPE in the following >> >> command to access a modules finalName. >> >> >> I don't use finalName in any modules, simply appending the option >> >> "<useFinalName>flase</useFinalName>" in my war-pom resolved the issue. >> >> >> Hope this helps. >> >> >> Chris >> >> > -- >> > 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/
