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.)