Hi, I think you've got the basics right.
1. You would create one maven project per artifact you are building and organize them in a tree-like or flat directory structure. 2. You then would aggregate the build of this subprojects/modules in a top-level virtual project with packaging type 'pom' and a <modules/> section where you list the subprojects. 3. In your subprojects you can define dependencies to other subprojects in the <dependencies/> sections of the subprojects poms just as you would for other dependencies. A good starting point for learning maven is (of course) the 'Getting Started Guide' [1]. The free maven book [2] from Mergere is also worth reading. And there was an announcement [3] of another free book just a few days ago. HTH -Tim [1] http://maven.apache.org/guides/getting-started/index.html [2] http://library.mergere.com/ [3] http://www.nabble.com/A-new-book-for-users%3A-%22Maven%3A-The-Definitive-Guide%22-tf3648569s177.html#a10191220 Am Freitag, den 27.04.2007, 18:24 -0300 schrieb Marcos: > Hi all, > > I've just started with Maven today and I must admit that I didn't read > all Maven's documentation yet ;-( > But I'm asking just for a tip or maybe a hyperlink I missed out where I > could get such information .... > > I have the following scenario.: > 1.) 11 projects developed in Netbeans 5.5 > 2.) Each project has its own ant build file (IDE generated build file) > and some of them have customizations such as custom ant tasks. > 3.) Each project has its own dependencies (.jar files) and these > dependencies are redundant between some of them. > 4.) Each project has JUnit tests. > 5.) All of these projects together form "one application" (without any > gui at all). > > As far as I read ... Maven is the right tool to integrated all of these > projects smoothly. But I'm a little confused because I didn't understand > some Maven's concepts .... ;-( > Question 1. Are these projects recognized as "modules" in a maven's > pom.xml file ? > Question 2. If the above question is true .... I think the only thing > I need to do is to create some sort of "link" to this "module" inside of > pom.xml ... Am I right ? Where can I find more info about that ? > > Thank you very much !!! > (My apologies for these "basic" questions) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
