Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LucaPascucci opened this issue Jul 24, 2024 · 2 comments
Open

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

LucaPascucci opened this issue Jul 24, 2024 · 2 comments

Comments

@LucaPascucci
Copy link

LucaPascucci commented Jul 24, 2024

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

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

Example Application

Example project

Version

4.5.0

@LucaPascucci LucaPascucci changed the title Azure-function: Example project don't create package Azure Function: example project don't create package Jul 24, 2024
@LucaPascucci
Copy link
Author

LucaPascucci commented Jul 24, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants