Maven Project
Closed this issue · 7 comments
I am not able to find any template to generate the maven project instead of Gradle.
Is there any was to generate the Maven project ??
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Hello @waytoharish
Currently, unfortunately, no, only gradle build.
You are free to create Pull request with such changes :)
Or if you find it possible suggest translation of current build.gradle to pom.xml and I'll do the rest
Hello @waytoharish Currently, unfortunately, no, only gradle build. You are free to create Pull request with such changes :) Or if you find it possible suggest translation of current build.gradle to pom.xml and I'll do the rest
Thanks
What we can do is is create a pom.xml and pick up based on the user input we can use build.gradle or pom.xml @Tenischev
If want to convert the gradel to maven we just need-
To convert Gradle to Maven, first, Maven plugin need to be added in the build.gradle file-
apply plugin: 'maven'
and we need to run 'gradle install'
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience ❤️
Hello @waytoharish
Now you could generate template with maven build, to do so, provide parameter maven=true
in generator, e.g.
asyncapi generate fromTemplate myAsynApi.yml @asyncapi/java-spring-template -o output-dir -p maven=true
🎉 This issue has been resolved in version 1.1.0 🎉
The release is available on:
Your semantic-release bot 📦🚀