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!
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.
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......
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With