First: you should point out the plugin repository to download jaxws-maven-plugin
[pluginRepository]
Repository url: http://download.java.net/maven/2
[/pluginRepository]
Second:
Chose the repository for downloading jaxws library:
[repository]
[id]java net repository[/id]
[name]java net name[/name]
[url]https://maven-repository.dev.java.net/repository[/url]
[layout]legacy[/layout]
[/repository]
Third:
Chose the plugin jaxws-maven-plugin
[plugin]
[groupId]org.codehaus.mojo[/groupId]
[artifactId>jaxws-maven-plugin[/artifactId]
[version]1.3[/version]
[executions]
[execution]
[goals]
[goal]wsimport[/goal]
[/goals]
[/execution]
[/executions]
[configuration]
[sourceDestDir]
${basedir}/src/main
[/sourceDestDir]
[verbose]true[/verbose]
[packageName]com.example.myschema[/packageName]
[target]2.1[/target]
[/configuration]
[dependencies]
[dependency]
[groupId]com.sun.xml.ws[/groupId]
[artifactId>jaxws-tools[/artifactId[
[version]2.1.1[/version]
[/dependency]
[dependency]
[groupId]javax.xml.bind[/groupId]
[artifactId]jaxb-api[/artifactId]
[version] 2.1[/version]
[/dependency]
[/dependencies]
[/plugin]
No comments:
Post a Comment