How to install Maven on windows


Maven eclipse tutorial discloses how to make expert model in eclipse.

There are following method of maven eclipse you can customize using these step:-

In eclipse, click on File menu → New → Project → Maven → Maven Project. → Next → Next → Next. Presently compose the gathering Id, ancient rarity Id, Package as appeared beneath figure → finish.

Then you will see an expert undertaking with complete index structure. Every one of the records will be made consequently, for example, Hello Java document, pom.xml document, experiment document and so forth. The registry structure of the expert venture is appeared in the beneath figure.

Now you can see the code of App.java file and run it. It will be like the given code work as:

  1. package com.javacodegeeks;  
  2. /** 
  3.  * Hello world! 
  4.  * 
  5.  */  
  6. public class App   
  7. {  
  8.     public static void main( String[] args )  
  9.     {  
  10.         System.out.println( "Hello World!" );  
  11.     }  
  12. }  

If you right click on the project → Run As, you will see the maven options to build the project.






javacodegeeks is optimized for learning.© javacodegeeks .
All Right Reserved and you agree to have read and accepted our term and condition