-
Notifications
You must be signed in to change notification settings - Fork 47
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
set minimum required jdk11 in pom.xml - fix jitpack.io build #139
Conversation
I dont think this should be the default behavior. When you are using quarkus+vaadin+apexcharts, the quarkus-vaadin environment already takes care of installing and maintaining your node environment. This should most likely be configured using a profile. What do you think? |
Does it break the build for quarkus-vaadin environment like this? |
When Im compiling Im not sure what problem you are trying to solve or what issues you are facing. Perhaps you can include some more detail why you need this. Sounds like you are having problems outside of this repo and perhaps should fix it there? If this is really required, I would be more supportive of using the vaadin-maven-plugin plugin, as thats provided & maintained by vaadin |
The problem is, on a vanilla system - without node installed - this project will not compile as is. This PR is necessary to make it build on CI systems such as jitpack.io. jitpack.io allows to include this github repo as maven dependency (any commit / branch) without having to compile it yourself or having to push it to the official maven repository. Here is the compilation log for this repository without the PR: https://jitpack.io/com/github/appreciated/apexcharts-flow/master-c72b288e4b-1/build.log As you can see, the vaadin-maven-plugin suggests this change itself in the log. Unless this breaks some other usecase, I don't see the reason not to make the changes. |
The log references a commit from 2020
Here is a more recent log that looks fine: https://jitpack.io/com/github/appreciated/apexcharts-flow/2.0.0-beta13/build.log https://jitpack.io/#appreciated/apexcharts-flow
I cant see any reason to include this with the logs/reasons provided. |
I can see what the problem is... Build failed against current master (with jdk1.8) Build successful against current master + jdk11 changes Perhaps you can update the PR to only reflect jdk1.8 to jdk11 change? |
You're right, seems like just updating to java 11 was enough for it to run properly. Cherry picked your commit instead. |
Installs node and npm automatically if missing.
This fixes the previously broken jitpack.io build, allowing to directly fetch a compiled nightly build with maven after adding the jitpack repository.
Example usage in pom.xml