Closed christopheranderson closed 6 years ago
fat jars are not required.
I guess it's a matter of terminology, more than anything then? To deploy a function I have to upload an archive that contains a lib folder that contains jar files. Sounds like a fat jar to me.
Could the location of the "lib" directory be configurable please? Spring Boot apps, for instance, would put them at BOOT-INF/lib
.
@dsyer lib
is a directory residing in the function app's root directory, not packaged in the jar.
in the README, there's a section for dependencies. The Maven plugin is copying all dependent jars (which you have control over using this plugin) to the function app's directory.
Hope that helps.
Code has been checked in. And let me close this feature request after the changeset is published to Azure.
Supported in #50.
From @kevinhillinger on February 5, 2018 18:0
Feature request to support jar files being loaded from a
lib
folder in function app root, so that fat jars are not required.This is cross-referencing this issue in the azure-functions-java-worker repo.
Copied from original issue: Azure/azure-functions-host#2382