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

Maven warning 'repositories.repository.id' must not be 'local' #31

Closed
yepher opened this issue Apr 12, 2013 · 3 comments
Closed

Maven warning 'repositories.repository.id' must not be 'local' #31

yepher opened this issue Apr 12, 2013 · 3 comments
Labels

Comments

@yepher
Copy link

yepher commented Apr 12, 2013

When building the project I get the warning shown below. Can just rename "local" to "localrepo" to get rid of that warning?

[hrider (master)]$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for h-rider:h-rider:jar:1.0.5.0
[WARNING] 'repositories.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories will corrupt your repository metadata. @ line 17, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

@icher-g
Copy link

icher-g commented Apr 21, 2013

Fixed

@icher-g icher-g closed this as completed Apr 21, 2013
@vdere
Copy link

vdere commented Mar 14, 2018

how

@avandenberghe
Copy link

it means the .m2/settings.xml has an incorrect reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants