Thanks Brett for your inputs. You are right the both TC webserver and Build Agent were configured by default to run as local system account.
I changed them to run with my user and also removed the <localRepository> tag from <maven installation>/conf/settings.xml. After the restart everything works fine as now the my local repository (C:\Documents and Settings\<username>\.m2\repository) is being by TC. Thanks again. Rakesh Nagar -- View this message in context: http://www.nabble.com/How-to-fix-missing-maven-artifacts-error-in-TeamCity-%28javax.jms%3Ajms%3Ajar%3A1.1%2C-com.sun.jdmk%3Ajmxtools%3Ajar%3A1.2.1%2C-com.sun.jmx%3Ajmxri%3Ajar%3A1.2.1%29-tp18879154p18919533.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
