Thanks for the update. We ended up using the maven-antrun-plugin to call an Ant script that runs the WebSphere WsEjbDeploy task and then renames the resultant ejb jar file to the correct name so that the default install configuration finds the correct file to install.
Can you post the code you used to change the exception to just log warnings? Regards, Ken -----Original Message----- From: Yoda Koda II [mailto:[email protected]] Sent: Wednesday, June 17, 2009 10:17 AM To: [email protected] Subject: Re: maven-ejb-plugin & was6-maven-plugin generated jar files Then to install the deployed jar, replacing the normal target jar, use something like this.. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>install-library</id> <phase>install</phase> <goals> <goal>install-file</goal> </goals> <configuration> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <packaging>jar</packaging> <file>${basedir}/working/FileNameEJB-deployed.jar</file> </configuration> </execution> </executions> </plugin> Hi Ken, I came across this error, I got around it by downloading the plugin sources and changing the EjbDeployMojo.java to log warnings instead of throwing an exception. Like you say the deployed jar has the generated code in anyway so I am unsure of the need to copy the sources, and why a failure to do so should be terminal. Maybe a plugin developer could shed some light on this? -- View this message in context: http://n2.nabble.com/maven-ejb-plugin---was6-maven-plugin-generated-jar- files-tp2639579p3093071.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] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
