Download WSDLs, imported WSDLs and referenced schema files. Schema and imported WSDL locations are rewritten to reference the local files.
Usage example:
<plugin>
<groupId>com.github.dkschlos</groupId>
<artifactId>wsdlget-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<clearOutputDirectory>true</clearOutputDirectory>
<outputPath>path/to/desired/output</outputPath>
<subfolderByServiceName>false</subfolderByServiceName>
<wsdls>
<wsdl>
<url>http://someurl/service.wsdl</url>
</wsdl>
<wsdl>
<serviceName>betterNameForDownloadedFiles</serviceName>
<url>http://someurl/anotherService.wsdl</url>
</wsdl>
</wsdls>
</configuration>
</plugin>
mvn wsdlget:wsdlget
Right now, at least Java Version 8