fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
Maven: Add -s option to support specifying a custom settings.xml file.
Cannot use the plugin because project requires a custom settings.xml file and could not find a way to specify this file in the project's README.
Please add the ability to specify custom settings (mvn -s ~/custom-settings.xml
). Ideally per-project in case different projects require different settings.
+1 from me. As a workaround: Have a look at the output console, it will show you where it expects a settings.xml. You kann link your custom settings there
I know the location of the standard settings (~/.m2/settings.xml
) which is where I have generalized settings. I also have a ~/.m2/current-client-settings.xml
which I have set up for when I'm on VPN doing work for my current client (needs to use their private Nexus, etc). I have the rest of my environment set up to support that work on a per-project basis, but this plugin only looks at the generalized settings and not the custom one I need. Hoping for a generalized way to have a dot-file or similar I can put in each repository root that will instruct the plugin of custom settings when needed.
The only alternative I can find is manually moving ~/.m2
settings files around when I'm on/off VPN, which is annoying/cumbersome. I even looked for ways to run custom scripts with the VPN client that I could use to automate moving settings when I connect/disconnect, but that isn't supported, either.
i agree, ist’s not optimal