Michael,

I understand that the whole of maven might be overwhelming, but it looks like you are trying to let us do your work for you.

However, not to be a pita, I'll give some pointers where you can start.

First of all, to begin working with maven, all you need is a working J2SDK (1.4 is the minimum I'd consider), the maven distribution (1.0.2) as a zip, or as an executable and a project to work on.

There is no need to select and install plugins. The default distribution has plenty to start with. Progress slowly!
Probably the only plugins you are going to need are:
- jar (creates a jar file for you)
- test (runs the unit tests)
- site (creates a documenation site under target/docs)


If you were able to download the maven distribution, then you are also able to read the user's manual. Also read the excellent article called 'Maven magic' (see the articles section).

Setting up a project under eclipse:
create a directory with the name of your project
run "maven genapp" in that directory (when asked for the template to use, just press <enter>), and answer the questions asked.
run "maven eclipse:generate-classpath"
refresh your workspace in eclipse.
add the classpath variable 'MAVEN_REPO' to point to your local maven repository (usually somewhere near your home directory, see the maven-eclipse plugin).


Adding a dependency to your project:
   Edit project.xml to add dependency (see POM documentation)
   run "maven eclipse:generate-classpath"
   refresh your workspace in eclipse.

Creating a jar of your project:
run "maven jar"
et voila: in the target directory resides a compiled jar file (if all tests were successful).


Etc.

Martijn

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



Reply via email to