This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I use STS/eclipse-based ide and use Maven. It was working in the sense that it see the world.
Now suddenly maven see only my local repositories.
When I try to add a dependency, say when typing, org for groupid or artifactid, it show only jar from my local.
What did I do wrong here in my STS/eclipse-based ide setting?
It sounds like you lost your connection to Maven Central. Try checking your Maven settings.xml (in .m2 directory in your home directory.) Also check your firewall isn't blocking it. And that you aren't using a proxy. (maybe the proxy is down.)