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 Functions - Create project with Archetype broken #20814

Closed
LoRez opened this issue Oct 17, 2021 · 2 comments · Fixed by #22578
Closed

Azure Functions - Create project with Archetype broken #20814

LoRez opened this issue Oct 17, 2021 · 2 comments · Fixed by #22578
Milestone

Comments

@LoRez
Copy link

LoRez commented Oct 17, 2021

Creatiing a project as described in the Azure Functions Guide with

mvn archetype:generate
-DarchetypeGroupId=io.quarkus
-DarchetypeArtifactId=quarkus-azure-functions-http-archetype
-DarchetypeVersion=2.3.0.Final

generates broken project.

Group Ids and Archetype Ids are the ones from the archetype


4.0.0
io.quarkus
quarkus-azure-functions-http-archetype
2.3.0.Final

and the pom contains hardcoded paths

/path/to/quarkus-release/work/quarkus/extensions/azure-functions-http/maven-archetype/target/azure-functions/${functionAppName}

and it seems the version for

<azure.functions.maven.plugin.version>1.9.1</azure.functions.maven.plugin.version>

and caused problems for me with the latest vesion of az cli.

When I did uses 1.12.0.Final as archetype version the pom looked ok.

@geoand
Copy link
Contributor

geoand commented Oct 18, 2021

It seems like in https://github.com/quarkusio/quarkus/blob/2.3.0.Final/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/pom.xml, project.build.directory is getting set at release time.

@geoand
Copy link
Contributor

geoand commented Oct 18, 2021

cc @patriot1burke

schoeffm added a commit to schoeffm/quarkus that referenced this issue Jan 2, 2022
@quarkus-bot quarkus-bot bot added this to the 2.7 - main milestone Jan 4, 2022
@gsmet gsmet modified the milestones: 2.7 - main, 2.6.2.Final Jan 7, 2022
gsmet pushed a commit to gsmet/quarkus that referenced this issue Jan 7, 2022
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

Successfully merging a pull request may close this issue.

3 participants