Unless I'm misunderstanding your question, the java2ws plugin, like all plugins, will activate only for the specific project in which it is defined, not its dependencies. Even if you define all its parameters within a <plugindependency/> in a parent pom, it still needs to be explicitly declared within each dependency for which you want it activated.

Glen

On 01/18/2012 08:22 PM, canterburry wrote:
OK...just discovered that the minOccurs=0 vs 1 does get generated correctly,
but only for classes in the same maven project as my java2ws plugin.
Annotated classes that are dependencies do not seem to be correctly
detected. Is there a limitation to multi-project maven builds when using the
java2ws plugin?

--
View this message in 
context:http://cxf.547215.n5.nabble.com/How-can-i-make-a-Field-Mantadatory-in-WSDL-through-Java-Code-tp5140164p5156522.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to