azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

[Functions] Use azure-functions-java-library from extension bundles

Open pragnagopa opened this issue 5 years ago • 4 comments

Plugin name and version

Azure Functions

azure-functions-extension-bundles will start including azure-functions-java-library that is compatible with a version of extension bundle.

If host.json includes extension bundles, maven plugin should use java library that is part of the bundle to ensure compatibility with the extensions functions host uses.

cc: @soninaren @jeffhollan @mattchenderson

pragnagopa avatar May 23 '19 01:05 pragnagopa

@pragnagopa So functions-extension-bundles will release to maven central and the maven plugin could change dependency from java-library to extension bundles? Besides, shall we change the dependency of archetype?

Flanker32 avatar May 23 '19 02:05 Flanker32

@Flanker32 - we do not have the design for this yet. Idea is to include version mapping information in the extension bundles, for example [1.0.0,2.0.0) for extension bundle will map to 1.* of azure-functions-java-library

maven plugin needs to be updated to pull the right version of the azure-functions-java-library depending on the extension bundle version specified by the user in host.json file

pragnagopa avatar Jun 03 '19 18:06 pragnagopa

@pragnagopa Do you mean we should remove the dependency from function project and maven plugin will read the host.json and add the dependency? Does maven support this feature?

Flanker32 avatar Jun 09 '19 14:06 Flanker32

cc @amamounelsayed @soninaren will share design on how to support version of extension bundles across multiple languages. Idea here is to ship bundles for each binding that will include packages for each language.

Note: This is a future work item and design is not ready yet.

pragnagopa avatar Aug 14 '19 03:08 pragnagopa