Archiva

Trim URL in Remote Repositories

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1
  • Component/s: remote proxy
  • Labels:
    None
  • Number of attachments :
    0

Description

I made a wrong cut'n paste and declared a remote repository with " http://foo.com/..."
Archiva doesn't access to it with the error :

jvm 1    | 2008-03-27 09:13:35,510 [SocketListener0-2] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository
"local-generali-releases" for artifact AAA:BBB:CCC::pom, continuing to next repository. Error message: Unsupported target repositor
y protocol:     http

A simple trim on the URL when we save the remote repository configuration could help

Activity

Hide
James William Dumay added a comment -

Moving to 1.2

Show
James William Dumay added a comment - Moving to 1.2
Hide
Arnaud Heritier added a comment -

It is so difficult to add a trim() ????

Show
Arnaud Heritier added a comment - It is so difficult to add a trim() ????
Hide
James William Dumay added a comment -

Fixed in r658219

Show
James William Dumay added a comment - Fixed in r658219

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: