This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes maven wsgen packaging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven wsgen packaging" Watch "maven wsgen packaging" New topic

maven wsgen packaging

Marco Antonio
Ranch Hand

Joined: Apr 23, 2008
Posts: 74

I'm testing the wsgen goal in Maven 2 and I have a great doub/problem because I don't know how I can change the default package name.

I have the following Endpoint implementation class:

and the jaxws plugin configuration:

When the goal is executed the suitable classes are generated, but in an unexpected package. They are expected to be generated in the indicated package

but it is generated in the one. I think it the endpoint implementation class package ( and the jaxws by default one.

In the wsgen goal documentation is not referenced a packageName property. It is referenced in the wsimport goal documentation.

How I can specify the package where the source must be generated in a wsgen goal execution? Is it possible?

Thank you very much for any contribution.

Any correction of my English will be gratefully accepted.
Consider Paul's rocket mass heater.
subject: maven wsgen packaging
Similar Threads
Strange problem - works on maven glassfish but not on Tomcat
JAX-WS wsgen using Maven2
Filtering problem using maven-read-properties plugin in pom.xml file
A question about using "wsimport" with Jax-Ws
Issue related to JAX-WS and Maven