A Techno Blog, mainly about Java

Maven 2


Getting started

M2_REPO variable: /usr/local/.m2/repository/"

Setup Plugin :

Set up a variable where your executable for maven is
– select Window > Preferences. Select the Run/Debug > String Substitution. Add a new variable
     maven_exec set to /usr/local/maven-2.0.4/bin/mvn
– create a new external tool : Run-> Extrenal Tools -> New
    Location: ${maven_exec}
    Working Directory: directory you are working out of
    Arguments (i.e package)

Eclipse Plugin




mvn -help

mvn eclipse:eclipse

mvn package

mvn -P dev clean install

<project xmlns=""
    <description>MyJar Description</description>

groupId - organization that created the project
artifactId - the unique basename for the artifact being generated for this project
packaging - package type used by this artifact

April 21, 2006 - Posted by | SW Tools

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: