I've been trying to release to bundles with "gradle release", but have been having trouble with the authentication.
The documentation states that the ~/.bnd/settings.xml file will be read. As far as I can see it won't by default.
So if I set
-connection-settings: ~/.bnd/settings.xml
then release works. If I set
-connection-settings: ${.}/setting.xml
then it works.
If I leave -connection-settings unset, and put the credentials in ~/.m2/settings.xml, then it works.
If I leave -connection-settings unset, and put the credentials in ~/.bnd/settings.xml, it fails.
Note, that I know my file is right, as
-connection-settings: ~/.bnd/settings.xml
works.
In all cases the content of the settings.xml file is the same.
A number of places in the documentation make reference to being able to use ~/.bnd/settings.xml, and how this is read ahead of ~/.m2/settings.xml, but as far as I can see this doesn't happen.
Am I misinterpreting?
Thanks.