settings.xml is the way to go... set up a specific url and domain so you can change it without changing the settings.xml later on
On Tue, 18 Dec 2007 09:40:05 Nick Stolwijk wrote: > Hi, > > I've got a nice puzzle. We are making a corporate pom file with some > defaults for plugins and the stuff. Also our inhouse repository is > mentioned in there as well as our inhouse snapshot repository. > > So when we have a project which has as parent this pom, we don't have to > configure all that stuff anymore. All nice and set, I've been testing > with this setup and it worked fine. Now my colleague wants to test and > check out our project, runs mvn install and maven starts complaining > that it could not find the parent project. Hmm, I've got a nice circle, > I'm looking for my parent, without the repository configuration, because > that's in my parent. > > Is there a way to solve this? I thought about a profile in the > settings.xml or profiles.xml, but then you still have to change the > value everywhere when your repository changes url. > > Hope someone has any experience with this. > > With regards, > > Nick Stolwijk > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
