Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] basic auth for http p2 repos broken on windows in 0.16.0?

Apologies for sending an html mail previously. I fixed my example project and attached it in test.zip. In parent.xml just fill in the URL for the rm_daily repo, then put an encrypted password hash for it in your settings.xml. Reminder that it only fails for me on Windows.

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Justin Georgeson
Sent: Saturday, November 03, 2012 1:51 PM
To: (tycho-user@xxxxxxxxxxx)
Subject: [tycho-user] basic auth for http p2 repos broken on windows in 0.16.0?

I've had my server password cache setup for a while, and it seems like using tycho 0.16.0 it won't use the encrypted credentials for a P2 repo that requires authentication. The same pom files and settings files work on linux. If I change the settings file on windows to use plain text password instead of encrypted, it works. I have a proxy server using the same encrypted password hash and that works fine. The server that requires authentication is serving both our internal maven repo and our internal p2 repo (from different urls, of course). The maven repo works fine with the encrypted password hash, it's just the p2 repo. Setting the tycho version back to 0.15.0 and building with a clean .m2 local repo the encrypted password hash works fine. So it seems to be the combination of tycho 0.16.0 with an encrypted password hash in the settings.xml for a p2 layout repo and only on windows.
 
I'm using maven 3.0.4, JDK 1.6.0 31, windows 7 64 bit.
 
I tried to setup a minimal set of pom files (a parent and an eclipse-feature) but maven fails with "no plugin found for prefix 'C'" with the example pom files. I don't' have a lot of time to spend on an example project so I'm hoping someone else can confirm based on the trouble-shooting I described above to narrow down the problem.
 

Attachment: test.zip
Description: test.zip


Back to the top