SlideShare a Scribd company logo
Maven – The build paraphernalia [email_address]
What’s Inside Why a build tool? Maven Advantages Core Concepts – POM Dependency Management. Report Generation Resources
Why a build tool? Enables repeatable builds. Embeds build knowledge in to the project. Makes it possible for automated builds Continuous Integration Makes it easy for release management ANT ,Make, Shell scripts………(Where is Maven .. ?)
Maven  - “accumulator of knowledge” A new approach to project development. Based on the concept of XML Project Object Model (POM). Configure your build don’t script it. Define what to build not how to. Superior dependency management. Maven is not a build tool, It’s a development tool. Coherent site of project information.
Advantages Standardized project layout and project structure Standardized dependency management. Instant downloads of new plug-in and features as the developer needs them.  Website generation for up-to-date project information.  Integration with source control: CVS and Subversion.
Core Concepts – POM All Information about the project is contained in a single file called pom.xml Pom contains the detailed metadata information about the project. An Average pom.xml contains: Project Management Project Build Project Dependency Project reports <see notes>
Dependency Management Repository [local and remote] Just define the dependency and forget about them – Maven will do the rest.
Report  [Site] Generation Site generation is a key feature of maven. It contains: A reference to build server Javadoc Issue tracking reference Test and quality reports Copy paste dectetor  [CPD] The reports are generated by the plugins that maven provides. Maven uses the “mvn site” goal to create the site. The site is usually a htm document and we can customize it using CSS/XSLT
e.g. Coverage Report
day-to-day maven... mvn clean mvn install mvn test mvn install -Dmaven.test.skip mvn eclipse:eclipse  mvn eclipse:clean mvn eclipse:clean eclipse:eclipse  mvn site mvn install:install-file -DgroupId=com.ireasoning -DartifactId=snmpv3 -Dversion=5.0  -Dfile=D:\subin_projects\jars\snmp\ireasoningsnmp.jar -Dpackaging=jar  -DgeneratePom=true   <dependency> <groupId>com.ireasoning</groupId> <artifactId>snmpv3</artifactId> <version>5.0</version> </dependency>
References Maven getting started guide http://maven.apache.org/guides/getting-started/index.html Building web applications with maven-2 http://today.java.net/pub/a/today/2007/03/01/building-web-applications-with-maven-2.html Frequently Asked Technical Questions http://maven.apache.org/general.html
Thank You

More Related Content

PPTX
Introduction to ASP.NET MVC
PDF
Introduction to angular js july 6th 2014
PPT
Introduction to ASP.NET MVC 1.0
PDF
Djangocon 09 Presentation - Pluggable Applications
PPT
TDD with ASP.NET MVC 1.0
PPTX
Rise of the responsive single page application
PDF
Modern Web App Architectures
PPTX
TypeScript and SharePoint Framework
Introduction to ASP.NET MVC
Introduction to angular js july 6th 2014
Introduction to ASP.NET MVC 1.0
Djangocon 09 Presentation - Pluggable Applications
TDD with ASP.NET MVC 1.0
Rise of the responsive single page application
Modern Web App Architectures
TypeScript and SharePoint Framework

What's hot (20)

PPTX
How to Wield Kentico 9 in the Real World
PPTX
Maven in mulesoft - part 2
PDF
ColdFusion 11 New Features
PPT
You Know WebOS
PPT
A Tour of Ruby On Rails
PPTX
Building a Messaging Framework on the Salesforce1 Platform
PDF
Single page applications
PPTX
Maven in mulesoft
PPTX
My journey and learnings using mule esb part 1
PPT
Quick Start: ActiveScaffold
KEY
An Introduction to webOS
PPS
Asp.Net 2.0 Presentation
PDF
Net training in bhubaneswar
PPTX
Kentico Connection 2014 Boston Upgrade Like a Pro
PPTX
Codegen2021 blazor mobile
PDF
The MEAN stack - SoCalCodeCamp - june 29th 2014
PPTX
Architecture & Workflow of Modern Web Apps
PPTX
Building Offline Ready and Installable Web App
PPTX
Lightning Web Component - LWC
PPTX
Drupal 7 Web Services Crash Course
How to Wield Kentico 9 in the Real World
Maven in mulesoft - part 2
ColdFusion 11 New Features
You Know WebOS
A Tour of Ruby On Rails
Building a Messaging Framework on the Salesforce1 Platform
Single page applications
Maven in mulesoft
My journey and learnings using mule esb part 1
Quick Start: ActiveScaffold
An Introduction to webOS
Asp.Net 2.0 Presentation
Net training in bhubaneswar
Kentico Connection 2014 Boston Upgrade Like a Pro
Codegen2021 blazor mobile
The MEAN stack - SoCalCodeCamp - june 29th 2014
Architecture & Workflow of Modern Web Apps
Building Offline Ready and Installable Web App
Lightning Web Component - LWC
Drupal 7 Web Services Crash Course
Ad

Viewers also liked (20)

PDF
자극적 헤드라인을 버린 네이버 뉴스캐스트 개편
DOCX
Melanoma screening 1
PPTX
Benchmarking the way ahead - Disability-inclusive MDG‘s and Aid Effectiveness
PDF
Grace Has Appeared Slides, 2/24/13
PDF
Announcements, 7/27/14
PDF
Announcements, 9/14/14
POT
Quinto leon ana cristina ukrania
PPTX
Skilled for life - Results from the survey of adult skills
PDF
ANDROID BOOTCAMP 101: MI PRIMERA APLICACIÓN ANDROID - CÓMO INICIAR UN EMPREND...
PDF
2011년 4월_ 해외온라인광고크리에이티브
PDF
Announcements, 6/26/11
PDF
Creation Is Groaning Slides, 6/17/12
PDF
Announcements, 5/13/12
PDF
Announcements, 1/4/15
PDF
Announcements, 6/3/12
PDF
Restoring Trust Between Teachers and the Government
PDF
It's HIS Story Slides, 5/20/12
PDF
The Great Place To Live Slides, 6/12/11
PDF
Inside & Out Slides, 2/19/12
PDF
Under His Wings, 7/24/16
자극적 헤드라인을 버린 네이버 뉴스캐스트 개편
Melanoma screening 1
Benchmarking the way ahead - Disability-inclusive MDG‘s and Aid Effectiveness
Grace Has Appeared Slides, 2/24/13
Announcements, 7/27/14
Announcements, 9/14/14
Quinto leon ana cristina ukrania
Skilled for life - Results from the survey of adult skills
ANDROID BOOTCAMP 101: MI PRIMERA APLICACIÓN ANDROID - CÓMO INICIAR UN EMPREND...
2011년 4월_ 해외온라인광고크리에이티브
Announcements, 6/26/11
Creation Is Groaning Slides, 6/17/12
Announcements, 5/13/12
Announcements, 1/4/15
Announcements, 6/3/12
Restoring Trust Between Teachers and the Government
It's HIS Story Slides, 5/20/12
The Great Place To Live Slides, 6/12/11
Inside & Out Slides, 2/19/12
Under His Wings, 7/24/16
Ad

Similar to Maven – The build paraphernalia (20)

PPT
Maven 2 features
PPT
Maven 2.0 - Project management and comprehension tool
PPTX
Introduction to Maven
PDF
SE2018_Lec-22_-Continuous-Integration-Tools
PPTX
PDF
PDF
PPT
Maven Introduction
PPTX
1 app 2 developers 3 servers
PPTX
02 configuration
PPT
Presentation 1 open source tools in continuous integration environment v1.0
ODP
PDF
Build Automation using Maven
PDF
Apache maven, a software project management tool
PPT
Maven introduction in Mule
PPTX
#10 Calicut Mulesoft Meetup - Maven And Mule.pptx
PDF
Scale your Magento app with Elastic Beanstalk
Maven 2 features
Maven 2.0 - Project management and comprehension tool
Introduction to Maven
SE2018_Lec-22_-Continuous-Integration-Tools
Maven Introduction
1 app 2 developers 3 servers
02 configuration
Presentation 1 open source tools in continuous integration environment v1.0
Build Automation using Maven
Apache maven, a software project management tool
Maven introduction in Mule
#10 Calicut Mulesoft Meetup - Maven And Mule.pptx
Scale your Magento app with Elastic Beanstalk

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Encapsulation theory and applications.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
KodekX | Application Modernization Development
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Monthly Chronicles - July 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Weekly Chronicles - August'25 Week I
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Encapsulation theory and applications.pdf
cuic standard and advanced reporting.pdf
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Maven – The build paraphernalia

  • 1. Maven – The build paraphernalia [email_address]
  • 2. What’s Inside Why a build tool? Maven Advantages Core Concepts – POM Dependency Management. Report Generation Resources
  • 3. Why a build tool? Enables repeatable builds. Embeds build knowledge in to the project. Makes it possible for automated builds Continuous Integration Makes it easy for release management ANT ,Make, Shell scripts………(Where is Maven .. ?)
  • 4. Maven - “accumulator of knowledge” A new approach to project development. Based on the concept of XML Project Object Model (POM). Configure your build don’t script it. Define what to build not how to. Superior dependency management. Maven is not a build tool, It’s a development tool. Coherent site of project information.
  • 5. Advantages Standardized project layout and project structure Standardized dependency management. Instant downloads of new plug-in and features as the developer needs them. Website generation for up-to-date project information. Integration with source control: CVS and Subversion.
  • 6. Core Concepts – POM All Information about the project is contained in a single file called pom.xml Pom contains the detailed metadata information about the project. An Average pom.xml contains: Project Management Project Build Project Dependency Project reports <see notes>
  • 7. Dependency Management Repository [local and remote] Just define the dependency and forget about them – Maven will do the rest.
  • 8. Report [Site] Generation Site generation is a key feature of maven. It contains: A reference to build server Javadoc Issue tracking reference Test and quality reports Copy paste dectetor [CPD] The reports are generated by the plugins that maven provides. Maven uses the “mvn site” goal to create the site. The site is usually a htm document and we can customize it using CSS/XSLT
  • 10. day-to-day maven... mvn clean mvn install mvn test mvn install -Dmaven.test.skip mvn eclipse:eclipse mvn eclipse:clean mvn eclipse:clean eclipse:eclipse mvn site mvn install:install-file -DgroupId=com.ireasoning -DartifactId=snmpv3 -Dversion=5.0 -Dfile=D:\subin_projects\jars\snmp\ireasoningsnmp.jar -Dpackaging=jar -DgeneratePom=true <dependency> <groupId>com.ireasoning</groupId> <artifactId>snmpv3</artifactId> <version>5.0</version> </dependency>
  • 11. References Maven getting started guide http://maven.apache.org/guides/getting-started/index.html Building web applications with maven-2 http://today.java.net/pub/a/today/2007/03/01/building-web-applications-with-maven-2.html Frequently Asked Technical Questions http://maven.apache.org/general.html

Editor's Notes

  • #7: 1)Project Management Detailed Description of project Company Information Developer roles and Information Mailing List, Source control modules configuration. 2)Project Build Source code and test code location Resources location 3)Project Dependency Libraries needed for build and runtime. 4)Project Reports Junit reports Check style reports Javadoc reports etc………
  • #8: Dependency Scope http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope