The issue as I understand it is that the new Classloader implementation in Maven 3 does not accept leading slashes. I don't believe the bug is in Velocity; it is just that it is using the new Classloader. If you remove the leading slashes from all the resources, everything works fine. With that change made, the flexbuilder goal runs fine in both Maven 2 and 3. Would you like a patch?
On Jun 3, 5:55 pm, Marvin Froeder <[email protected]> wrote: > Hrm... I never tried fm 3 on m3.... but flex sdk includes a patch velocity, > that may be what is causing the problem. > > Sent from DROID > > Em 03/06/2010 17:47, "Matt" <[email protected]>escreveu: > > Sorry should have mentioned that in the first post. I am using Maven > 3-beta1 on OS 10.6. > > We migrated to Maven 3 a while ago and the only thing that wasn't > working was the FlexBuilder mojo. For a while I created a script that > ran the FlexBuilder mojo under Maven 2, but that option isn't > available to me. > > I know Maven 3 support isn't promised on the 3.X FlexMojos branch, but > I was hoping to maybe patch something locally until 4.0 is ready to > go. > > On Jun 3, 3:32 pm, Marvin Froeder <[email protected]> wrote: > > > Also, what maven and OS are you usin... > > Em 03/06/2010 16:18, "Matt" <[email protected]>escreveu: > > > I'm getting this error with 3.6,3.7, and 3.8-SNAPSHOT when running the > > flexbuilder command. > > ... > > [email protected]<flex-mojos%[email protected]> > > <flex-mojos%[email protected]<flex-mojos%[email protected]> > > > For more options, visit this group athttp:// > > 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 pos... -- 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/
