You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/01/20 13:33:59 UTC

[GitHub] [maven-mvnd] honnix opened a new issue #588: Local settings.xml results current folder used as repository

honnix opened a new issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588


   For a reason, we have a valid `settings.xml` file under our project root folder. This file is not intended to be used by Maven when building and it is only meant to be packed into a container.
   
   It seems `mvnd` will by default use that file, treat the folder where this file sits as `maven repository` root, and download artifacts to the folder. Is this an intended behaviour? Plain maven does not seem to be bothered by the existence of this file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] honnix commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
honnix commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017691401


   @gnodet Thanks for the info. Do you mean it's caused by changes made in #573?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017687128


   I think this is caused by https://github.com/apache/maven-mvnd/pull/573


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] honnix commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
honnix commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017514221


   Tried using `mvnd -s .../.m2/settings.xml`, `mvn -gs .../.m2/settings.xml` and `mvn -Dmaven.settings=.../.m2/settings.xml`. But none of them works and the one in current folder is still being picked up.
   
   Also tried making the `settings.xml` in the project root folder malformed, and that broke the build, which means it is indeed picked up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
gnodet commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017697945


   > @gnodet Thanks for the info. Do you mean it's caused by changes made in #573?
   
   No, I meant it's the same issue. This should already be fixed in the master branch if you can build it and give it a try to confirm, that would be awesome !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] gnodet edited a comment on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
gnodet edited a comment on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017687128


   I think this is caused by https://github.com/apache/maven-mvnd/issues/553


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] honnix commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
honnix commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017753166


   Aha, I see. I will give it a try later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] honnix commented on issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
honnix commented on issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588#issuecomment-1017909406


   @gnodet I can confirm that the build from main branch fixes this issue. Thanks for the help! I'm closing this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-mvnd] honnix closed issue #588: Local settings.xml results current folder used as repository

Posted by GitBox <gi...@apache.org>.
honnix closed issue #588:
URL: https://github.com/apache/maven-mvnd/issues/588


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org