Hi, I'm using Maven 2.0.10 & RAD6 base_v6 JDK and trying to build a WAS 6.0 EJB. So far the maven-ejb-plugin generates the EJB jar file in the project/target directory. When the was6 plugin executes, the wsejbdeploy task compiles the bindings and creates the WAS EJB in the project/target/was6-maven-plugin directory. The wsejbdeploy task completes but then there is an error copying generated sources: [INFO] [wsejbdeploy]
[INFO] [wsejbdeploy] EJBDeploy complete. [INFO] [wsejbdeploy] 0 Errors, 12 Warnings, 0 Informational Messages [INFO] [INFO] BUILD SUCCESSFUL [INFO] Total time: 1 minute 27 seconds [INFO] Return code: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error copying generated sources Embedded error: Source 'c:\Work\TestEJB\target\was6-maven-plugin\d7ccc835\TestEJB-0.1-SNAPSHOT\ ejbModule' does not exist The location of the generated sources is actually in: C:\Work\TestEJB\target\was6-maven-plugin\d7ccc835\c2a6fbcd\ejbModule The final EJB jar file (./target/was6-maven-plugin/TestEJB-deployed.jar) has all the generated class files and descriptor files so I'm unsure why the copy step is even needed. Does anyone know how to fix the copy generated sources error? There is also an issue with the location of the jar file generated by the was6 plugin. The ejb is placed in the wrong directory if I were to run the install goal which I can't yet because the build fails from the error above. I tried setting the inputJar and outputJar parameter's in the configuration for the was6-maven-plugin but they did nothing. After checking the source, I found that those paramters are not defined in the mojo at this time. I realize this plugin was designed for RAD7 but it appears to be mostly working for RAD6 if I can get past these couple issues. Is there a workaround to get the plugin to put the final EJB jar file in the target directory under the <artifactId>-<version>.jar name? Thanks in advance for any help, Regards, Ken 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.
