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

#1389:Username for accessing servers via Maven no longer encrypted #62

Conversation

KianRolf
Copy link
Contributor

fixes devonfw/ide#1389: Username no longer gets encrypted.

However it is still not possible to access servers via Maven since 'C:\projects_ide\software\default\mvn\mvn\3.9.9\bin\mvn.cmd' is trying to reach settings-security.xml at C:\Users\username.m2\settings-security.xml
and not at C:\projects\projectname\conf\mvn\settings-security.xml where it is created.

Also the IDE environment variables: M2_REPO and MAVEN_ARGS seem to be buggy since even after reconfiguration they point at the wrong project.

For example in a project named "Test" the M2_REPO and MAVEN_ARGS where set to:
M2_REPO=C:\projects\IDEasy\conf\mvn\repository

MAVEN_ARGS=-s C:\projects\IDEasy\conf\mvn\settings.xml

@KianRolf KianRolf added the bug Something isn't working label Oct 17, 2024
@KianRolf KianRolf self-assigned this Oct 17, 2024
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KianRolf Thanks for this PR.
Will you do the same also for devonfw-ide branch so we have the actual bug reported in devonfw-ide also fixed?

@hohwille hohwille merged commit 69f418e into devonfw:main Oct 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Username for accessing servers via Maven must not be encrypted
2 participants