


#Maven install javadoc local repository code
Developer is only required to place files accordingly and he/she need not to define any configuration in pom.xml.Īs an example, following table shows the default values for project source code files, resource files and other configurations. When a Maven project is created, Maven creates default project structure. Maven provides sensible default behavior for projects. Maven uses Convention over Configuration, which means developers are not required to create build process themselves.ĭevelopers do not have to mention each and every configuration detail. In later chapters, we will explain POM in detail. Maven project structure and contents are declared in an xml file, pom.xml, referred as Project Object Model (POM), which is the fundamental unit of the entire Maven system. Plugins or tools that interact with this declarative model. The primary goal of Maven is to provide developer with the following −Ī comprehensive model for projects, which is reusable, maintainable, and easier to comprehend. JARs were checked into CVS.Īpache group then developed Maven which can build multiple projects together, publish projects information, deploy projects, share JARs across several projects and help in collaboration of teams. There were several projects and each project contained slightly different ANT build files. Maven was originally designed to simplify building processes in Jakarta Turbine project. Maven increases reusability and takes care of most of the build related tasks. It handles compilation, distribution, documentation, team collaboration and other tasks seamlessly. To summarize, Maven simplifies and standardizes the project build process. Maven provides developers ways to manage the following − As most of the project setups are simple and reusable, Maven makes life of developer easy while creating reports, checks, build and testing automation setups. In case of multiple development teams environment, Maven can set-up the way to work as per standards in a very short time. Development team can automate the project's build infrastructure in almost no time as Maven uses a standard directory layout and a default build lifecycle. Maven is a project management and comprehension tool that provides developers a complete build lifecycle framework.
