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
Download Maven dependencies on bootstrap #1135
Download Maven dependencies on bootstrap #1135
Conversation
4d48590
to
a73d77f
Compare
Hmm... looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tiagobento For your goal, I think it's better to use mvn dependency:go-offline
. With this command, you will download only the external dependencies required to build the project even if you are offline. I tested it in stunned-editor
and works well. The only prerequisite is to use a recent version of maven-dependency-plugin
.
mvn dependency:resolve
tries to resolve internal modules dependency too, that are not available in external repo or previously completed and installed.
Apologies if I directly modified your PR, my first intent was to suggest changes. However, it was useful to see the effect of my changes
EDIT: In dashbuider
there's this dependency io.netty:netty-transport-native-unix-common:jar:${os.detected.name}-${os.detected.arch}:4.1.59.Final
which is not able to find - investigating
Things are getting interesting netty/netty#11272 |
@tiagobento where the netty is used? |
@tiagobento As I wrote you in chat, |
Found a usage |
Maybe this Consumer should be |
Ok, so it looks like everything is working great ok Windows, but there's a weird failure on Ubuntu and macOS... very odd scenario 😝 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. +1 to merge when build is green
@ederign Thx!! @yesamer and I spoke today about this PR, and we agreed that we need to investigate a little bit more to see why it failed downloading dependencies for the Java Completion Plugin.. although it passed now, it doesn't seem stable enough for us to merge it. We're going to try and find the root cause of those failures first. |
This is not stable enough to go in. Closing for now. Thanks @yesamer for all the help investigating this! |
Bootstrap will take a little longer, but the builds will fail faster if something is wrong. The total build time won't change.