Jumping around is the only way. It is a rigged game. If you do stay too long the new hires end make MORE than the ones that have been around for 5 years. It is a stupid game.
Yep, I hired a senior developer the other day (the kid is shy of half my age). He asked for a number, unknown to him was really close to mine, and my boss gave it to him. I am looking as we speak, time for me to get a raise.