fix maven tomcat plugin and cargo plugin