
You shouldn’t stop this type of jumping. You need to diagnose your dog's issue and remedy that. If your dog is just stressed being in a new situation, you should calmly get them off of you, offer them a treat to calm them down, and have them sit politely beside you until their stress level has subsided (or take them somewhere else so that they can calm down if it is taking a while for them to calm down.) But most of all, please do not just ignore this behavior change. 
Nobody likes to have a handful of groceries knocked out of their hand or get muddy paw prints on their new pants as they walk through their own front door, let alone someone else's front door. Jumping up can be a cute greeting when you have a small puppy or dog at home, but as time goes on, it can become quite annoying to you and your guests. Teaching your dog to calmly greet you and your guests, without jumping, will create a much more enjoyable environment to enter into after a long day at work or when receiving guests at home.
2. Greet your dog on his level! In addition to waiting to greet your dog, you should also greet him in a stooped position, so that he doesn't have to jump up to greet you. Additionally, if you wish to pet or cuddle your dog, do so on his level. This removes the need to jump at any time. PRAISE HIM for not jumping. If he jumps, use the "Off" command until he stops.
Dogs like and need consistency, so if you are not allowing your dog to jump on you, everyone in the family and everyone who greets the dog must do the same. You, as an owner, must make sure this happens. It will only confuse a dog if you allow them to jump on some people who say they do not mind, and tell him not to jump on others. Once you decide you do not wish your dog to jump on people you must apply this to everyone at all times unless you give the dog a command to jump. A dog should never jump on a human of its own free will.