-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add support for configuring maven #33
Comments
I have a feeling I'm going to run into this sooner than later. The specific user configuration seems to be a different direction than the rest of the plugin. Perhaps tackle this effort later? |
But how do we know where But anyway. How about something like this?
|
I'm all for the beer part. Yeah, that sounds good. I'm guessing for most use cases this would be during a provisioning run so that's either going to be the I think you brought up an excellent suggestion regarding the configuration and in general being idempotent. Downloading to the provisioning host may be the best option. To your last point if we find a configuration it would merely unmarshal using Nokogiri and add the appropriate child nodes, re-save, and then go get a beer. |
Depending on how today/tomorrow goes I may try to tackle this. I'll have a separate branch and open PR like I did with #40. |
In my use cases (dev or build VM) I actually normally use the vagrant user to run maven. For production server and their testing I prefer to avoid maven and just deploy the build artifact. But I agree that the system-wide (well, maven-wide) config is a better option if we think the approach is good enough. Other thing is that I would desperately try to avoid using native gem extensions, like nokogiri. They have caused a ton of pain in e.g. vagrant-aws and vagrant-berkshelf. Really great if you have time to dive into this. My hacking time is normally limited to nights after the kids sleep, and more often than not I'm too tired to do anything. ;) |
@johnbellone Btw, I just added you as a contributor. Welcome aboard! 🍻 |
This goes towards issue tmatilai#33 where proxy support for Maven is needed.
I'll work on this when I get back from San Francisco later in the week. You were right about it not being straightforward as the rest. Leave it to Sun to make everything so damn difficult! :) |
Documentation:
Challenges
Proposal
I think most use cases would be satisfied by just configuring the SSH user (normally "vagrant"). More functionality can be added later if needed.
The text was updated successfully, but these errors were encountered: