Created
August 25, 2013 04:12
-
-
Save hasithaa/6331948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugins> | |
| <!-- usage of jax-ws maven plugin--> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>jaxws-maven-plugin</artifactId> | |
| <version>1.12</version> | |
| <executions> | |
| <execution> | |
| <id>wsimport-from-jdk</id> | |
| <goals> | |
| <goal>wsimport</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <!--wsdls file directory --> | |
| <wsdlDirectory>src/main/resources/wsdls</wsdlDirectory> | |
| <!-- which wsdl file --> | |
| <wsdlFiles> | |
| <wsdlFile>echo.wsdl</wsdlFile> | |
| </wsdlFiles> | |
| <!-- Keep generated files --> | |
| <keep>true</keep> | |
| <!-- Package name --> | |
| <packageName>org.example.echo.service.skeleton</packageName> | |
| <!-- generated source files destination--> | |
| <sourceDestDir>target/generated-code/src</sourceDestDir> | |
| </configuration> | |
| </plugin> | |
| <!-- adding generated source --> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>add-source</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>add-source</goal> | |
| </goals> | |
| <configuration> | |
| <sources> | |
| <source>target/generated-code/src</source> | |
| </sources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| ... | |
| <plugins> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment