I'm encountering an annoyance when using the aQute.bnd.deployer.repository.aether.AetherRepository bnd plugin. After adding the Aether repo, every time I startup Eclipse I get prompted (twice!) for my Artifactory credentials. The Eclipse startup hangs. Eclipse is showing:
1. The Eclipse splash window.
2. Two dialogs with the title "Password Required". The dialogs contain:
2a. Connect to: arthost
2b. Artifactory Realm
2c. User name:
2d. Password
2c. OK and Cancel buttons.
I only see this "Password Required" prompt during Eclipse startup. For example, I didn't see such a prompt when bndtools added the repo.
Environment:
Java 1.8.0_66
Eclipse Mars.2 (4.5.2)
Bndtools 3.1.1.REL-20160122-125321-g240736f
Artifactory OSS 3.7.0
The Artifactory instance is configured to require authentication i.e. Artifactory->Admin->Security->General->checkbox "Allow Anonymous Access" is unchecked.
I've configured the bnd AetherRepository in cnf/ext/repositories.bnd like this:
-pluginpath: ${build}/cache/biz.aQute.repository.aether-latest.jar;url=${bnd-release}/biz.aQute.repository.aether/biz.aQute.repository.aether-latest.jar;
-plugin \
aQute.bnd.deployer.repository.aether.AetherRepository; \
name=Artifactory; \
username=joe;password=joepass; \
Note that the new "Artifactory" repo shows up in the bndtools perspective Repositories view just fine.
This seems like a defect. If so, I can open a ticket against bnd.
The issue seems similar to this resolved m2e issue...
Bug 440273 - unexpected auth popup when accessing password-protected repositories