Use encrypted data in a Maven pom

后端 未结 3 928
别那么骄傲
别那么骄傲 2021-01-01 22:52

I know that it is possible to encrypt a password and put the encrypted data in the settings.xml, so that Maven can access a remote server (for deployment, etc.)

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-01 23:30

    Maven provided the necessary support to encrypt passwords in settings.xml, and for plugins to retrieve them. See for example SqlExecMojo.java.

    Plugins "just" have to use this feature to be more user-friendly with credentials management.

提交回复
热议问题