In the "Projects" selection, choose "Java Application", "JavaFX Application" or "Web Application" (whichever is appropriate). Browse to ~/.m2/store (You might need to create this path.) Click OKĬreate a new Maven Project. In the "Experimental" category, check "Use the following location to store Maven binaries". If you don't see the version of maven you've installed, click the "Browse" option and navigate to where you extracted the maven archive. Otherwise, search for it in the "Available Plugins" list and install it.Ĭlick on Tools > Options > Java > Maven > Execution.Ĭlick the "Maven Home" combo box. If you see an entry there, you're good to go. Open Tools > Plugins > Installed > Search. EG: /opt/java/maven)Īssuming NetBeans is installed, launch NetBeans. (Where you installed Java is probably easiest. (Download the *.zip for windows or the *.tar.gz for *NIX.) Alternatively, use your system's package manager ( apt, yum, etc.) to install maven.Įxtract the contents of the archive to a directory of your choosing. (There are other ways to achieve the same thing, such as using gradle).ĭownload the maven binary (bin) from the Apache download page. As your question doesn't explicitly state your preferred method, this answer will detail the approach taken using Apache maven.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |