While I haven't tried that particular combination yet, I suspect you get similar problems to what happens when combining Grails and Maven. Just today I decided to add POI to my little Grails prototype and found out that adding the dependency in the POM is just not good enough for NetBeans, I had to place a copy into the "lib" folder, too. Otherwise all POI classes will be unknown to the editor.
If someone has a more elegant solution I'd be happy to hear that. Since it is only a prototype I don't really care enough, but it certainly would be nice to have a project with both Groovy/Grails and Maven support. And the problem I described seems to apply to all languages that offer a way to manage dependencies via Maven. And to add another scenario: imagine a project with multiple modules (e.g. domain model, web-ui, applet). Managing that with Maven is quite useful: it makes sure you don't introduce accidental dependencies and tools like Hudson grok a Maven parent POM. If you do it all in Java NetBeans is quite ok, but once you decide to do the web-app in Groovy or the applet in JavaFX you get into real trouble. Peter Joshua Marinacci wrote: > Why do you have to use JavaFX with maven? Currently there aren't any > JavaFX specific plugins for Maven, so what does it buy you? (I'm not > saying that we shouldn't support this in the future, I'm more curious > how IntelliJ fixes the issue). > -j > On May 27, 2009, at 8:21 AM, Frederic Simon wrote: > >> Well it looks like the NetBeans team is not willing to mix Maven and >> JavaFX :) >> The issue was declared "invalid" with the comment: >> "JavaFX-specific features are supported in JavaFX project type only." >> But like Bill Robertson said: "Netbeans javafx plugin doesn't even >> work on its own, and you want maven too? ;)" >> >> Anyway, I tried NetBeans nightly build and my Maven project is great, >> but no way to have the JavaFX plugin with it :( >> So, I'm afraid I'll do my JavaOne demo with IntelliJ :( >> >> On Tue, May 12, 2009 at 8:20 PM, Fabrizio Giudici >> <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Frederic Simon wrote: >> > Good idea, done: >> http://www.netbeans.org/issues/show_bug.cgi?id=164912 >> Thanks! >> >> -- >> Fabrizio Giudici - Java Architect, Project Manager >> Tidalwave s.a.s. - "We make Java work. Everywhere." >> weblogs.java.net/blog/fabriziogiudici >> <http://weblogs.java.net/blog/fabriziogiudici> - >> www.tidalwave.it/blog <http://www.tidalwave.it/blog> >> [email protected] >> <mailto:[email protected]> - mobile: +39 348.150.6941 >> >> >> >> >> >> >> -- >> JFrog Ltd >> 5 Habonim st., P.O.Box 8187 >> Netanya, Israel 42504. >> Tel: +972 9 8941444 >> Fax: +972 9 8659977 >> http://www.jfrog.org/ >> http://freddy33.blogspot.com/ >> http://nothingisinfinite.blogspot.com/ >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
