Search code examples
mavenmaven-pluginappassembler

Is it possible to add environment variables via appassembler plugin


Is it possible somehow possible to add a environment variable to the generated scripts say LD_LIBRARY_PATH=$BASEDIR/native/libs/. I did not find anything in the docs. Maybe there will at least be a "hacky" way using another maven plugin?


Solution

  • The simple solution for this is to use a environment setup file which can be configurate in Appassembler within the pom.xml