Why can I deploy to the pre-configured internal repository OK, but not
my identical custom repository?

 

 

#### INTERNAL ####

 

mvn deploy:deploy-file 

-Dfile=commons-logging-1.1.1.jar 

-DgroupId=commons-logging 

-DartifactId=commons-logging -Dversion=1.1.1 

-DrepositoryId=internal 

-Durl=dav:http://localhost:8080/archiva/repository/internal/ 

-Dpackaging=jar

 

[INFO] [deploy:deploy-file]

Uploading:
http://localhost:8080/archiva/repository/internal//commons-logging/commo
ns-logging/1.1.1/commons-logging-1.1.1.jar

[INFO] Retrieving previous metadata from internal

[INFO] Uploading project information for commons-logging 1.1.1

[INFO] Retrieving previous metadata from internal

[INFO] Uploading repository metadata for: 'artifact
commons-logging:commons-logging'

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESSFUL

 

 

#### CUSTOM ####

 

mvn deploy:deploy-file 

-Dfile=commons-logging-1.1.1.jar 

-DgroupId=commons-logging 

-DartifactId=commons-logging 

-Dversion=1.1.1 

-DrepositoryId=custom-repos 

-Durl=dav:http://localhost:8080/archiva/repository/custom/ 

-Dpackaging=jar

 

[INFO] [deploy:deploy-file]

Uploading:
http://localhost:8080/archiva/repository/custom//commons-logging/commons
-logging/1.1.1/commons-logging-1.1.1.jar

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Error deploying artifact: Resource to deploy not found: File:
http://localhost:8080/archiva/repository/custom/commons-logging/com

mons-logging/1.1.1/commons-logging-1.1.1.jar does not exist

 

 

The settings.xml includes the server settings.

 

Advice appreciated? 

 

DISCLAIMER: This e-mail is confidential and may also be legally privileged. If 
you are not the intended recipient, use of the information contained in this 
e-mail (including disclosure, copying or distribution) is prohibited and may be 
unlawful.  Please inform the sender and delete the message immediately from 
your system.  This e-mail is attributed to the sender and may not necessarily 
reflect the views of the Patsystems Group and no member of the Patsystems Group 
accepts any liability for any action taken in reliance on the contents of this 
e-mail (other than where it has a legal or regulatory obligation to do so) or 
for the consequences of any computer viruses which may have been transmitted by 
this e-mail. The Patsystems Group comprises Patsystems plc and its subsidiary 
group of companies. Thank you for your Co-Operation.

Reply via email to