Ice jams have formed in parts of Maine as heavy rain causes rivers to rise and the ice to break up, causing minor flooding.