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

Use frontend plugin to build web-client #131

Merged
merged 3 commits into from
Mar 10, 2020

Conversation

andrewazores
Copy link
Member

The "frontend" plugin is a nice improvement over directly using the exec plugin
to invoke "npm" for building the web-client. For one thing, the intent is more
clear. But the real advantage is that the frontend plugin will automatically
download and install Node and npm binaries into the bin directory, removing
the need for developers (or CI servers) to install Node and npm in order to
build container-jfr. This also keeps versions consistent and makes builds more
reproducible. These additional binaries will be removed on mvn clean, and
are also cached in .m2, so the build time impact is very minimal after the first
run.

@andrewazores andrewazores requested a review from ebaron March 5, 2020 19:53
@andrewazores
Copy link
Member Author

This is also based on top of #130

@andrewazores andrewazores force-pushed the frontend-plugin branch 2 times, most recently from d1ba683 to 54f1b71 Compare March 9, 2020 19:53
Use specific "frontend" plugin for building -web submodule, rather than
invoking "exec" plugin directly
@andrewazores
Copy link
Member Author

Rebased

Copy link
Member

@ebaron ebaron left a comment

Choose a reason for hiding this comment

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

Hey Andrew, frontend plugin stuff looks good. Just one thing I noticed about the integration-tests.

pom.xml Outdated Show resolved Hide resolved
@andrewazores andrewazores merged commit 6d613dd into cryostatio:master Mar 10, 2020
@andrewazores andrewazores deleted the frontend-plugin branch March 10, 2020 15:29
tthvo pushed a commit to tthvo/cryostat-legacy that referenced this pull request Dec 9, 2024
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