Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nexus
    • Labels:
      None
    • Environment:
      n/a
    • Number of attachments :
      0

      Description

      The Cargo team would like to migrate to the new Nexus hosted repository.

      http://cargo.codehaus.org/

        Issue Links

          Activity

          Hide
          Anders Hammar added a comment -

          Please be aware that older version of Cargo does not work with Maven since this move (CARGO-840). The redirects makes Maven think that the http response is the actual artifact content, which makes Maven go bananas.
          Ben, would it be possible to turn off the redirects (temporarily) to see if we could get Maven work? Or does anyone else have any other suggestions?

          Show
          Anders Hammar added a comment - Please be aware that older version of Cargo does not work with Maven since this move ( CARGO-840 ). The redirects makes Maven think that the http response is the actual artifact content, which makes Maven go bananas. Ben, would it be possible to turn off the redirects (temporarily) to see if we could get Maven work? Or does anyone else have any other suggestions?
          Hide
          Ben Walding added a comment -

          Maven is broken. It has had this bug for years, and apparently no one cares.

          It breaks any hope of mirroring to redirect load, document migration, and probably a bunch of other stuff.

          In any event, I've changed the server config to send a 404 to maven, and a 301 to everything else.

          Show
          Ben Walding added a comment - Maven is broken. It has had this bug for years, and apparently no one cares. It breaks any hope of mirroring to redirect load, document migration, and probably a bunch of other stuff. In any event, I've changed the server config to send a 404 to maven, and a 301 to everything else.
          Hide
          Anders Hammar added a comment -

          Ben, you're the man! I just verified and it works fine for Maven 2.2.1. Thank you for your quick fixes!

          Show
          Anders Hammar added a comment - Ben, you're the man! I just verified and it works fine for Maven 2.2.1. Thank you for your quick fixes!
          Hide
          Savas Ali Tokmen added a comment -

          Thank you, Ben

          Show
          Savas Ali Tokmen added a comment - Thank you, Ben
          Hide
          Savas Ali Tokmen added a comment -

          Hello Ben

          It looks like the redirection for snapshots.repository.codehaus.org still behaves the old way, i.e. Maven2 downloads DOCTYPE stuff.

          Can you please check that one as well?

          Show
          Savas Ali Tokmen added a comment - Hello Ben It looks like the redirection for snapshots.repository.codehaus.org still behaves the old way, i.e. Maven2 downloads DOCTYPE stuff. Can you please check that one as well?

            People

            • Assignee:
              Ben Walding
              Reporter:
              Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: