You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer I want to be able to use the azure-functions plugin in a multi module project.
Either fix or provide guidance on how to do this correctly.
It will run but when triggering the function from a browser with http://localhost:7071/api/hello?name=hans it will fail with a reflection error.
Probably because packaging does not work correctly now.
Workaround:
Remove the functions project from the multi module project
Make the functions project a stand alone project that refers the artifacts from the multi module project.
Do a mvn clean package install on the multi module project.
Do a mvn clean package azure-functions:package azure-functions:run on the function project
This workaround requires extra steps on the build environment instead of a one liner in Maven.
The text was updated successfully, but these errors were encountered:
Sorry but we simplified our code "ages" ago so we do not need it for now.
That's why I deleted the old sample projects. Maybe I will try again after we moved to the latest version of the stack that does not require shading.
Just sorry to say that I'm going to close this issue for now since it is inactive for a while. But feel free to reopen it if you find this is still a problem.
Plugin name and version
Plugin configuration in your `pom.xml
Expected behavior
As a developer I want to be able to use the azure-functions plugin in a multi module project.
Either fix or provide guidance on how to do this correctly.
Actual behavior
Packaging is probably not correct.
Steps to reproduce the problem
Sample project
Build and run with:
It will run but when triggering the function from a browser with http://localhost:7071/api/hello?name=hans it will fail with a reflection error.
Probably because packaging does not work correctly now.
Workaround:
mvn clean package install
on the multi module project.mvn clean package azure-functions:package azure-functions:run
on the function projectThis workaround requires extra steps on the build environment instead of a one liner in Maven.
The text was updated successfully, but these errors were encountered: