-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Group maven/gradle wrappers as 'build-launcher' and add dependencies #8694
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8694 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 2821 2821
===========================================
Files 719 719
Lines 12404 12405 +1
Branches 250 250
===========================================
+ Hits 12404 12405 +1 ☔ View full report in Codecov by Sentry. |
@@ -15,6 +15,7 @@ public enum JHLiteFeatureSlug implements JHipsterFeatureSlugFactory { | |||
DUMMY_SCHEMA("dummy-schema"), | |||
FRONT_BROWSER_TEST("front-browser-test"), | |||
JAVA_BUILD_TOOL("java-build-tool"), | |||
JAVA_BUILD_LAUNCHER("java-build-launcher"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "java-build-tool-wrapper"?
I'm not sure that "build-launcher" is meaningful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That could work as well 😄
3883c12
to
220f65a
Compare
Not sure about this change, as maven-java already added the maven-wrapper I add this module as standalone for 2 reasons:
So I think it should stay as standalone and not depend on other module |
Yes, I've just noticed, that the maven wrapper is still installed. I would rather remove it from when MAVEN_JAVA is applied. Currently I'm trying to create a more modern project setup, with a declarative version and environment manager like mise/rtx/asdf, so these wrapper executables are very misleading in my project setup. |
Yes it could be possible to remove it from the maven_java, but in this case, it should be rename to maven_pom_xml_java I would suggest to open a new ticket to discuss about what we should do for this maven-wrapper, because with this change, this module becomes useless :-p |
And renaming module is a small breaking change for existing projects |
Sorry, I did not notice this issue before merging the PR... I would also remove the maven wrapper from the maven_java module, I often encounter projects that use maven but don't need the maven wrapper. BTW I just verified: the gradle module also generates the wrapper, but I think I just did that to mimic the maven behavior. I was persuaded that gradle wrapper was an opt-in option by using the gradle-wrapper module. However I don't think we should rename "maven_java", event if we remove the wrapper: even if there's just a pom.xml generated it's a building block of all other modules, and marks the choice of the java build tool. |
I've opened a ticket about this #8697 for further discussions |
No description provided.