1 / 6

Maven

Maven. What is Maven?. Manages Software Projects - From Compilation to Distribution to Documentation to Team Building Was created to organize Apache Open Source projects. Maven’s Principles. Convention over configuration Standard Directory Layout One primary output per project

brosh
Download Presentation

Maven

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Maven

  2. What is Maven? • Manages Software Projects - From Compilation to Distribution to Documentation to Team Building • Was created to organize Apache Open Source projects.

  3. Maven’s Principles • Convention over configuration • Standard Directory Layout • One primary output per project • Standard Naming Convention • Declarative execution • Reuse of build logic • Coherent organization of dependencies

  4. First Maven Project mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp

  5. Common MVN Commands • mvn compile • mvn package • mvn install • mvn clean • mvn site

  6. Eclipse Maven Plugin • > mvn eclipse:eclipse • > mvn idea:idea • > mvn eclipse:clean

More Related