Maven is a build automation tool used primarily for Java projects. Maven serves a similar purpose to the Apache Ant tool, but it is based on different concepts.
This page lists down all tutorials on this website available on this topic. This page will be updated everytime, I will write any post on maven. Feel free to suggest topics you want to read more on.
Maven Installation and Setup
Learn how to install maven in windows environment.
Basic project creation examples
Learn how to create a simple web application using maven and convert it to support eclipse IDE.
A simple project will be created using maven with interactive and non-interactive mode.
Convert projects to support IDEs
Learn how to make a maven project compatible with Intellij Idea IDE.
Learn how to make a maven project compatible with Eclipse..
Useful Maven plugins
Learn about maven’s enforcer plugin which can used to put constraints on runtime.
Learn to generate ANT’s build.xml and properties file from maven’s Ant plugin.
Learn various maven’s command to run a filtered group of junit test cases from command prompt
Other useful maven examples
M2_REPO variable is necessary for executing the maven project in eclipse IDE. Learn how to define it.
Behind proxy servers and not able to connect to maven repository? No worry. You can configure network proxy settings also.
Maven’s local repository is place where all project dependencies are downloaded. Customize this path using information given here.
Have JSTL in project. Learn to add jstl dependencies in your project here.
This error is because of maven compiler plugin defaults. Which is currently 1.5. So if you are using java 1.6 for building your project, you are going to face this issue every time.