thorntail uberjar : reference an external module

457 Views Asked by At

i am quite struggeling on an implementation :

i am trying to make a generic uberjar, totally agnostic of the target environment.

In the meantime, i am referencing in my jboss-deployment.xml a module named configuration.

i would like that my uberjar generates a reference to this external module which is outside the jar, let's say /home/user/modules/configuration

I tried to use the additionalModules property of the thorntail plugin to reference this module, but nothing is working.

How do you do this guys ?

  • having a generic uberjar
  • having a module externalized to the uberjar which contains the environment needs

Regards, Guillaume

0

There are 0 best solutions below