Skip to content

Instantly share code, notes, and snippets.

@jonashackt
Created April 27, 2015 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jonashackt/3302b0e216ce4140be5c to your computer and use it in GitHub Desktop.
Save jonashackt/3302b0e216ce4140be5c to your computer and use it in GitHub Desktop.
configuration section jaxws-maven-plugin - Part 2
<!-- the binding.xml in the given directory is found automatically, because the directory is scanned for '.xml'-Files -->
<bindingDirectory>src/main/resources</bindingDirectory>
<!-- Arguments for JAXB2-Generator behind JAX-WS-Frontend -->
<args>
<arg>-extension</arg>
<!-- Thats a tricky parameter: The first '-B' is for passing the following argument to JAXB2-Generator
the second is needed to generate the human readable Namespace-Prefixes -->
<arg>-B-Xnamespace-prefix</arg>
</args>
</configuration>
<dependencies>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-namespace-prefix</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment