Keith Kim’s Blog
Technology, Development, Tech Trends, Tech Team Management
1st
NOV
Serious problem in Netbeans & Maven
Posted by Keith under Java
After struggling for hours to make Netbeans work with Maven/Struts, I found this:
http://java.sun.com/developer/community/askxprt/2007/jl1022.html
Kris Bravo: I recently tried to use the portal support in combination with a Maven 2 project. Since the new release changed to a model of adding a portal to an existing web application project, I was hopeful that this could be done in my existing Maven project. After giving it some effort I was unable to make this work.
Is it possible, and if not, will it be in the future?
Brian Leonard: I asked Milos Kleint, author of the Maven plugin, here was his response:
Well, the web side of maven support is not really supported on the full scale comparable to ant based projects. What works is deployment and some other basic stuff. I’m not sure about how portal support is implemented. I suppose it’s just another webframework on top of web projects. I have done some experimental work on webframeworks support for maven projects (alpha-beta quality). Currently works with struts, but not with visual web for example. Probably a matter of planning and priorities for post 6.0. This kind of integration work needs to be done across teams.
Your best avenue for carrying this topic further is probably the mevenide mailing list. There you’ll find plenty of others in the Maven community (including Milos), who can more directly help you with this issue.
So, current Maven plugin for Netbeans doesn’t support Web application. Using Maven’s goals work fine, but it won’t support Visual web tool and running web app. After SVN check out a Maven project, the IDE recognized it as a Maven project automatically (of course, after installing Maven plugin). It is a Struts project, so I brought up the Properties, but there is no “framework” node. Struts framework can’t be added. Bummer.
Recent Posts
- Using SVN in Mac
- Setting up CVS pserver on OSX 10.4 and up (10.5, 10.6)
- PhoneGap: development apps for iPad
- PhoneGap install
- iPhone and iPad development
Recent Comments
- Pranav on Intro: Java ME and Palm
- Keith on Code Review tools
- Jesse Gibbs on Code Review tools
- pdumsproject on MS Project replacement (Desktop apps)
- sparky on EverNote, better than Microsoft OneNote
Categories
- Apple
- Architecture
- Books
- Clojure
- Cool Apps
- Development Tools
- Erlang
- Fun
- Golang
- iPhone iPad development
- J2EE
- J2ME
- Java
- Lisp
- Management
- PDA
- Sites
- Tips
- Unix/Linux
- Windows
Archives
- July 2010
- June 2010
- January 2010
- December 2009
- November 2009
- July 2009
- May 2009
- January 2009
- December 2008
- November 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- April 2007