Step 1: Create a GUI application with the application wizard
Create a new desktop project
Start a new instance of Eclipse using a completely new Workspace and create a new desktop application using a wizard. Use 'tutorial3' as the project name, a custom files location, and 'com.company' as package prefix.
Import the project created in Part 2
Then, import the project created during Part 2 of the tutorial:
-
In the 'Project Explorer' window, open the context menu and choose 'Import…'.
-
In the dialog window that opens, choose "Maven" → "Existing Maven Projects" and press "Next".
-
Select root directory of the project created at Step 2 and press "Finish".
I need the Part 2 source code, where can I get it?
See our GitHub: https://github.com/amalgama-llc/supply-chain-tutorial-part-2
I do not see any Maven options in the "Import" window, what should I do?
If there are no Maven-related items in the Import project dialog window, then your installation of Eclipse is most likely missing the Maven integration plugin.
To fix that:
-
Open "Help" → "Install New Software…"
-
Place this URL into the "Work with" field: https://download.eclipse.org/technology/m2e/releases/latest/
-
Choose "Maven integration in Eclipse" → "M2E - Maven integration in Eclipse" feature to install and click Next.
-
Press Finish in "Install details" window.
-
Press "Restart Now" in the Eclipse restart confirmation window that appears after installation is complete.
Try to import the Maven project once again - the "Import" dialog should now contain the options for Maven projects.