On 22/09/2009, at 4:39 AM, Thomas P wrote:


...
[INFO] [deploy:deploy {execution: default-deploy}]
Password for ...
Uploading: ...1.0.0.jar
63K uploaded  (...-1.0.0.jar)
[INFO] Uploading project information for ... 1.0.0
Password for ...
[INFO] Retrieving previous metadata from private-repo
Password for ...
INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: repository metadata for: '...' could not be retrieved from repository: ... due to an error: Error occurred
while downloading '.../maven-metadata.xml' from the remote
repository:Repository[...]: syserr: No such file or directory, file:
../maven-metadata.xml

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Mon Sep 14 19:49:11 GMT 2009
[INFO] Final Memory: 21M/38M
[INFO]
------------------------------------------------------------------------

So what went wrong?

It's hard to tell from the partial path information but I think it's just the lack of the repository root directory on the remote server, not the metadata file. If you remove the metadata file does it still work now?

And can I run my repository in this way (uploading via sftp, downloading
using the webserver)?

Yes, though there are good reasons to select a repository manager instead (one of which that deployment is much simpler over HTTP generally).

- Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to