Skip to content
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

[#2174] bump platform maven artifacts to 2023-03 #2187

Merged
merged 1 commit into from
Jun 2, 2023
Merged

Conversation

cdietrich
Copy link
Contributor

[#2174] bump platform maven artifacts to 2023-03

@cdietrich cdietrich added this to the Release_2.31 milestone Apr 4, 2023
@cdietrich cdietrich changed the title [#2174] bump platform maven artifacts to 2023-03 [WIP][#2174] bump platform maven artifacts to 2023-03 Apr 4, 2023
@cdietrich
Copy link
Contributor Author

looks like this needs fix for
#2158
or something the like as the bom does not seems to be used correctly

@cdietrich
Copy link
Contributor Author

unfortunately the log does not seems to have enhough information on this

@cdietrich
Copy link
Contributor Author

checking locally the maven plugin tests indeed seem to take the dev bom from sonatype snapshots and not the local build one

@LorenzoBettini
Copy link
Contributor

looks like this needs fix for #2158 or something the like as the bom does not seems to be used correctly

I've already started to work on that (see my corresponding branch). At least the ITs of xtext maven plugin never use snapshots in my branch. I have to adapt the ITs od xtend maven plugin accordingly.

@LorenzoBettini
Copy link
Contributor

@cdietrich on my branch https://github.com/eclipse/xtext/tree/lb_2158_cleanup-maven-plugins-ITs I've cleaned up the Xtend maven plugin ITs. I now create a new branch merging my branch with yours and see whether together the tests pass.

However, if you bump the versions in the BOM, this means that the minimal version of Eclipse deps is 2023-03 while the minimal target platform is 2022-03, is that right?

@cdietrich
Copy link
Contributor Author

No In tycho we stay with old version minimal as we did this diverging the last 7 years

@LorenzoBettini
Copy link
Contributor

No In tycho we stay with old version minimal as we did this diverging the last 7 years

What looks strange to me is that the minimal version in the BOM is higher than the minimum target platform. I seemed to recall it was the other way around or that the minimum target platform corresponded to the minimal version in the BOM.

@cdietrich
Copy link
Contributor Author

Minimal target was oxygen until recently although it has no java 11 support but we had

@LorenzoBettini
Copy link
Contributor

@cdietrich merging the two branches https://github.com/eclipse/xtext/tree/lb_2158_cd_2174 and running Xtend Maven ITs work on my machine. I pushed the branch, let's see if also the CI is happy

@@ -63,6 +63,7 @@ public void doTransform(MutableClassDeclaration annotatedClass, @Extension Trans
if (TracedAccessorsProcessor.TYPES_WITH_GOOD_TO_STRING
.contains(rt.getType().getSimpleName().toLowerCase())) {
annotatedClass.addMethod(tracerName(getter), it -> {
context.setPrimarySourceElement(it, context.getPrimarySourceElement(annotatedClass));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentionally part of this merge request?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

@LorenzoBettini
Copy link
Contributor

@cdietrich I see you rebased this branch, so I'm removing the temporary experiment https://github.com/eclipse/xtext/tree/lb_2158_cd_2174

@cdietrich cdietrich force-pushed the cd_issue2174 branch 2 times, most recently from 15c9bfb to 817b5bc Compare April 20, 2023 06:01
@cdietrich cdietrich force-pushed the cd_issue2174 branch 2 times, most recently from f3f1327 to 6625647 Compare April 28, 2023 10:15
@cdietrich cdietrich modified the milestones: Release_2.31, Release_2.32 May 22, 2023
@cdietrich cdietrich changed the title [WIP][#2174] bump platform maven artifacts to 2023-03 [#2174] bump platform maven artifacts to 2023-03 Jun 2, 2023
@cdietrich cdietrich merged commit 690d1e6 into main Jun 2, 2023
@cdietrich cdietrich deleted the cd_issue2174 branch June 2, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants