Re: [mevenide-user] mveneide is more like an island in netbean ?
"matt weiss" <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
Hey Emilian, The netbeans plugin for maven essentially produces all the netbeans project files so that you can open your maven project in netbeans without the need for any additional netbeans plugins. The home page is here: http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html Anyone, feel free to correct me if I'm wrong. The main idea is that you should be able to work on java projects and have little regard for which IDE you choose. You can just issue the appropriate maven command that generates the appropriate project files, then open up your favorite IDE and get to work. This eliminates the need to maintain the project files for and IDE because maven knows about all the dependencies. There are a few exceptions. One of the biggest notable exceptions is that the GUI editors are not at all portable. So if you are doing GUI work, you really need to stick to your original gui editor. In contrast, mevenide is merely a plugin for netbeans. Maven then becomes your build environment per say and your debug environment, replacing Ant, which I suppose could have it's advantages, but IMHO has more disadvantages than anything. the maven netbeans plugin would essentially generate all the ant files netbeans needs. Netbeans, then would treat the "project" like a native netbeans project, which is more familiar to many users. Ant would be your build environment which it always has been in netbeans, rather then maven. When it comes time to doing a fully orchestrated build for your build process you would then use maven disregarding all ide project files. My suggestion Emilian, is that there is no need to keep the xml files in sync because maven would generate them for you based on it's knowledge of the dependencies. Anyone with more experience/knowledge please feel free to chime in. Thanks, Matt On Dec 31, 2007 10:05 AM, Emilian Bold <[email protected]> wrote: > Hy, > > Could you also post a small description of what the netbeans plugin for > maven did differently from mevenide ? > > It seems to me some people coming from Eclise-world are used to add a > "Java/Python/Maven nature" to some project. For me it's quite clear, a > project is a project and they rarely cross boundaries. You do get some > free stuff like Java syntax highlight and compiler due to the > infrastructure but it's not a surprise to me that wizards needed some > extra integration work to bridge them to the Maven side. > > If what you are suggesting is to somehow keep in sync the build.xml and > build-impl.xml with the maven side than I'm not sure I would want that. > > Emilian > > > matt weiss wrote: > > In response to Gary's post, I'd like to take a casual survey. I'm > > wondering how much momentum there it to resurrect the netbeans plugin > > for maven? I've had much luck with the intellij plugin for maven, but > > was disappointed when I found out that the plugin for netbeans isn't > > being developed anymore. I'm guilty of taking more than giving with > > open source, and this I suppose could be an opportunity for myself to > > return to the open source community so much that it has given to me. > > > > Anyone interested? > > > > Matt > > > > On Dec 30, 2007 2:11 AM, garyng <linux-MVPv4nKgfG/[email protected] > > <mailto:linux-MVPv4nKgfG/[email protected]>> wrote: > > > > > > Yes, I agree that the netbean plugin is much nicer than the > > eclipse one, for > > the maven side. > > > > But that is not the point and I did encounter the unwanted > > dependencies > > issue(which IMO is more like a maven issue, how come after all > > these years > > people still cannot have these dependency things worked out like > > Debian). > > But that still doesn't change the fact that I cannot effectively > > use what is > > in netbean and maven, TOGETHER. > > > > Here is how I use it in eclipse : > > > > 1. create dynamic web apps in eclipse(not maven project which just > > as you > > said is useless or have maven generate the eclipse side, i.e. mvn > > eclipse:eclipse) but use the src/main/java, src/main/webapp > > instead of the > > default one for the paths. and add src/main/resources as the > addition > > source(maven convention for classpath resources like jdbc.properties > ) > > > > 2. add maven to this new project(must have the m2eclipse plugin) > > 3. add maven libraries to the J2EE dependency > > 4. add dependencies(using the m2eclipse plugin) which would goes > > to POM and > > is deployed/packaged by eclipse automatically, or manually edit POM. > > > > What I have now is a eclipse project that I can work on as before > > but a > > layout that I can play with using maven(editing the POM and use > > command line > > tools for quirks like the mentioned unwanted pulls). Fast test > > cycle under > > eclipse and the benefit of the command line mvn stuffs for > > building/integration testing etc. > > > > > > Under netbean : > > > > I want to create a web project with all those new shiny > > woodstock/facelets > > etc. support, everything is nice. > > > > Now how do I add maven to this project ? Impossible. > > > > The other way round, I can create a maven project but where do I > > add these > > woodstock, facelet, JSF support ? Impossible. > > > > That is why I said it is an island. It integrate well with netbean > > the IDE, > > but not how I use the IDE. > > > > If there is a way so I can create a netbean web project and add > > maven on top > > of it(like the above in eclipse), I am more than happy. Otherwise, > > it seems > > like an 'either/or' situation. > > > > regards, > > > > gary > > > > > > Cyrill Rüttimann-2 wrote: > > > > > > Hi, > > > > > > How did you compare them???? > > > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/mveneide-is-more-like-an-island-in-netbean---tp14544683p14544893.html > > Sent from the mevenide - user mailing list archive at Nabble.com > > <http://Nabble.com>. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > -- > > Matt Weiss > > Software Journeyman > > [email protected] <mailto:[email protected]> > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > >