Is this during a "mvn clean"?
You probably need a "mvn -Pfastinstall" first before the clean. For
some bizarre reason, mvn requires all the "build" plugins to be
available during the "clean" action as well. Since those plugins are
built as part of the build, they aren't in your repo ye
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cxf
-DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.1.2-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:depl
Instead of calling "main", try doing:
WSDLToJava w2j = new WSDLToJava(args);
ToolContext ctx = new ToolContext();
w2j.run(ctx);
When that completes, the ctx should have a LOT of stuff in it that may
provide the information you need.
Dan
On Jul 7, 2008, at 11:11 PM, Tong Wang wrote:
Tong, please use the cxf-user list for your questions. This keeps the
archives clean, and the same developers are on both lists.
Glen
On Tue, 2008-07-08 at 11:11 +0800, Tong Wang wrote:
> Hi friends,
>
>
>
> I am new to cxf, and trying to use wsdl2java APIs to generate the
> server/client ar