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
For a HttpTrigger function project I am trying to update the azure-functions-maven-plugin to the latest version (1.36.0). But starting at version 1.17.0 the mvn azure-functions:package goal breaks.
It fails at Step 1 of 8: Searching for Azure Functions entry points and only gives me the following error: [ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.17.0:package (package-functions) on project eab-function: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: com.microsoft.azure.functions.annotation.FunctionName -> [Help 1]
If I try to run maven with -e or -X it only gives me the stack trace, no other specific error.
When I upgrade the function to version 1.19.0 and later it gives a slightly more specific error: [ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.19.0:package (package-functions) on project eab-function: generate configuration files and prepare staging directory: AzureToolkitRuntimeException: com.microsoft.azure.functions.annotation.FunctionName -> [Help 1]
I already tried looking at the documentation for this plugin but there is nothing mentioned in the changelog for version 1.17.0, my azure CLI is updated to the latest version and core tools is as well.
For a HttpTrigger function project I am trying to update the azure-functions-maven-plugin to the latest version (1.36.0). But starting at version 1.17.0 the mvn azure-functions:package goal breaks.
It fails at Step 1 of 8: Searching for Azure Functions entry points and only gives me the following error:
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.17.0:package (package-functions) on project eab-function: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: com.microsoft.azure.functions.annotation.FunctionName -> [Help 1]
If I try to run maven with -e or -X it only gives me the stack trace, no other specific error.
When I upgrade the function to version 1.19.0 and later it gives a slightly more specific error:
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.19.0:package (package-functions) on project eab-function: generate configuration files and prepare staging directory: AzureToolkitRuntimeException: com.microsoft.azure.functions.annotation.FunctionName -> [Help 1]
I already tried looking at the documentation for this plugin but there is nothing mentioned in the changelog for version 1.17.0, my azure CLI is updated to the latest version and core tools is as well.
This is my plugin configuration:
And this is my HttpTrigger code:
The text was updated successfully, but these errors were encountered: