Since we have already used NetBeans to create some multi module projects, let’s see how it works when we want to open an existing project. This project is a web project that has several modules that are used together to get the current weather from the open source website openweathermap.org using the API provided.
- [Instructor] Since we've already used NetBeans…to create some multi-module projects,…let's see how it works when we want…to open an existing project.…This project is a web project…that has two modules that are used together…to give the current weather…from the open source website openweathermap.org.…Let's open the project.…File, Open Project,…Desktop,…Exercise Files,…O2,…02_02,…simple parent, and Open Project.…
The website, openweathermap.org,…provides an open source api…that allows us to pass in a city ID…and it returns back weather information.…Let's take a look at the details for this project.…As you can see, my parent project is open.…Let's look at the POM for the parent project.…The POM is always located in the Project Files folder.…Here, we have the POM for the parent,…which has a group ID of com.linda, version 1.0,…artifact ID simple parent.…
Notice the packaging type on line 13 is pom.…The two modules on line 16 are simple-weather…and simple-webapp.…Let's expand the modules folder on the left here…in our Projects space.…
Released
9/22/2016- Creating parent project
- Creating submodules
- Building a multi-module project
- Working with different IDEs
- Understanding Maven build lifecycles and build profiles
- Writing plugins
Share this video
Embed this video
Video: NetBeans