Assuming all your <parent>, <module>, and <dependency> tags are properly defined, the reactor should be able to figure out the proper order to build your modules to avoid problems.
I'd suspect something is wrong in one (or more) of your pom files, as I have never seen this myself and I know there are numerous tests etc in the Maven2 code which were created to avoid these problems. If you decide that you certainly have a bug and can demonstrate it with a few small files, please open a JIRA bug report and attach a zip with the pom.xml files etc. Wayne On 1/31/07, Rodrigo Ruiz <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I am working in a rather large multi-module project in which several modules depend on sibling and parent artifacts (within the same project). Using Maven 2.0.4, if I try to compile / package / install / deploy the whole project with a clean local repository (e.g. the first time I do a checkout), the process fails at compile time because it does not find any installed artifact in the local repository. Is this a reported bug? I haven't found any related JIRA report. My guess is that the Maven dependency resolution system is not including the generated artifacts once they have been built. Is there any way to achieve this? Even with "mvn install", it tries to compile all modules before packaging or installing them, thus failing when it finds the first module with "internal" dependencies. Thanks in advance, Rodrigo Ruiz - -- - ------------------------------------------------------------------- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ - ------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFwJoPp9m/F5UenDoRAqeiAJ4nRwI8/2QB2qipXobWAdxPWJt8iwCeMXOr mnoHAh6oZIuEu1X0pTt+ICs= =1Neo -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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]
