Hi Eugene, It will be great if you could share the plugin name which you have posted for WAS6-WSDL2Java generation.
Thanks Jay Eugene Silinov wrote: > > Hi Garner, > > Thanks for following up. The approach is very simple. It calls > Java2WSDL and WSDL2Java during <generate-sources> phase. It generate > source into standard WAR plug-in structure. Then WAR plug-in picks it > up and creates the deployable WAR. I submitted the code, so you can > take a look at it. > > The usage is very simple. You have to create the POW with WAR > packaging, then configure the <build> section: > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <parent> > <groupId>com.aeolus</groupId> > <artifactId>test</artifactId> > <version>1.0.0-SNAPSHOT</version> > </parent> > <artifactId>test-war</artifactId> > <packaging>war</packaging> > <name>test-war</name> > > <dependencies> > <dependency> > <groupId>${project.groupId}</groupId> > <artifactId>test-core</artifactId> > <version>${project.version}</version> > <optional>false</optional> > </dependency> > > </dependencies> > > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>java2wsdl-was-maven-plugin</artifactId> > <executions> > <execution> > <id>generate-sources</id> > <phase>generate-sources</phase> > <configuration> > <classname>com.aeolus.test.Test</classname> > > <location>http://localhost:9080/test/Test</location> > </configuration> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > <dependencies> > ALL Dependencies goes here > </dependencies> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.0</version> > <configuration> > <source>1.4</source> > <target>1.4</target> > </configuration> > </plugin> > </plugins> > </build> > > On Mon, May 5, 2008 at 6:16 PM, garner <guttamai...@gmail.com> wrote: >> >> >> Hi eugene, >> >> It looks very interesting. >> >> I would like to know how it works? I mean how you made it. >> >> Thanks >> Garner >> >> >> >> >> Eugene Silinov wrote: >> > >> > Hi David, >> > >> > Thank you for following up. I was think to add this to >> > was6-maven-plugin at the beginning, but was6-maven-plugin is designed >> > for deployment and starting/stopping. The plug-in that I created is a >> > wrapper for Java2WSDL and WSDL2Java ant tasks. Although, it generates >> > the deployable WAR out-of-the-box that ant tasks don't do. So, I'll >> > submit it as a separate project. >> > >> > Thank you, >> > >> > -eugene >> > >> > On Wed, Apr 23, 2008 at 8:04 AM, <da...@davidkarlsen.com> wrote: >> >> On Fri, 18 Apr 2008, Eugene Silinov wrote: >> >> >> >> >> >> > Hello, >> >> > >> >> > I created a plug-in that generates a Web Service for WebSphere 6.0. >> >> > The plug-in must be declared inside the POM with packaging = "war". >> It >> >> > produces the "war" archive that can be deployed into WebSphere 6.0 >> >> > container. An example below illustrates a sample POM. I can make >> the >> >> > plug-in to produce the J2EE container artifact based on the >> packaging >> >> > type. Please, consider this one as an initial version. Let me know, >> if >> >> > there is any interest in such plug-in. >> >> > >> >> > Thank you, >> >> > >> >> >> >> is this based on: >> >> >> http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/ant/tasks/Java2WSDL.html >> >> ? >> >> >> >> If so I could try to add it as a goal to: >> >> http://mojo.codehaus.org/was6-maven-plugin/ >> >> >> >> Pluginsubmissions should be filed at: >> >> >> >> >> http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=11062&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12075 >> >> >> >> following the guidelines at: >> >> http://mojo.codehaus.org/development/submitting-a-plugin.html >> >> >> >> >> >> -- >> >> David J. M. Karlsen - +47 90 68 22 43 >> >> http://www.davidkarlsen.com >> >> http://mp3.davidkarlsen.com >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe from this list, please visit: >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> > >> > --------------------------------------------------------------------- >> > To unsubscribe from this list, please visit: >> > >> > http://xircles.codehaus.org/manage_email >> > >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/java2wsdl---wsdl2java-for-WebSphere-6.0-tp16778133p17071453.html >> Sent from the mojo - dev mailing list archive at Nabble.com. >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://old.nabble.com/java2wsdl---wsdl2java-for-WebSphere-6.0-tp16778133p30697539.html Sent from the mojo - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email