[wildfly-dev] Adding jar to WAR from DeploymentProcessor

Tomaž Cerar tomaz.cerar at gmail.com
Mon Sep 29 09:00:04 EDT 2014


On Mon, Sep 29, 2014 at 2:32 PM, Stan Silvert <ssilvert at redhat.com> wrote:

> I'd like to eliminate opening the WAR and have a DeploymentProcessor
> look in a particular directory and add the jar at deployment time. What
> is the cleanest way to do that?
>

Simple let user create new module that has that jar in it and than in your
war
dependencies processor add that module to deployment as dependency



> Bonus points if you tell me that I can treat the service provider jar as
> a deployment and let the user upload it via CLI. :-)
>
you can add module as global dependency, but that is ugly.

But what you could do is have deployment processor that would handle exactly
deployments and register keycloak plugins based on that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140929/0b85534f/attachment.html 


More information about the wildfly-dev mailing list