On Tue, Jan 26, 2010 at 11:01 PM, Brig Lamoreaux <brig.lamore...@apollogrp.edu> wrote: > > How can you set external repository credentials in the POM file? > > I know that you can create a settings.xml file with values below, but how can > I configure a POM file with username/password. I looked at > http://maven.apache.org/maven-v4_0_0.xsd and I don't see a username and > password.
This is 'by design'. POM is a 'public artifcat' that you'd share with your co-workers (by default it's being packaged into jar file) so it should not contains passwords. settings.xml is in your home directory, so it's 'private'. Regards, Tomek --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org