-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support for GlassFish Docker in the archetype #326
base: master
Are you sure you want to change the base?
Conversation
a49de69
to
0b60c39
Compare
Could you kindly try to minimize the white space only changes? It is really difficult to see what the actual changes are and it also pollutes the change log. If they are really necessary, please create a separate PR for the desired white space changes? Once that is done, I would also like to understand why so many new files are needed for a seemingly small set of new features. |
e0fa55f
to
ba0685a
Compare
ba0685a
to
148ea44
Compare
The big amount of files is for the tests. The tests verify that the generated project contains expected files. Maybe the tests are not needed as the Github workflow covers some of the cases and uses the appropriate Java version. I just used them to run tests locally. |
148ea44
to
40c0093
Compare
Can one of the admins verify this patch? |
016ed52
to
9e57615
Compare
OK. Can you please enhance the nightly build if required: https://github.com/eclipse-ee4j/starter/blob/master/.github/workflows/nightly.yml? It should provide reasonable test coverage. |
9e57615
to
704ff8f
Compare
I removed the tests in maven build and added some tests to the main and nightly builds. |
704ff8f
to
fe8f1c5
Compare
Tests for GlassFish with Docker and Jakarta EE 10, and for Jakarta EE 9.1 without Docker. Tests for GlassFish with Docker for unsupported combinations.
fe8f1c5
to
0613184
Compare
OK. Eventually we can look into moving the tests into the Maven build if there is a reasonable way. Please do address the extraneous white space changes before I can review for a merge. Do note, there is a reason the white space is the way it is. It avoids users encountering strange formatting as Velocity does not ignore white spaces in the output, even when placed in the same line as conditionals. |
I removed all the unnecessary extraneous white space changes. I kept the extra spaces in velocity templates to indent blocks and added maven antrun plugin that removes them during the build. Without indenting velocity templates, it's hard to understand them. If you want, I can submit this change as a separate PR. Or even before this PR, as it would be easier to review my changes once the velocity templates are indented. |
Yes, please make that a separate PR to keep the change log clean. I’ll also need to ensure there are no unintended side effects. Since that’s not a functional change, it can be done after the functional change. |
I created a separate PR only with the indentation changes here: #327 Until that one is merged, I changed this PR to draft. |
This adds support for GlassFish Docker into the archetype:
Only for the above parameters (EE10, Java 17, Full profile).
If this PR is merged, I plan to add support for GlassFish Docker in the UI and also add tests that cover other runtimes.