list.add(file.getCanonicalPath());
String[] pargs = list.toArray(new String[list.size()]);
InputStream toolspecStream = WSDLValidator.class
.getResourceAsStream("wsdlvalidator.xml");
ToolSpec spec = new ToolSpec(toolspecStream, false);
toolspecStream.close();
WSDLValidator validator = new WSDLValidator(spec);
validator.setArguments(pargs);
boolean ok = validator.executeForMaven();
if (!ok) {