Pension tax in Maine if from NH

If I retire from the Hampshire department and the safety with a pension. And I moved to Lebanon, Maine. I am not taxed in New Hampshire on my pension. Will I be taxed in the state of Maine if I moved to Lebanon Maine?