CXF also includes a Maven plugin which can generate WSDL from Java code. Here is a simple example:

Here are the options you can use: