Right, if you have that many projects you want a repository manager to host and share your internal artifacts (as well as proxy external ones). See here for more info: http://maven.apache.org/repository-management.html
On Fri, Jul 31, 2009 at 1:56 PM, Kalle Korhonen<[email protected]> wrote: > And the last missing piece is that you need to make the released > parent pom available to the other builds. The best way is to use a > proxy repo that proxies everything (including the company parent), > then instruct Maven to use that proxy as a mirror for all repos (you > can distribute/make available a sample settings.xml file for your > users). > > Kalle > > > On Thu, Jul 30, 2009 at 3:27 PM, Edelson, > Justin<[email protected]> wrote: >> You just refer to the parent as the parent. Maven does not require that >> the parent be in the same SVN repository as the child. If the parent >> isn't (which I would think is typically the case for corporate POMs), >> then it just has to be in a Maven repository somewhere. >> >> For example, the POM in this project: >> http://kenai.com/projects/boxspring/sources/main/show/trunk references >> the corporate POM I linked to below (well, the last release of it). >> >> Justin >> >> -----Original Message----- >> From: Logachandru X Rajamanickam >> [mailto:[email protected]] >> Sent: Thursday, July 30, 2009 6:09 PM >> To: Edelson, Justin >> Cc: Maven Users List >> Subject: RE: Corporate Parent POM >> Importance: High >> >> Hi Justin, >> >> Thanks for your input and it is very helpful in understanding how this >> can be worked out. Have another question - I am having 100 applications >> in 100 different SVN repositories and in this case how can I refer this >> Corporate POM in the parent POM of the individual applications which are >> residing in 100 different repositories. Can you please throw me some >> ideas on this aspect. >> >> >> >> Thanks & Regards, >> Logu Rajamanickam >> >> -----Original Message----- >> From: Edelson, Justin [mailto:[email protected]] >> Sent: Thursday, July 30, 2009 3:31 PM >> To: Maven Users List >> Subject: RE: Corporate Parent POM >> >> I think the best way to do this is through properties where you set a >> default in the corporate POM and allow children to override it. If it >> helps you, the open-source version of our corporate poms are on kenai: >> http://kenai.com/projects/mtvn-master-pom/sources/source/show/trunk. >> These are not identical to our internal corporate poms, but they're >> reasonably close. >> >> Justin >> >> -----Original Message----- >> From: Logachandru X Rajamanickam >> [mailto:[email protected]] >> Sent: Thursday, July 30, 2009 4:05 PM >> To: Maven Users List >> Subject: Corporate Parent POM >> Importance: High >> >> Hello Experts, >> >> We have nearly 100 applications and I would like to have a central >> corporate POM which is a parent to the child POMs in all applications. >> How should I design a POM at the top level to govern and delegate the >> functionalities to the child POMs in all the applications? Trying to >> find some examples on the web, but could not find any as such. Can you >> please point some references to my requirement. >> >> >> Thanks & Regards, >> Logu Rajamanickam >> >> >> >> This communication is for informational purposes only. It is not >> intended as an offer or solicitation for the purchase or sale of any >> financial instrument or as an official confirmation of any transaction. >> All market prices, data and other information are not warranted as to >> completeness or accuracy and are subject to change without notice. Any >> comments or statements made herein do not necessarily reflect those of >> JPMorgan Chase & Co., its subsidiaries and affiliates. >> >> This transmission may contain information that is privileged, >> confidential, legally privileged, and/or exempt from disclosure under >> applicable law. If you are not the intended recipient, you are hereby >> notified that any disclosure, copying, distribution, or use of the >> information contained herein (including any reliance >> thereon) is STRICTLY PROHIBITED. Although this transmission and any >> attachments are believed to be free of any virus or other defect that >> might affect any computer system into which it is received and opened, >> it is the responsibility of the recipient to ensure that it is virus >> free and no responsibility is accepted by JPMorgan Chase & Co., its >> subsidiaries and affiliates, as applicable, for any loss or damage >> arising in any way from its use. If you received this transmission in >> error, please immediately contact the sender and destroy the material in >> its entirety, whether in electronic or hard copy format. Thank you. >> >> Please refer to http://www.jpmorgan.com/pages/disclosures for >> disclosures relating to European legal entities. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> This communication is for informational purposes only. It is not >> intended as an offer or solicitation for the purchase or sale of any >> financial instrument or as an official confirmation of any transaction. >> All market prices, data and other information are not warranted as to >> completeness or accuracy and are subject to change without notice. Any >> comments or statements made herein do not necessarily reflect those of >> JPMorgan Chase & Co., its subsidiaries and affiliates. >> >> This transmission may contain information that is privileged, >> confidential, legally privileged, and/or exempt from disclosure under >> applicable law. If you are not the intended recipient, you are hereby >> notified that any disclosure, copying, distribution, or use of the >> information contained herein (including any reliance >> thereon) is STRICTLY PROHIBITED. Although this transmission and any >> attachments are believed to be free of any virus or other defect that >> might affect any computer system into which it is received and opened, >> it is the responsibility of the recipient to ensure that it is virus >> free and no responsibility is accepted by JPMorgan Chase & Co., its >> subsidiaries and affiliates, as applicable, for any loss or damage >> arising in any way from its use. If you received this transmission in >> error, please immediately contact the sender and destroy the material in >> its entirety, whether in electronic or hard copy format. Thank you. >> >> Please refer to http://www.jpmorgan.com/pages/disclosures for >> disclosures relating to European legal entities. >> >> --------------------------------------------------------------------- >> 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
