Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!

Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!

I have got a certificate in my resource folder-> src/main/resources/cacerts. When I do a mvn assembly:assembly on command prompt, the resource called 'cacerts' is not paased into the zip folder that's created in the target folder. This certificate file is crucial to the application. I guess it can be done using a copy plugin, looked into it,but didn't get an idea- how to achieve it.

Can you please help?

Urgently waiting for relpy.

Best Regards, Jatin Gupta Hyd, India

View Answers









Related Tutorials/Questions & Answers:

Ads