--- On Tue, 4/6/10, Phil Steitz <phil.ste...@gmail.com> wrote: > Adrian Crum wrote: > > I just noticed something interesting: it doesn't > matter what I put in the <id> child element of the > <server> element of settings.xml - maven still tries > to log into people.apache.org. It acts like the settings > file is being ignored. > > > The settings file is just to associate the logical server > name with > your user id and the config settings in that file. > The sandbox > parent pom specifies people.apache.org as the deployment > host and > associates the "id" apache.website with that host. So > it is always > going to try to deploy there, regardless of what you have > in > server.xml. The info in server.xml is to fill in your > username - > like a -l or a you@ in front of the ssh command. > > What OS are you running? Where do you have the settings.xml > file > deployed locally? Should be in the .m2 directory > (peer of > "repository"). Also, the <server> entry for > apache.website needs to > be nested in a <servers> list. Sorry this is a > pain to get working.
I'm running Windows XP. The settings file is in maven/config. The <server> element is a child of <servers>. I don't have a .m2 directory. -Adrian --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org