Some things to investigate: 1) Call wsconsume from ant. You'll need to do some research to see if this is available as an Ant task. 2) You can try using maven-exec-plugin to call wsconsume directly. 3) Find (or write) written a Maven plugin (mojo) for wsconsume. This is rather simple and I'd encourage you to pursue this option for easy reuse etc.
Wayne On 12/19/07, jsolderitsch <[EMAIL PROTECTED]> wrote: > > I am looking for some directions, or some example pom text, to show how the > jboss wsconsume operation can be integrated into a maven2 workflow. > > wsconsume will generate Java code based on a wsdl spec. For example, one of > our developers uses the following in a Windows bat file to execute this > step: > > set JBOSS_HOME=C:\jboss-4.2.2.GA > %JBOSS_HOME%\bin\wsconsume -v -k -p com.gestalt.sgs.sgsdif -w > WEB-INF/wsdl/uob.wsdl -s src/main/java -o target/classes > src/main/webapp/WEB-INF/wsdl/uob.wsdl > > I am looking for an example of how to wrap this (or the equivalent ant-based > method) into the pom as part of the ear generation workflow. > > I did some searching on this forum and didn't find anything directly > relevant. > > I hope this is easy and I am just ignorant of some maven basics. > > > -- > View this message in context: > http://www.nabble.com/maven2-and-jboss-wsconsume----examples--tp14421784s177p14421784.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]