Skip to content
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

fix(auth): Update authentication logic in settings.xml, unit tests #604

Closed
wants to merge 2 commits into from

Commits on Mar 1, 2024

  1. fix(auth): Update authentication logic in settings.xml, unit tests (#1)

    * fix(auth): Update authentication logic in settings.xml, unit tests
    
    Enhanced the logic for reading authentication information in the settings.xml file to address an issue where attempts to configure a GitHub Action for fetching packages from a repository within the same organization resulted in authentication errors.
    Despite the correct configuration, the process failed with a 401 Unauthorized status during dependency download from GitHub's Maven package repository.
    The error was pinpointed to a non-resolvable parent POM due to authentication failure, with an incorrect 'parent.relativePath' exacerbating the issue.
    
    To resolve this, I made significant updates to the logic within settings.xml for better handling of authentication information.
    Additionally, unit tests have been updated to reflect these changes and ensure robust verification.
    
    The documentation and examples have also been revised to provide clearer guidance on configuring and utilizing this updated process successfully.
    ParryQiu committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c0786a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    b11b915 View commit details
    Browse the repository at this point in the history