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

Validate mvn and openjdk & fix list providers for containerless mode #374

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

eemcmullan
Copy link
Collaborator

@eemcmullan eemcmullan commented Nov 13, 2024

@eemcmullan eemcmullan requested a review from aufi November 13, 2024 19:48
Signed-off-by: Emily McMullan <[email protected]>
@eemcmullan eemcmullan changed the title Validate mvn and openjdk Validate mvn and openjdk & fix list providers for containerless mode Nov 13, 2024
Copy link
Member

@aufi aufi left a comment

Choose a reason for hiding this comment

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

Looks and works great!

Tested locally:

$ RUN_LOCAL=1 go run main.go analyze --list-providers
INFO[0000] 
 containerless analysis mode set; only java provider supported 
$ RUN_LOCAL=1 go run main.go analyze -i /home/.../mig/workshop-migrate-jboss-on-app-service/ -o /tmp/nonbulk12 -t cloud-readiness
INFO[0000] 
 running analysis in containerless mode     
ERRO[0000] failed to validate flags                      error="exec: \"mvn\": executable file not found in $PATH cannot find requirement maven; ensure maven is installed"
Error: exec: "mvn": executable file not found in $PATH cannot find requirement maven; ensure maven is installed
exit status 1

@aufi aufi added the cherry-pick/release-0.6 This PR should be cherry-picked to release-0.6 branch label Nov 14, 2024
@eemcmullan eemcmullan merged commit 9ab5f64 into konveyor:main Nov 14, 2024
3 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 14, 2024
…374)

validate mvn and openjdk

Signed-off-by: Emily McMullan <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
eemcmullan added a commit that referenced this pull request Nov 14, 2024
…374) (#375)

validate mvn and openjdk

Signed-off-by: Emily McMullan <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
Co-authored-by: Emily McMullan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-0.6 This PR should be cherry-picked to release-0.6 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants