Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Introduction to Maven

No description
by

Isuru Wijesinghe

on 5 September 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Introduction to Maven

Introduction to Maven
Project
Source Code

Dependencies

Documentation
Development Workflow
Development workflow is an Iterative Process


Build Tools
One of the most widely used build tool

Highly convention based, but provide a small degree of configuration base
Installing Maven
Installing Maven on Windows

Creating
Maven Project
1. Using Archetype

2. Manually
Eclipse + Maven
Eclipse Maven Plugin
Edit the source code
Let do some modification to source code.
Compile
Compile source code and fix any compilation issues.
Testing
Test new functionality using unit testing

Test old functionality are not broken
Distributable
Create web archive file (.war extension) to be deployed into application server

Integrated Development
Environments
Build tools are used to increase the efficiency of development workflow
Introduction to Maven
Setting Up Environmental Variables
Prerequisites


Control Panel
System & Security
System
Advanced System Settings
Environmental Variables
Setting Up
Environmental Variables (Contd.)
JAVA_HOME
= /path/location_to_jdk
M2_HOME
= /path/location_to_maven
Finally
Verify Installation
Type the following on Command Prompt
java -version
mvn --version
JDK 1.6+( 1.7 preferred)
Maven Eclipse Plugin
via a Plugin on Eclipse Market
by adding a plugin to pom.xml
Coding
Testing
Packaging
Project Structure
my-app
pom.xml
src
java



java
main



test
com



com
hsenidmobile



hsenidmobile
app



app
App.java



AppTest.java
PATH
= ...;%M2_HOME%/bin;
%JAVA_HOME%/bin;
Full transcript