why can't I find my own installed artifact in eclipse search dialog?

I use mvn install:install-file -DgroupId=ojdbc -DartifactId=ojdbc -Dversion=6 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true to install ojdbc6.jar to my local repository, the result of this command is build success and the ojdbc6.jar is copied to local respository, then I try to add dependency in pom.xml, I click add... button in pom Dependencies panel, type ojdbc in input field and search, I can't find my own ojdbc artifact I just installed in searching results, so what should I do to search out my own ojdbc artifact?

Answers


Try to rebuild or update the index of your local repository in the Maven Repository View which is shown as follows :


Need Your Help

Adding a new array to a multidimensional array item

php multidimensional-array

I need to add some details to an array without overwriting the old data.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.