What is the relation > between maven.xml, build.xml, project.xml, project.properties?
maven.xml would be like build.xml: you specify tasks (maven goals) for your project. but in most of the cases, you dont need it, as the most used tasks were already coded (plugins goals) project.xml has a lot of information about your project, but no goals at all. project.xml has overall infromation about your project, that many plugins will need prior to run. project.properties has more detailed information that some plugin will require, like which conventions you want checkstyle to check, or login and password for deploying your website. project.properties is usually small and dont need to many changes. I think some stuff are in wrong place. For example, you specify in project.xml that a dependency will be needed in your webapp. Maybe this info should be in project.properties, or maybe it would be in project.xml, but using a different approach. I dont know what is the relation with build.xml. I think that maven does not use it anymore. please guys, correct me if I am wrong about sth. > > Regards > Jose > > Konstantin Priblouda wrote: > > >> 1. Does maven "deprecate" ant, or does maven use > >>ant? Must I have ant > >> installed in order to use maven? > >> > >> > >It does use ant behind the scenes, but takes care > >of it installation itself. As well as of your > >dependencies > > > > > > > >> 2. I have an already started project that I build > >>using ant. What is > >> the preferred way to "mavenize" this project? > >>The project is a > >> whole j2ee application, with two ejb jars and > >>one war. Should I > >> translate build.xml to maven.xml? > >> > >> > > > >That's really non-trivial question. I would suggest to > >start with something more simple. > > > >Mevn projects are typically one-artifact-per-project > >So you could be forced to break up your project into > >several pieces - for ejb tier and for web tier. > >And thenb build them using reactor. > > > >Do'nt be affraid, I managed to move almost all > >development in our company to maven. > > > >regards, > > > >===== > >Konstantin Priblouda ( ko5tik ) Freelance Software developer > >< http://www.pribluda.de > < play java games -> http://www.yook.de > < >render charts online -> http://www.pribluda.de/povray/ > > >__________________________________________________ >Do you Yahoo!? >Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! >http://platinum.yahoo.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
