Lopez has spent parts of eight seasons in the big leagues with the Padres, Orioles, Rockies and Phillies and has a career record of 68-66 with a 4.82 ERA in 194 games, including 166 starts.
Last season, Lopez appeared in seven games (five starts) for the NL champion Phillies and was 3-1 with a 5.70 ERA.
Lopez's best seasons came in 2004-05 when he was 14-9 and then 15-12 for the Orioles.
Lopez joins right-hander T.J. Beam, outfielder Drew Macias and catcher Carlos Corporan as Spring Training invitees.
Steve Gilbert is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.