You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by tm...@aessuccess.org on 2009/01/21 16:55:04 UTC

Cannot read source file from disk

Hello,

I am a new user to Archiva and Maven.  I have Archiva 1.0.2 installed.  I 
have been able to successfully use the installation with Maven and several 
projects but now I have a project where I cannot download one of the 
dependencies.  The dependency is a manually loaded jar.  I can see it in 
the browse page and on the file system.  But everytime I try to download 
it I get the error message "the source file cannot be read".

TIA

Timothy McGinnis

==============================================================================
This message contains privileged and confidential information intended for the above addressees only.  If you
receive this message in error please delete or destroy this message and/or attachments.  

The sender of this message will fully cooperate in the civil and criminal prosecution of any individual engaging
in the unauthorized use of this message.
==============================================================================

Re: Cannot read source file from disk

Posted by Wendy Smoak <ws...@gmail.com>.
On Wed, Jan 21, 2009 at 8:55 AM,  <tm...@aessuccess.org> wrote:

> I am a new user to Archiva and Maven.  I have Archiva 1.0.2 installed.  I
> have been able to successfully use the installation with Maven and several
> projects but now I have a project where I cannot download one of the
> dependencies.  The dependency is a manually loaded jar.  I can see it in
> the browse page and on the file system.  But everytime I try to download
> it I get the error message "the source file cannot be read".

What do you mean by 'manually loaded'?  (How did the file get into the
repository?)

Where does the error message appear?  (On the console? In the Archiva logs?)

I'd check that the user running Archiva has permission to read the
file in question.

-- 
Wendy

Re: Cannot read source file from disk

Posted by Marc Canaleta <mc...@gmail.com>.
Hello,

If "manually loaded jar" means copying the jar file into the repository at
file system level, I supose that its not enough (that jar has no metadata).
A correct way to upload a 3rd party JAR is described here (using maven):

http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

Archiva also has a "Upload Artifact" form.

2009/1/21 <tm...@aessuccess.org>

> Hello,
>
> I am a new user to Archiva and Maven.  I have Archiva 1.0.2 installed.  I
> have been able to successfully use the installation with Maven and several
> projects but now I have a project where I cannot download one of the
> dependencies.  The dependency is a manually loaded jar.  I can see it in
> the browse page and on the file system.  But everytime I try to download
> it I get the error message "the source file cannot be read".
>
> TIA
>
> Timothy McGinnis
>
>
> ==============================================================================
> This message contains privileged and confidential information intended for
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or
> attachments.
>
> The sender of this message will fully cooperate in the civil and criminal
> prosecution of any individual engaging
> in the unauthorized use of this message.
>
> ==============================================================================
>