|
via Udemy |
Go to Course: https://www.udemy.com/course/devops-engineering-with-apache-maven/
A warm welcome to the Apache Maven course by Uplatz.Apache Maven is a powerful software project management, build and comprehension tool build primarily for Java software projects. It is implemented in Java that makes it platform-independent.The job of Build tools is to perform the compilation, testing, packaging and deployment of the final product. The advantages of performing these steps automatically instead of a human performing these steps is that the build is reproducible, faster and less error prone. Maven can perform these activities, e.g., create web sites, upload build results or generate reports. Maven also supports the creation of the initial folder structure for applications to make it easy to get started.Focused on project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.Maven is used for projects build, dependency and documentation. It simplifies the build process like ANT, infact it's much more advanced. In summary, maven is a tool that can be used for building and managing any Java-based project. Maven make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.The key features of Maven include:Easily build a project using mavenAdd jars and other dependencies of the project easily using the help of maven. It supports the definition and usage of dependencies to other libraries and projects. During the build, the Maven build system resolves the dependencies and it also builds the dependent projects if needed.Maven provides project information (log document, dependency list, unit test reports etc.)Maven is very helpful for a project while updating central repository of JARs and other dependenciesBuild any number of projects into output types like the JAR, WAR etc without doing any scriptingUsing maven we can easily integrate our project with source control system (such as Subversion or Git)Avoid as much configuration as possible, by choosing real world default values and supplying project templatesMaven build system is extensible via plug-ins, which allows to keep the Maven core small. The Maven core does for example not know how to compile Java source code, this is handled by the compiler plug-in.Course ObjectivesDownload, install Maven and run a simple buildUnderstand Maven fundamentals and conceptsUnderstand Maven configuration essentialsConfigure and locate dependencies for a projectConfigure plugins to run unit testsCreate and configure Maven multi-module projectsApache Maven - Course SyllabusMaven IntroductionDownloading and Installing MavenMaven RepositoriesCreating Maven Standalone Project in CLIWhat are JAR, WAR, EAR filesMaven Build Life CycleDeveloping Standalone Maven Project in Non-Interactive ModeRunning Test Cases with MavenCreating Maven Web Project in CLICreating Maven Standalone Project through IDECreating Maven Web Project through IDEAdding Dependencies to pom.xmlDependency ChainMaven Scopes