I thought the message was funny, since the URL mentioned as the resource
to deploy really does not exist. Of course, it will only exist at that
URL once it has been deployed successfully.

Thanks anyway for your help.

Gregory


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Deng
Ching
Sent: Freitag, 7. August 2009 14:09
To: [email protected]
Subject: Re: error running mvn deploy:deploy-file on archiva

Ok, I'm now out of ideas for possible causes :( I tried deploying using
deploy:deploy-file here and i was able to deploy successfully. I
reproduced your problem when I had an incorrect url though.

Thanks,
Deng

On Fri, Aug 7, 2009 at 8:03 PM, Tjepkema, Gregory
<[email protected]>wrote:

> We have a network proxy for handling all traffic with the outside
world.
> The Archiva server is in our LAN and accessible from my PC (from which

> I ran the maven command) directly. Also, I have configured the proxy 
> host in Archiva itself, so it should be able to get to the Internet if

> it has to.
>
> Thanks,
> Gregory
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Deng Ching
> Sent: Freitag, 7. August 2009 13:58
> To: [email protected]
> Subject: Re: error running mvn deploy:deploy-file on archiva
>
> Yep, it looks correct to me :) Do you have a network proxy by any 
> chance?
>
> On Fri, Aug 7, 2009 at 7:47 PM, Tjepkema, Gregory
> <[email protected]>wrote:
>
> > Hi Dend,
> >
> > I am able to open
> > http://archivahost:8181/archiva/repository/snapshots/
> > is a browser. I see a directory listing like this:
> >
> > Collection: /
> >    * .index
> >    * .indexer
> >    * com
> >
> > Is this what I should expect?
> >
> > Thank you,
> > Gregory
> >
> >
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On Behalf Of 
> > Deng Ching
> > Sent: Freitag, 7. August 2009 13:38
> > To: [email protected]
> > Subject: Re: error running mvn deploy:deploy-file on archiva
> >
> > Hi Gregory,
> >
> > Did you check if you have the correct repository url?
> >
> > Thanks,
> > Dend
> >
> > On Wed, Aug 5, 2009 at 5:20 PM, Tjepkema, Gregory
> > <[email protected]>wrote:
> >
> > > Hi,
> > >
> > > I am a new user of Archiva, and am experiencing some problems with

> > > deploying via mvn. The Archiva version is 1.2.1 and the Maven I am

> > > using is 2.2.0.
> > >
> > > When I run:
> > >
> > > D:\checkouts\tis_33x_trunk>mvn deploy:deploy-file 
> > > -Dfile=./target/lib/tis-no-templates-3.3.0-SNAPSHOT.jar
> > > -DpomFile=./pom.xml -DrepositoryId=archiva.snapshot -D 
> > > url=http://archivahost:8181/archiva/repository/snapshots/
> > >
> > > I get:
> > >
> > > [INFO] Error deploying artifact: Resource to deploy not found:
File:
> > >
> >
>
http://archivahost:8181/archiva/repository/snapshots//com/skandia/tis/3.
> > > 3.0-SNAPSHOT/tis-3.3.0-20090805.091000-1.jar<http://archivahost:81
> > > 81
> > > /a
> > > rchiva/repository/snapshots//com/skandia/tis/3.%0A3.0-SNAPSHOT/tis
> > > -3
> > > .3 .0-20090805.091000-1.jar>does not exist
> > >
> > > I followed the instructions on configuring the settings.xml and 
> > > and the pom.xml to the letter, as per this link 
> > > http://archiva.apache.org/docs/1.2.1/userguide/deploy.html. I 
> > > tried both the instructions for deploying via HTTP as well as Web
DAV.
> > >
> > > Can anybody tell me what I am doing wrong?
> > >
> > > Thanks in advance.
> > >
> > > Gregory Tjepkema
> > >
> > >
> > >
> >
> >
>
>

Reply via email to