Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.45 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.45 KB

SAVE WSDL MAVEN PLUGIN

Apache License, Version 2.0, January 2004

About

In briefly, It Saves the soap WSDL file and all xsd files.

Building

You need Java JDK 8 to build Plugin. Make sure Maven is using Java JDK 8 by setting JAVA_HOME before running Maven:

  • export JAVA_HOME=/PATH/TO/JDK/8
  • mvn clean install

Config

Add this setting to maven pom file. Default lifecycle set to PACKAGE phase.

<plugin>
        <groupId>com.github.mimdal</groupId>
        <artifactId>save-wsdl-maven-plugin</artifactId>
        <version>${save.wsdl.maven.plugin.version}</version>
        <executions>
            <execution>
                <goals>
                    <goal>save</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <endPoint>http://ip:port/wsdl</endPoint>
            <xsdDirectory>xsd</xsdDirectory>
            <relativeSaveDirectory>src/main/resources/wsdl</relativeSaveDirectory>
            <wsdlName>wsdl.xml</wsdlName>
            <xsdPrefix>import-num</xsdPrefix>
        </configuration>
</plugin>

Contribute

You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community.