[
http://jira.codehaus.org/browse/MNG-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156061#action_156061
]
Wendy Smoak commented on MNG-3882:
----------------------------------
What values do you want to compare? The local repo is a path, the remote repo
is a url. How would Maven be able to detect this?
Usually what happens is that a user takes a local repository, copies it to a
server and serves it as a remote repo either with a file:// url or by using a
web server in front.
Less common is dropping a copy of the local repo filesystem into a repository
manager -- and this is less of a problem since Archiva at least can repair the
metadata.
> Prevent local repository from also being the remote repository
> --------------------------------------------------------------
>
> Key: MNG-3882
> URL: http://jira.codehaus.org/browse/MNG-3882
> Project: Maven 2
> Issue Type: Bug
> Components: Settings
> Affects Versions: 2.0.10, 2.1.0-M1, 3.0-alpha-1
> Reporter: Paul Benedict
>
> User list shows that the local repository can be specified as a remote
> repository. I've confirmed this is true. This is obviously a sore
> misconfiguration. Let's check that the values are never equal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira