Captain John M. Dwyer was a Starfleet officer in the 24th century.
Dwyer was a member of the Engineering Group at the Utopia Planitia Ship Yards in 2363, whose name later appeared on the 2368 updated dedication plaque for the USS Enterprise-D. (TNG: "Silicon Avatar", dedication plaque)
In 2372, he was listed as a Systems Management officer on the dedication plaque of the USS Enterprise-E. (Star Trek: First Contact, dedication plaque)
This character was only mentioned in writing.
He was named after set decorator John M. Dwyer.