[SAC] Re: [OSGeo] #607: Maven Deploy fails with 405 Error

OSGeo trac_osgeo at osgeo.org
Mon Aug 2 22:37:58 EDT 2010


#607: Maven Deploy fails with 405 Error
---------------------------+------------------------------------------------
 Reporter:  jive           |        Owner:  sac@…              
     Type:  defect         |       Status:  closed             
 Priority:  blocker        |    Milestone:                     
Component:  Systems Admin  |   Resolution:  fixed              
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by bencaradocdavies):

 I can confirm that I am able to successfully upload (deploy) a new maven
 artifact:

 [INFO] [deploy:deploy-file]
 Uploading:
 http://download.osgeo.org/webdav/geotools//org/earthresourceml/earthresourceml-1.1/1.1.0-1/earthresourceml-1.1-1.1.0-1.jar
 [INFO] Uploading project information for earthresourceml-1.1 1.1.0-1
 [INFO] Retrieving previous metadata from osgeo
 [INFO] repository metadata for: 'artifact
 org.earthresourceml:earthresourceml-1.1' could not be found on repository:
 osgeo, so will be created
 [INFO] Uploading repository metadata for: 'artifact
 org.earthresourceml:earthresourceml-1.1'

 Furthermore, if I remove my maven credentials for this repo and attempt to
 redeploy, the operation fails with a 401. This is a success as it
 demonstrates that credentials are required to write:

 [INFO] Error deploying artifact: Failed to transfer file:
 http://download.osgeo.org/webdav/geotools/org/earthresourceml/earthresourceml-1.1/1.1.0-1/earthresourceml-1.1-1.1.0-1.jar.
 Return code is: 401 Unauthorized

 Thanks a lot! Looks like it is all working.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/607#comment:19>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list