Enable Maven for Java Projects in Eclipse

In this tutorial I will show how to enable Maven for Java Projects in Eclipse.

First create a Java Project as shown in Figure 3.1

Figure 3.1 Figure 3.1

Now right-click on project, select Configure and click Convert to Maven Project as shown in Figure 3.2

Figure 3.2 Figure 3.2

Enter the details as shown in Figure 3.3

Figure 3.3 Figure 3.3

Again right-click on project, select Properties. Now select Deployment Assembly as shown in Figure 3.4

Figure 3.4 Figure 3.4

Now click Add, select Java Build Path Entries and click Next as shown in Figure 3.5

Figure 3.5 Figure 3.5

Select Maven Dependencies and click Finish as shown in Figure 3.6

Figure 3.6 Figure 3.6

No comments yet.

Leave a Reply