Ya. Installing to local and overriding how the artifacts get deployed is asking for trouble.
> -----Original Message----- > From: Wayne Fay [mailto:wayne...@gmail.com] > Sent: Wednesday, February 22, 2012 5:06 AM > To: Maven Users List > Subject: Re: One question about Multi Project Structure in MAVEN > > > Thanks a lot !! That is all i wanted to confirm with you guys. > > > > So basically i have to use deploy plugin to deploy the stuffs at > repository > > and over there i can define what components i want to publish or > deployed. > > > > And locally i will have all those copy available by executing mvn > install. > > Do be aware that if you just use the same POM files in the deployment > that you use to build, you may end up with Maven complaining about > missing artifacts since you are not uploading all of the files, and > you may have configured them as dependencies for some of your > projects. > > So you might need to make another set of POM files just for the > deployment and remove these 2 modules and all references to them as > dependencies from the POMs. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org