Maven project is not picking local repository after copying -


i had working workspace set in maven. due unavoidable reasons have change system , hence need set new workspace. hence copied .m2/repository folder working system new system.

but unfortunately local nopt picking jars local repository , throwing compiler error. have copied home directory .m2/repository folder

can please me here?

thanks, rengasami r

the local repository path defined in settings.xml file (found either in m2_home/conf or user_home/.m2). check value of <localrepository> matches path have defined.

another solution run command mvn help:effective-settings, , display content of settings.xml maven using, find information easily.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -