You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2008/10/23 17:39:19 UTC

[jira] Commented: (CONTINUUM-1941) Creating Local Repository accepts invalid location

    [ http://jira.codehaus.org/browse/CONTINUUM-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151706#action_151706 ] 

Wendy Smoak commented on CONTINUUM-1941:
----------------------------------------

What was the error?

That location is not _necessarily_ invalid, if the user running Continuum has permission to create it.  (Of course, it shouldn't be running as a user with that much permission. :) )

If it doesn't already exist, we could attempt to create the directory when the configuration for a new local repository is added, rather than waiting until build time.

Maven itself does not require that the local repo exist prior to executing a build, it just creates it at build time if it's missing.  If the directory can't be created, you get something like:

[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Specified destination directory cannot be created: /Users/sldkfjs/sfsldkjfsdy/org/apache/maven/plugins


> Creating Local Repository accepts invalid location
> --------------------------------------------------
>
>                 Key: CONTINUUM-1941
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1941
>             Project: Continuum
>          Issue Type: Bug
>         Environment: ubuntu
>            Reporter: Gwen Harold Autencio
>
> Create a local repository in continuum.
> e.g.
> /home/user/askjdfklsdajfklsajdf/asfsadfsadfsdfsadfasf

-- 
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