-
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
Maven wrapper added to the parent directory of generated projects #1657
Comments
@geoand so FYI, the Maven project creation behaves differently if the directory is empty or not:
@cescoffier I still think we should always create a new directory and have a consistent behavior if it was unclear :) |
I'm cool with whatever behavior we think is appropriate and will gladly submit a PR to implement it. |
Well, it's more complicated. We need to check if there is a |
Why don't we just fail the create process if there is already a |
Yes, personally, I would prefer the following behavior:
@geoand for now, I would fix the mvn wrapper addition to take into account where the project is created if it's not too much work. This discussion is a bit orthogonal IMHO. |
@gsmet makes sense, I'll look into the wrapper part and see how it can be fixed |
When a project is created via the maven plugin, ensure that the maven wrapper always ends up in the same directory as the generated pom file Fixes: quarkusio#1657
Don’t forget that also forcing to ‘cd’ is not very user friendly. (I personally hate having a dir within a dir)
But, I’m not opposed to change this, it’s just requires rechecking all quickstarts as some are based on the current behavior.
… On 24 Mar 2019, at 14:24, Georgios Andrianakis ***@***.***> wrote:
@gsmet makes sense, I'll look into the wrapper part and see how it can be fixed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ensure the Maven Wrapper is created in the proper directory
Haha, just got bitten by this. |
It should be fixed in |
Following up on #1498 (comment):
Turns out the maven wrapper has been added to the parent directory instead
The text was updated successfully, but these errors were encountered: