Corregida la persistencia del plugin
refs #2512
#2439 Problems with a WMTS server
adapting to the swing library