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

feat: set environment variables when executing commands #45

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

xieshenzh
Copy link
Contributor

@xieshenzh xieshenzh commented Sep 13, 2023

Description

Modify the java-api to use environment variables like JAVA_HOME and PATH set by the client, when executing the mvn and npm cli.
Without these environment variables, mvn or npm could fail to execute.

Related issue (if any): fixes #issue_number_goes_here

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

Anything else?

@xieshenzh
Copy link
Contributor Author

@zvigrinberg @ilan-pinto please review this PR. It is required by the intellij plugin PR: redhat-developer/intellij-dependency-analytics#128

Copy link
Collaborator

@zvigrinberg zvigrinberg left a comment

Choose a reason for hiding this comment

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

@xieshenzh lgtm.

It indeeds extending the customization of the package managers' dependencies/platforms.

Please pay attention that i released yesterday a new release version for java-api.
so we advanced to new development iteration - 0.0.2-SNAPSHOT. so after merging this, this feature of yours will be included in that version, and you need to bump it in your build.gradle file.

Thanks.

@xieshenzh xieshenzh merged commit 3c3f280 into RHEcosystemAppEng:main Sep 14, 2023
3 of 5 checks passed
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.

2 participants