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

Custom settings file not found #839

Closed
stefanzilske opened this issue Apr 18, 2023 · 5 comments
Closed

Custom settings file not found #839

stefanzilske opened this issue Apr 18, 2023 · 5 comments

Comments

@stefanzilske
Copy link

stefanzilske commented Apr 18, 2023

I have a settings.xml and a maven.config, which references the settings file with the -s option file in a central directory. I symlink the maven.config to the .mvn/ of my project.

mvnd cannot build the project anymore, it keeps telling me that the settings file cannot be found. mvn itself can build it.

I am using mvnd 1.0-m6 darwin-aarch64 native client.

Any hint is appreciated!

@stefanzilske
Copy link
Author

Hm, this might actually be an issue with Maven 3.9.1 🤔

@gnodet
Copy link
Contributor

gnodet commented May 11, 2023

@stefanzilske do you have any more info ?

@stefanzilske
Copy link
Author

Sorry, all I cannot say for now is that it is still an issue and it also exists with using Maven 3.9.1 and also 3.9.2 without mvnd.

I will setup a small example project and share it with you.

@yanivnahoum
Copy link

@stefanzilske just guessing here - does your maven.config file adhere to the new format required by maven 3.9.x?
One arg per line? So for example this:
--threads 4
becomes:

--threads
4

@stefanzilske
Copy link
Author

@yanivnahoum yes that's the issue. I even came across the change with Maven 3.9 but I didn't grasp that it was per argument and not per flag. Thanks a lot for pointing that out!

@ppalaga ppalaga added this to the No fix/wont't fix milestone Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants