-
Notifications
You must be signed in to change notification settings - Fork 39
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
[MARCHETYPES-76] maven-archetype-quickstart generates EOLed maven.compiler setup #18
Conversation
compilerProperties had one parameter - javaCompilerVersion. This commit is renaming this parameter and its usage to jcv, so it is no longer exchangable for the property
Note, that the PR is in real just:
the rest is adjusting of tests to the new reality. Renaming s/8/7/g in names and s/1.8/1.7/g in theirs pom.xml and reference |
92973db
to
a790417
Compare
And why do we need to move all the tests back to 1.7 ? |
Java 7 target is no longer supported on Java 21 |
The test demosntrates that you can still use legacy 1.7 if you insists.
Right. thats why this PR was created :) |
Well the default is now 1.8, it soudned liek nonsense to keep "bump" to 1.8. There is already test which demonstrate that you can bump it up from default (to 11), to modular jdk, Considering the next minimal JDK with next LTS will be some JDK12 or so, the test down, to non modular jdk will be still valid. If you have any issues, I will revert the test change, or adjsut. |
maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml
Show resolved
Hide resolved
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.
Unless there's a reason, I'd revert the variable naming change.
Thank you very much. I did not realised that the commit will be squashed. I will keep it in mind for next time. |
The remaining 1.7 fixed in #20 if you would be so kinf to eyball again, and possibly do a new release of maven archetypes, so the 1.8 will is egenrated via released version in maven repos, would be awesome - https://issues.apache.org/jira/browse/MARCHETYPES-79 |
I've reverted it 0da7166 becouse I approved it too fast and we shouldn't move tests from Java 8 back to Java 7. |
Do you realize that test will then (after bump of default jdk from 1.7 to 1.8) do noting. What do you suggest todo with that test then? Afaikl the test to bump/dump to non-modular jdk should be there (there is a |
Thank you. I would leave it to someone more knowledgeable with this project. |
Following this checklist to help us incorporate your
contribution quickly and easily:
for the change (usually before you start working on it). Trivial changes like typos do not
require a JIRA issue. Your pull request should address just this issue, without
pulling in other changes. https://issues.apache.org/jira/browse/MARCHETYPES-76
[MARCHETYPES-XXX] SUMMARY
, where you replaceMARCHETYPES-XXX
and
SUMMARY
with the appropriate JIRA issue. Best practice is to use the JIRA issuetitle in the pull request title and in the first line of the commit message.
mvn clean verify
to make sure basic checks pass. A more thorough check willbe performed on your pull request automatically.
If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.
I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
In any other case, please file an Apache Individual Contributor License Agreement.