On Thursday 16 October 2008 Jan K wrote: > I went through the site given by arnaud.It is really useful for as i am > new maven.
Through the whole book? Really? > It get the following message in the console: > > [INFO] OldArchetype created in dir: > /home/jano/CVS/margadarsi/ct3/src/careertales > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 17 seconds > [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 > [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some "mvn archetype:create" command, right? This does not compile anything, it generates a new project. > I have placed my java files in src/main/java.I dont get the class files > generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute "mvn compile" to compile your classes. The result can be found in the folder target/classes. hth, - martin
signature.asc
Description: This is a digitally signed message part.
