Well I think that it's not really possible to create such a pom to use everywhere, because Maven doesn't propagate the scope. So I can't think of a way to do this by using a pom-module. But I willl certainly try Jays suggestion ... I thougt of this, but as my project is Java & Flex I didn't want to include Flex stuff to Java projects, but when thinking a llittle further my Java-Dependencies don't harm my Flex build, so why should the Flex-Dependencies harm my Java Buid.
@Jay ... After finishing the documentation of what I did on one projekt, I applied the optimizations to a second project and was having trouble with the copy-resources goal in my War module ... the message was that Fm was not able to determmin the finalName, but after debugging, it turned out that the problem was that FM got errors when parsing the pom of one of my flex modules, hence causing NPEs while determining the finalName ... I simply use the FM3.9 version of the FM plugin to do the war-assembly untill I have the time to figgure out what's going wrong. 2011/6/10 Jay <[email protected]>: > I just spent some hours recently going back to first principles with 4.5 and > RSLs. I built a modular application from scratch, adding RSLs where > required. It was a great little exercise in using FM. I'm noticing some > issues with the wars, wrapping and finalNames of modules, but that's another > story. > @mcdan, it works fine for me have all the dependencies as caching scope in > the parent pom, and then use the rslUrlsĀ parameter in the project POMS. The > project POMs simply needs the one dependency on the flex compiler with the > scope pom. Does that not work for you? > -- Justin > > -- > 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/
