Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

maven wsgen packaging

 
Marco Antonio
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

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 com.test.webservices.services.jaxws one. I think it the endpoint implementation class package (com.test.webservices.services) 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic