MavenPlugin Download

Step-1
Open Google
Search for Maven Plugin Eclipse
Click on link “Eclipse.org/m2e/”

1

Step-2
Copy Below Links from M2Eclicpse page
“http://download.eclipse.org/technology/m2e/release”

2

Step-3
Open Eclipse —-Goto Help menu
Select “Install New Software”

3

Step-4
Paste the copied url in the text box “work with”
Click on add button

4

Step-5
Enter a name in the ”Add Repository” window that opens
Click ok button

5

Step-6
Check the checkbox “Maven Integration for Eclipse”
Click next button

6

Step-7
Click finish button in the next window
You will see a message showing the installation in being done

7

Step-8
Once the installation is done, you will see a message box asking if you want to restart the eclipse or not
Click yes button

8

Step-9
In the package explorer, right click choose new -> Project

9

Step-10
In the select wizard window, choose Maven and expand the folder
Select Maven Project
Click Next button


Step-11
Click Next button in the New Maven Project window

11

Step-12
Choose the option shown in the window for the Group id, Artifact id and Version
Click next button

12

Step-13
Enter some value in the Group ID, Artifact id and choose the version
Click on finish button

13

Step-14
Go to project explorer and you will see a project created with the Artifact id name entered in the step 13
Double click on the pom.xml file at the end of the project
Click last tab pom.xml in the right side

14

Step-15
Go to mvnrepository.com using google

15

Step-16
Search for selenium java
Click on the link selenium-java

16

Step-17
Click on the latest release jar version

17

Step-18
In the window where we have download jar link, you have a tab “Maven” at the bottom of the page
Copy the “dependency” tag values

18

Step-19
Paste dependency tag values in the pom.xml file under “dependencies” tag
Right click on the project, choose run as maven build…

19

Step-20
Right click on the project, choose run as maven build…

20

Step-21
In the next window, enter “mvn compile” in the command text box and run

21

Step-22
You will observe that under the project created, in the “maven dependencies” some jar files will be seen without we configuring them
These are the same files we added with “dependency” tag values in pom.xml

22

Step-23
Follow steps 15 to 20 for different jar files we need to configure into the project like junit, poi, testing.jar, etc.,

23

Leave a Reply

Your email address will not be published.