Wednesday, September 30, 2009

How to find mvn site command in Netbeans 6.7 ?

Problem :

I try to create a web site for my project with Maven by reading an article of Batiste Witch : article,.
I met some difficulties : How to find mvn site command in Netbeans ?

Solution :

The solution is simple.
When you create a maven project, there is no Project Site directory in project java view.So you can't access to the Generate Site menu.
To reveal this menu you have to create a "site" directory in src directory.Then, you make
run-> Clean and Build Main Project .After that you will see a Project Site directory in Project java view and you will be able to right click on it and generate site.

Screen shots and explanation are available here :

No comments:

Post a Comment