简体   繁体   中英

How can i see my document settings.xml (maven)

I'm trying to see my informations (username & url) in settings.xml but there is no document in my folder .m2, I try to display it with ls -la but nothing to do. How can we get those informations?

Maven will not automatically create the user settings.xml if it does not exist. If there are any settings you want to configure with non-default values, you'll have to create it yourself based on the examples in https://maven.apache.org/settings.html .

If you want to see the current values which Maven uses see here: Maven: Overview for the values of Maven properties .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM