Properly canned goods will last almost indefinitely on the shelf, but the quality will start to decline over time. I work on tomatoes being good for 2 years in the cupboard.