Apache Maven

How to use Apache Maven to easily manage dependencies and build your applications.

Eclipse Maven plugin usage (00:04:29)
How to use Eclipse Maven Integration plugin. Installation and basic troubleshooting. How to add dependencies into pom.xml file, rebuild indexes of your repositories and update Maven project.
How to compile Maven project with different Java version (00:01:54)
Maven compiler plugin enables Maven to compile the project source with a particular Java version. Now I will tell Maven to use Java 1.6 to compile the project source code.
How to change file name generated by mvn package (00:01:42)
You can simply change default file name generated by "mvn package" inside pom.xml file using tag finalName.
How to create runnable JAR file with Maven (00:02:46)
How to create runnable JAR file using Maven assembly plugin.
Java EE 5 web application with Maven (00:06:39)
Java web application created using STS and Maven. First servlet and doGet() method. How to create a WAR (Web Application ARchive) file using Maven. How to use Tomcat integrated with Eclipse and embedded Tomcat using Maven.
How to use Maven project with integrated Tomcat (00:04:40)
How to use Maven project with integrated Tomcat inside Eclipse without STS (SpringSource Tool Suite).
Maven Java EE 6 application (00:03:42)
How to create a Java EE 6 Maven application in Eclipse and run it using embedded Tomcat?
How To Use Maven Jetty Plugin (00:03:46)
How to use Maven Jetty plugin for embedded Jetty web container. Jetty is popular Java EE servlet container. Jetty run, stop and configuration.
Maven Embedded Tomcat automatic redeploy (00:03:16)
How to automatically redeploy embedded Tomcat if you change some Java class?
Maven Embedded Jetty automatic redeploy (00:01:46)
How to automatically redeploy embedded Jetty if you change some Java class?
Maven installation in Windows (00:03:34)
How to install Maven in Windows?
How to add JAR file to local Maven repository? (00:03:17)
How to add JAR file to local Maven repository?
Maven multi module project (00:07:45)
How to create a Multi module project?
Open XML in pom.xml by default in Eclipse (00:01:17)
How to open plain XML in pom.xml by default in Eclipse? Tip for effective Maven usage.
Eclipse & external Maven installation integration (00:01:30)
How to integrate your external Maven installation with Eclipse?
How to solve Source not found error during debug in Eclipse (00:01:37)
If you run your web application using embedded Java EE server in Maven (like Tomcat or Jetty) and try to run it in debug mode, once you hit some breakpoint, you will encounter this error: "Source not found".