Under conditions characterizing the dominance of the discounting factor, a complete version of the Pontryagin maximum principle for an optimal control problem with infinite time horizon and a special asymptotic endpoint constraint is developed. Problems of this type arise in mathematical economics in the studies of growth models.