micronaut-projects / micronaut-azure

Micronaut Projects for Microsoft Azure
Apache License 2.0
8 stars 12 forks source link

Azure Function: example project don't create package #718

Open LucaPascucci opened 1 month ago

LucaPascucci commented 1 month ago

Expected Behavior

Complete package goal

image

Actual Behaviour

Fail package goal

image

Steps To Reproduce

  1. Download the example project from the guide
  2. Run ./mvnw clean package azure-functions:run

Environment Information

Example Application

Example project

Version

4.5.0

LucaPascucci commented 1 month ago

Suggestions

It works changing this dependency from provided to compile image


It works adding this dependency to azure-functions-maven-plugin

image

with <azure.functions.maven.plugin.dependency.java.library.version>3.1.0</azure.functions.maven.plugin.dependency.java.library.version> added to pom properties

marc-brouillette commented 2 days ago

I am seeing the same issue with the sample project when including Azure Functions.

Steps To Reproduce

Download the example project from the [guide](https://guides.micronaut.io/latest/micronaut-azure-http-functions-maven-java.html)
Run ./mvnw clean package azure-functions:run

Environment Information

macOS: Sonoma 14.0
JDK 17
azure-functions-core-tools@4 installed by Homebrew

Version

4.6.1