robertstettner / drone-mvn-auth

Drone plugin for generating the `settings.xml` with the server authentication for a Maven repository.
MIT License
6 stars 12 forks source link

missing setting.xml #3

Open iMilad opened 5 years ago

iMilad commented 5 years ago

hi,

I get this error when I am using your example:

mvn install -gs settings.xml [ERROR] Error executing Maven. [ERROR] The specified global settings file does not exist: /drone/src/settings.xml any configuration that I missed? also is it possible to use the encrypted pass?

oviis commented 4 years ago

...I also have the same error, it seems like this plugin can not create the settings.xml ?!?

Laurencijaa commented 4 years ago

...I also have the same error, it seems like this plugin can not create the settings.xml ?!?

Hi, Had same issue, and tried different structure. Added "Settings tag" and secrets worked this way for me (I am using steps in drone.yml, step name tag is in the same level as image tag). For maven_servers value, used example from plugin documentation: [{"id": "release","username":"foo","password":"bar"}]. ) Could not fix spacing in example, so added as image: image