How do I use maven command line to determine which settings.xml file Maven is picking up?
Maven command to determine which settings.xml file Maven is using
command linemavenmaven-2settings
Related Topic
- Ruby – How to pass command line arguments to a rake task
- Mysql – How to get a list of user accounts using the command line in MySQL
- Xml – POST XML file using cURL command line
- Bash – How to reload .bash_profile from the command line
- Bash – How to set a variable to the output of a command in Bash
- Mysql – How to import an SQL file using the command line in MySQL
- Maven command line how to point to a specific settings.xml for a single command
- Xcode – Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
Best Answer
Start maven with -X option (debug) and examine the beginning of the output. There should be something like this:
(Original directory names are removed by me)