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

🐛 Fix compile step #397

Merged
merged 3 commits into from
Nov 2, 2023
Merged

🐛 Fix compile step #397

merged 3 commits into from
Nov 2, 2023

Conversation

jmle
Copy link
Contributor

@jmle jmle commented Nov 2, 2023

Fixes #393

Remove "compile" goal from maven invocations, as some applications may not be compilable with the JDK version we bundle.

Related to #393 and #393

ascheman and others added 3 commits November 2, 2023 13:10
CAUTION: This works currently only with a newer version of Maven (tested with 3.9.5).
Signed-off-by: Gerd Aschemann <gerd@aschemann.net>
…Maven process

Signed-off-by: Gerd Aschemann <gerd@aschemann.net>
Signed-off-by: Juan Manuel Leflet Estrada <jleflete@redhat.com>
@jmle jmle changed the title Fix compile step 🐛 Fix compile step Nov 2, 2023
@shawn-hurley
Copy link
Contributor

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

Copy link
Contributor

@pranavgaikwad pranavgaikwad left a comment

Choose a reason for hiding this comment

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

Does this completely fix #392?

@pranavgaikwad
Copy link
Contributor

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

Captured in issue here, will add sometime this week #399

@ascheman
Copy link
Contributor

ascheman commented Nov 2, 2023

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

If it helps: The problem came up in my (company project) multi module build. Tested the patch with that project already.

@jmle jmle merged commit a5e04e5 into konveyor:main Nov 2, 2023
@ascheman
Copy link
Contributor

ascheman commented Nov 2, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Java / Maven analysis does not work if the project does not compile with JDK 17
4 participants