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:8181/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
>
>
>