installing maven on windows

16
Installing Maven on Windows APACHE-MAVEN-3.2.2 1

Upload: juan-carlos-perez-pardo

Post on 11-Jul-2015

464 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Installing maven on windows

Installing Maven on

WindowsAPACHE-MAVEN-3.2.2

1

Page 2: Installing maven on windows

Thanks for sharing!

My personal and contact details:

Juan Carlos Perez Pardo

[email protected]

I am living in Dublin

Linkedin: www.linkedin.com/in/perezpardojc

Twitter: https://twitter.com/perezpardojc

And like always if you want to copy, paste, and collaborate feel free to do it!

2

Page 3: Installing maven on windows

My lab:

Laptop

Dell Precision M4800 / Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz / 16 GB

Dell Latitude E6400 / Intel(R) Core(TM) 2 Duo P8400 CPU / 8GB

Microsoft Windows 8.1 / Ubuntu 14.04 LTS

Network

TP-LINK’s AV500 Nano Powerline Adapter TL-PA4010KIT

Technicolor TC7200 Modem / Router

Internet connection:

UPC Fibre Power 120Mb

3

Page 4: Installing maven on windows

Installing Maven on Windows

First steps:

Go to http://maven.apache.org

Go to Downloads section http://maven.apache.org/download.cgi

Click on download the product that you are interested

Once is downloaded in your system we are ready to install

4

Page 5: Installing maven on windows

Installing Maven on Windows

Apache Maven is not require to install on Windows as a service

component, you just need to download the Maven’s zip file, extract

it and configure the Windows environment path variable.

Tools Used :

JDK 1.6

Maven 2.2.1

Windows 8.1

P.S This works with Maven 3 also.

5

Page 6: Installing maven on windows

Installing Maven on Windows

JDK and JAVA_HOME

Make sure JDK is installed, and “JAVA_HOME” variable is added in

Windows environment variable, and point to the JDK folder.

6

Page 7: Installing maven on windows

Installing Maven on Windows 7

Page 8: Installing maven on windows

Installing Maven on Windows

Download Apache Maven

Visit this Maven official website, choose a version and click on the

download link, e.g apache-maven-2.2.1-bin.zip.

Extract It

Extract the downloaded zip file. In this case, we extracted to d driver

and renamed the folder, in my case C:\Program Files\maven

8

Page 9: Installing maven on windows

Installing Maven on Windows

AVEN_HOME

Add a new MAVEN_HOME variable to the Windows environment, and

point it to your Maven folder.

9

Page 10: Installing maven on windows

Installing Maven on Windows 10

Page 11: Installing maven on windows

Installing Maven on Windows

Add PATH

Update PATH variable, append “Maven bin folder” path, so that you

can run the Maven’s command everywhere.

11

Page 12: Installing maven on windows

Installing Maven on Windows

Verification

Done, to verify it, in command prompt, type “mvn –-version“.

12

Page 13: Installing maven on windows

Installing Maven on Windows 13

Page 14: Installing maven on windows

Links and References

https://www.google.com

http://www.apache.org

http://maven.apache.org

https://www.java.com

14

Page 15: Installing maven on windows

Thanks for sharing!

My personal and contact details:

Juan Carlos Perez Pardo

[email protected]

I am living in Dublin

Linkedin: www.linkedin.com/in/perezpardojc

Twitter: https://twitter.com/perezpardojc

And like always if you want to copy, paste, and collaborate feel free to do it!

15

Page 16: Installing maven on windows

Thanks! 16