Published on May 14, 2016 by ProgrammingKnowledge

Maven tutorial for beginners – Learn Apache Maven in simple and easy steps starting from Environment Setup, Build Life Cycle, Build profiles, Repositories, POM, Plug-ins, Eclispe IDE, Creating Project, Build & Test Project, External Dependencies, Project Documents, Project Templates, Build Automation, Dependency Management, Deployment Automation, Web Application NetBeans, IntelliJ IDEA
Searches related to maven tutorial
maven tutorial
maven eclipse tutorial
what is maven
maven tutorial for beginners
maven 3 tutorial
Maven tutorial with full example, including Maven installation, configuration, repository, tips, common hands-on

Leave a Reply

7 Comments on "Maven Tutorial"

Notify of
avatar

Nincako Nincako
Guest
Nincako Nincako
1 year 7 months ago
Try running the jar file. You won't be able to. ProgrammingKnowledge, why you didn't show us how to run that? If you don't know Maven that much so why do you make a Maven tutorial?There is a saying in my country.they ask wolf why your nape is thick? he answered because I do my own job.You need to add this to pom.xml<build> <plugins> <plugin> <!– Build an executable JAR –> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> <mainClass>this.is.the.package.MainClass</mainClass> </manifest> </archive> </configuration> </plugin> </plugins></build>you need to change this.is.the.package.MainClass with exact location of your main class. For that case it will… Read more »
Ali Bani
Guest
Ali Bani
1 year 9 months ago

Thanks, really nice Maven tutorial :))

Danger King
Guest
Danger King
2 years 9 days ago

How can I share a jar file I've made with other people working on the same project?

Hicham Bougaa
Guest
Hicham Bougaa
2 years 9 days ago

*********** السلام عليك **********

The Builder
Guest
The Builder
2 years 10 days ago

ProgrammingKnowledge, may I ask you how you are so good at 20 different programming languages?Cheers.

Stu R (stooeybear13)
Guest
Stu R (stooeybear13)
1 year 10 months ago

Probably because a lot of programming languages share a lot of similar concepts. Java shares conventions and syntax amongst languages like php, javascript, ect.

A R Motivation
Guest
A R Motivation
2 years 10 days ago

thank you

wpDiscuz