Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import a maven project into netbeans

Tags:

I'm learning how to create some applications in Java, i found a maven project example in a tutorial and went to compile it in netbeans.

I tried to search in the Internet how to import a maven project into netbeans, and i can't found a solution.

By the way, in the tutorial i downloaded something like pom.xml, i wonder what is it and how it can be used?

Thanks!

like image 938
geekos Avatar asked Dec 30 '13 20:12

geekos


People also ask

Where is Maven in NetBeans?

First install maven separately (and verify it by running mvn command line) and then open netbeans and navigate to Tools -> Options -> Java -> Maven (I guess you already know that but just in case) and change the 'Maven Home' path to the directory where maven is installed.


1 Answers

You can import Eclipse Maven project in netbean, just follow the steps.

1) In Netbean , File->New Project->Select maven in left Pane -> Select Project with existing POM on right pane and finish.

2) Now you will be asked to open a eclipse project just open it and that's it..

I hope you will solve your problem with this......

like image 168
mannu4u Avatar answered Oct 07 '22 19:10

mannu4u