I know your problem. Same to me, as I started with maven. But I have experience with ant and also with java. For the first time you could check the introduction from IBM.
http://www-106.ibm.com/developerworks/java/library/j-maven/
This helps to understand the way how maven works.
Very important are two files. Project.xml and maven.xml. Later you will get in touch with plugins, if you want to write your own one. My opinion is, that there isn't any chance to have a deeper look on maven without knowing jelly. This is the programming language be used for get the logic in your build.
I have done following. You will find the plugins extracted to the $HOME/plugins directory. On my system it is:
C:\Documents and Settings\your_login_name\.maven\plugins\maven-java-plugin-1.3
1. Copy the jelly.plugin to your folder where you want to start maven from and rename it to maven.xml.
2. Copy the project.xml also to this folder.
3. Check the maven manual for the tags you have to edit for your needs of project.xml
4. In your maven.xml you will find lines started with <goals name="java:a_goal_name">. From all goal names delete java:
5. Now you have a ready to running build you can play with
6. cd'ing to the directory where maven.xml and project.xml exists.
7. Do: maven compile (Does the same like maven java:compile)
8. You will get a message, that no sources exists
This was a good start for me (of course, I tried one week around to understand what I have to do).
Maven is a great tool. If you understand, what is going on there, you will love it.
And, don't forget: Check http://ant.apache.org and of course, you haven't to install ant.
Currently I am working on a manual for our company, so that other users a able to manage the build. Maybe I will provide a special version to the maven group. Especially for beginners.
Good Luck
Heiko
Nicolas Avila wrote:
Hi
before anything I'm Running Win2k with Service Pack 4
i'm completelty new in maven, i didn�t know it existed before i tryed to check an IM server, wich runs using merlin, wich is builded by using maven (the im server is also maven builded)
so i started from the finish on, traced the steps to maven and installed everything (in case of maven i used the installer and .zip files).... and it's not working so i camed back to what i thougth was the starting point... i i installed and runned maven with no prob... that seemed to be so
i removed then all contents and started again step by step
i used the install-repo file and all seemed to be fine... untill i checked the pathtree and it had installed itself in "c:\maven\bin\%HOME%\.maven\repository" (the first time was it added in c:\Documents and Settings\Administrador\.maven\repository... but i don't know if that happened because of the installer or the zip file [this time i'm using only the zip file])
i did everything like it's told in the website to be done... maybe there should be a couple of missing ""... idk
i guess that will bring me problems later, so i ask now what should i do
and... onme more doubt... are ant and JUnit required?... without that maven would not run?... i runned it before and that builded merlin without any markable problem.... but i didn't installed none of them
thanks from now on
Nicolas Avila
-- ------------------------------------------------------ Heiko Kundlacz | MailTo: [EMAIL PROTECTED] Qnamic AG | Tel: +41 62 209 7056 Fabrikstr. 10 | Natel: +41 78 861 4006 4614 Haegendorf | Fax: +41 62 209 7044 Switzerland | Homepage: http://www.qnamic.com ------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
