Hi Felipe, Reading the code, when an archetype is partial (declared in archetype-metadata.xml), There if 4 cases : 1. mvn is called in a directory in which exists a subdir called $artifactId and that does'nt contain any pom, this is an error 2. like 1 but with a pom existing in that sub dir, the generation is made in partial mode 3. mvn is called in a directory in which no subdir named $artifactId and with a pom in the root dir, the generation is made in partial mode 4. like 3 but nosubdir nor pom in root dir, the generation is made in complete mode.
In partial mode, the files are created in the selected dir instead in a sub dir the new pom is made by merging the submodules in the archetypes are processed as in complete mode. Hope this help. Raphaël 2008/11/26 Felipe Kamakura <[EMAIL PROTECTED]>: > Hello all, > > I was reading about the new *maven-archetype-plugin 2.0* and there is > something about Partial Archetype for creating sub-modules. > Unfortunately the documentation is not available. Could anyone explain me > how this works and how to use this feature? > > Thanks in advance! >
