assume you're referring to
http://ws.apache.org/axis2/tools/1_2/maven-plugins/maven-wsdl2code-plugin.html
where the default of Target directory, where sources are being
target/generated-sources/axis2/wsdl2code generated.
what if you redirect the parameter outputDirectory to point to classes folder?
-DoutputDirectory=/classes
?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Fri, 10 Jul 2009 17:11:11 -0600
> Subject: axis2-wsdl2code-maven-plugin use
> From: [email protected]
> To: [email protected]
>
> How does this plug-in fit in a normal development work flow?
>
> I'm using it to create a service from a wsdl file that is provided by
> a vendor, and I think I have it creating the sources correctly, but
> the default behavior is to generate the classes into the target
> directory (specifically target/generated-sources/axis2/wsdl2code/src).
>
> One of the generated classes is the skeleton for the service, so if I
> change it and run maven clean package to build a new war file...it
> gets deleted. :-)
>
> If I copy that class to my src/main/java directory, then I get a
> "[INFO] Compilation failure" message because I have a duplicate class.
>
> I think for now, I'll just use the ant tasks to delete the generated
> version. That seems a bit wonky...but it'll do it.
>
> Can someone who is using this help me figure out a way to fit it into
> my work flow?
>
> Larry
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290