-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add a create-extension Maven mojo #3191
Conversation
48c0c82
to
1995478
Compare
Force pushed 1995478 with shorter file paths to make Windows happy. This branch demonstrates how I'd like to use the mojo in camel-quarkus. (A similar setup can be done for the main Quarkus repo too.)
|
Very interesting feature. Thanks a lot. A really small return (maybe I am wrong): |
Sorry, I am primarily addressing my own need and this is unfortunately of the scope. Somebody who finds this important is welcome to do that.
The current proposal is just solving the task of creating extension modules in existing source trees. How would a zip file be useful in that scenario? |
For the put in common ok. It s just a proposal to facility the gradle part. I start to work on a web project generator. So I think it’s interesting to do the same on extension. But I am on hold and wait some return to progress again. So it’s up to you for the zip part. |
I see, but I guess zipping and being used from an online generator would only make sense for the standalone scenario, that I left unimplemented https://github.com/quarkusio/quarkus/pull/3191/files#diff-e41033b79bb31b53ffe8ec1f25646b7bR476 |
devtools/maven/src/main/java/io/quarkus/maven/CreateExtensionMojo.java
Outdated
Show resolved
Hide resolved
devtools/maven/src/main/resources/create-extension-templates/deployment-pom.xml
Show resolved
Hide resolved
devtools/maven/src/main/resources/create-extension-templates/deployment-pom.xml
Show resolved
Hide resolved
Still open from my PoV:
|
@ppalaga there were test failures, could you review those please? Thanks. |
0ab6267 should fix the test failures |
The CI is passing now |
devtools/maven/src/main/resources/create-extension-templates/runtime-pom.xml
Show resolved
Hide resolved
About 52ad079:
All issues are solved from my PoV. |
05209c0
to
6666bd5
Compare
f957cc8 should fix the windows build |
Is this good to merge now, @aloubyansky ? |
Looks great, thanks a lot @ppalaga ! |
I removed the We need to have a paragraph in the extension guide explaining how this works. |
No description provided.