This article does a good job to demonstrate ways to attract and retain talent. The only thing I'd disagree with is that they won't come to you. If you do the other things listed, and become known as a shop that does things right and treats employees well, they will come to you. Reputation of several companies makes their recruiting efforts much easier.
The article doesn't really address the alleged developer shortage referenced in the title. Even if every company did these things, and did them well, would they still all be able to meet their hiring needs?