Create Netbeans Project Using Maven Commands
How can I create a Netbeans project using pom.xml
?
In Eclipse, I have to use the following commands for this:
mvn install
then
mvn eclipse:eclipse
What are similar commands for creating projects in Netbeans?
Import Maven project into Netbeans. Netbeans itself will build your web project.
I think your question is "How do I import a Maven based project into NetBeans for development?"
If so, check out the NetBeans wiki . You should just install the Maven plugin and import the project from pom.xml
.
PS is a mvn eclipse:eclipse
bit outdated. Check out m2eclipse .
Netbeans 7 automatically opens Maven projects. In Netbeans it is simple File->Open Project
and point to a directory pom.xml
within it.