Hi George, 

I guess, if u r being assigned to a maven project,,u must be having some
idea abt Ant build tool.....so here i m sharing something with reference to
ant script.

Piloting from Ant to Maven

1. A file build.properties is stored in the users home directory. This file
contains the location of the proxy host and its port number plus the
location of the local as well as remote repository. The remote repository
can be set to the closest ibiblio mirror. The repository contains the
different dependencies to be used by any project.

2.To pilot the build.xml file in Ant, we create the following three files in
maven under the project's base directory.

        project.xml
        plugin.jelly
        plugin.properties

3. The project.xml file comprises of  three main sections,

        The project management section includes information such as the
project's organization, the developers list, source code location, and the
bug tracking-system URL. The project dependency section includes information
about a project's dependencies. Currently Maven implementation supports only
JAR file dependency.The project build and reports section contains project
build information such as a source code directory, a unit test-case
directory, and the reports to generate in the build.

4. The plugin.jelly file is written in Jelly script and contains the
definition of the different goals. Goals in Maven are replacement of the
targets defined in a Ant build file. A plugin can have its own resources and
dependencies.

5. The plugin.properties is an optional file, that defines the different
property's values specific to a plugin. These values can be accessed from
inside any goal.

when u r done with writing all these files,

go to the maven's install dir on command prompt and run maven plugin:install
then run as maven goal_name
ur goal will be achieved.

Hope it helps u

bbye
Pooja Murjani






-----Original Message-----
From: George A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 9:30 AM
To: [EMAIL PROTECTED]
Subject: maven newbie


hi,
       i am george. i got this address from a website archive. i have just
been assigned to a maven project. and i am trying to figure out how to
create a maven project. i am a new developer and am not aware of anything of
maven , though i read a lot on the apache site. i have installed
maven-1.0-rc4 on my machine and now trying to figure out how i should get an
application running on my machine. if you could throw some light on this,
taking some time from whatever your busy schedle is, it would be of great
help to me. i would be grateful for it.
thank you,
george




---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to