Hi, Thank you very much for your replies. Actually i didnt understand properly about settings.xml. I didnt put anything in that file. Thats why it was not working. I went through some forums then i put the default values. Now its working fine. Thank you very much for giving these replies.
Thanks and Regards Ratna Sekhar Ian Petzer wrote: > > Hi Ratna, > > To be honest you don't really need much of anything in a settings.xml > file. > The defaults are enough to get Maven working. > > I actually run with a settings.xml file that looks much like the snippet > below You could create your own settings.xml file like this but I doubt it > would solve your problem. > > Maybe you should paste your error message that you get: > > --------- > > <settings xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"> > > <mirrors> > </mirrors> > <servers> > </servers> > > </settings> > > > ------- > > On Sat, Feb 28, 2009 at 10:35 PM, nani2ratna <nani2ra...@gmail.com> wrote: > >> >> Hi, >> >> I am new user to maven. >> I installed maven perfectly. I did first hello world perfectly. >> Now i want to create a project for struts and hibernate. >> Then i gave command to generate folder for web application. >> It also worked fine, now i put struts in dependency. >> But its giving error that settings.xml is not working. >> I want to start developing with struts very new version 2.1.6 GA. >> So can please send me the proper settings.xml. >> >> Thanks and Regards >> Ratna >> - >> View this message in context: >> http://www.nabble.com/example-for-settings.xml-tp22267685p22267685.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > -- View this message in context: http://www.nabble.com/example-for-settings.xml-tp22267685p22270551.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org