There is only one POM per maven module to my knowledge. Why not add your configuration as a profile in the pom.xml of module 2.
Yes, you will have to touch pom for that :-) /Subir -----Original Message----- From: TAN YUNSHI [mailto:yunshi....@alcatel-lucent.com] Sent: Wednesday, January 13, 2010 7:41 PM To: users@maven.apache.org Subject: how to specify the children module POM file name Hi all, Do you know how to specify the children module POM file name? My structure is like this, Project | ---- module 1 | |------pom.xml | ---- module 2 | |------pom.xml | |------pom_init.xml | ---- pom.xml In the parent POM, I like to add the 'pom_init.xml' as the POM file for module 2. The reason is complicate, the dev team creat the pom.xml and I have not the right to touch it and I have to use the 'pom_init.xml' as the POM file. Thank you very much. Yunshi Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org