Joachim Van der Auwera wrote:
Erich Oswald wrote:
Hi,

Another idea I have considered is to build the .har as a .jar. Building the problem should then be easy, except that I would have to rename the artifact in the generated EAR. Is there an easy way to rename the .jar to .har before or after it gets added to the EAR?
Can you not set the module name using "bundleFileName", see http://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-a-module-filename.html

Kind regards,
Joachim

Thank you Joachim, this is exactly what I was looking for! I can now use the .jar for dependency resolution and compiling and rename it to .har in the EAR for deployment.

Erich

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to