-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distribution management repositories losing authentication settings #149
distribution management repositories losing authentication settings #149
Conversation
…entication settings.
Cheers for this - do you have an example project you could add as an IT test? Or adapt/copy the existing |
…entication settings. - Added testcase
…entication settings. - Added testcase
adapting the src/it/distributionManagemetTile didn't work, since actual distribution is disabled. Also I didn't find a way to verify presence of authentication information from the log files (which is good from a security point of view). I therefore decided to write a gray box test to verify the functionality of the change. |
Cheers - that's merged. I'll look at getting that released tomorrow. |
I've been seeing similar issues with distribution management authentication being lost. Sadly this fix did not address it for my case. Started having problems since 2.37. When I have time, I'll try making a simple reproduction. |
@RobertTheBlair doh! Yeh - I always use the If you can find a reproducible case that would be excellent! |
@talios I lost track of this request for a few months, but got reminded about this today. I have a workaround, putting the dependency management in all 150 pom files, or not upgrading tiles. What is notable is that without adding this section, the only thing seeming to be missing from the attempt to distribute is the credentials.
eta: to be clear, please don't take this as a request to solve my problems on your dime. |
By just creating a new MavenRepository, the authentication settings of the repositories get removed. The additional code reuses the existing repos before creating a new one without auth.