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
          Juven Xu added a comment -

          Configuration has been prepared, now you can:

          Show
          Juven Xu added a comment - Configuration has been prepared, now you can: Deploy snapshot artifacts into repository https://nexus.codehaus.org/content/repositories/snapshots Deploy release artifacts into the staging repository https://nexus.codehaus.org/service/local/staging/deploy/maven2 Promote staged artifacts into repository 'Releases' Download snapshot and release artifacts from group https://nexus.codehaus.org/content/groups/public Download snapshot, release and staged artifacts from staging group https://nexus.codehaus.org/content/groups/staging
          Hide
          Anders Hammar added a comment -

          Thanks Juven!
          What's required on our side (in the deployment)? Is there a write up somewhere?

          Show
          Anders Hammar added a comment - Thanks Juven! What's required on our side (in the deployment)? Is there a write up somewhere?
          Hide
          Juven Xu added a comment -

          The repository migration from repository.codehaus.org is complete

          Show
          Juven Xu added a comment - The repository migration from repository.codehaus.org is complete
          Show
          Juven Xu added a comment - here is the document: https://docs.codehaus.org/display/HAUSMATES/Codehaus+Maven+Repository+Usage+Guide
          Hide
          Savas Ali Tokmen added a comment -

          Hello

          Is it possible to have the CARGO artifacts to be present on both the Nexus repository and the old repository? This is because our old download links used to point to the old repository. I've updated them to repo1.maven.org, but many people may have written these URLs in many documents.

          Cheers

          Show
          Savas Ali Tokmen added a comment - Hello Is it possible to have the CARGO artifacts to be present on both the Nexus repository and the old repository? This is because our old download links used to point to the old repository. I've updated them to repo1.maven.org, but many people may have written these URLs in many documents. Cheers
          Hide
          Ben Walding added a comment -

          Savas,

          If you can give the from -> to URL mapping I can add a redirect for you.

          Cheers,

          Ben

          Show
          Ben Walding added a comment - Savas, If you can give the from -> to URL mapping I can add a redirect for you. Cheers, Ben
          Show
          Savas Ali Tokmen added a comment - - edited Hello Ben I would love a redirection of: http://repository.codehaus.org/org/codehaus/cargo/ to http://nexus.codehaus.org/content/repositories/releases/org/codehaus/cargo/ http://snapshots.repository.codehaus.org/org/codehaus/cargo to http://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/cargo/ Have a nice week end
          Hide
          Ben Walding added a comment -

          Redirects added for all Nexusified projects.

          Show
          Ben Walding added a comment - Redirects added for all Nexusified projects.
          Hide
          Juven Xu added a comment -

          this is awesome! thank you Ben

          Show
          Juven Xu added a comment - this is awesome! thank you Ben
          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: