You can view the source here https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/weblogic-maven-plugin/ but it is defined to run during the package phase. Do you have it defined in an execution? How are you executing the command to run the entire process?
Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -----Original Message----- From: Dmystery [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 3:21 AM To: [email protected] Subject: Re: Example POM for WebLogic servicegen needed On a different note, what execution phase are you executing the weblogic:appc? I'm doing it in a pom which first generate sources using XMLbeans, compiles some aspects, create ejb-jar, ejb-client-jar and then run weblogic:appc which is in the package phase. The problem is, when appc is started, it does the whole thing again, XMLBeans to ejb-client-jar. Just wanna know what phase you have weblogic:appc? Thanks. Dmystery wrote: > > Hope this helps, > > <plugin> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.0</version> > <executions> > <execution> > <phase>package</phase> > <configuration> > <tasks> > <taskdef name="servicegen" > > classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask" > > <classpath refid="maven.dependency.classpath" /> > </taskdef> > > <servicegen > destEar="${project.build.directory}/${project.artifactId}-${project.version} .ear" > warName="castle-server-web-${project.parent.version}.war" > contextURI="castle" > mergeWithExistingWS="True"> > <classpath refid="maven.dependency.classpath" /> > <service targetNamespace="http://my.company.com" > ejbJar="${basedir}/path-to-ejb-jar/your-ejb.jar" > includeEJBs="service name" serviceName="service name" > serviceURI="/jndi/name" generateTypes="True" > style="documentwrapped" expandMethods="True" > typeMappingFile="auto-types mapping file"> > </service> > </servicegen> > </tasks> > </configuration> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > > <dependencies> > <dependency> > <groupId>sun.jdk</groupId> > <artifactId>tools</artifactId> > <version>1.5.1</version> > <scope>system</scope> > <systemPath>${java.home}/../lib/tools.jar</systemPath> > </dependency> > </dependencies> > </plugin> > > > Jeff Bailey wrote: >> >> I need to create a WebService from a session bean using the WebLogic >> 8.1.4 servicegen ant task. Can anyone provide me a good example of a >> clean way to accomplish this in the POM? >> >> I'm successfully using the weblogic-maven-plugin to run appc, but the >> plugin does not yet support servicegen. >> >> Thanks, >> Jeff >> > > -- View this message in context: http://www.nabble.com/Example-POM-for-WebLogic-servicegen-needed-tf2604105s1 77.html#a7274411 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]
