Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-601

fix hcatalog dependency resolution issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • build
    • None

    Description

      Currently HCatalog dependency resolution fails when starting with an empty cache. This often manifests itself as the build failing when trying to unzip a jar, but the file is actually an HTML error page stored in the local maven cache.

      I think this is because of our jersey dependency. Currently we depend on jersey 1.9.1, which contains the following in jersey-project-1.9.1.pom:

      <repository>
        <id>glassfish-repository</id>
        <name>Repository for Glassfish</name>
        <url>
          http://maven.glassfish.org/content/groups/glassfish
        </url>
      </repository>
      

      However, visiting that URL gives you a 404 as its no longer a maven repo. I believe this transitive repo is getting pulled into our build and causing havoc. Looking in our root-level pom we attempt to disable it, but that does not appear to be effective.

      Starting in jersey 1.10 the glassfish repo was removed. I believe by bumping our jsersey version we can resolve this issue. There was a minor packaging change (we now need jersey-servlet but otherwise its a minor (local - not sure about jersey) change.

      Attachments

        1. HCATALOG-601.1.patch
          1 kB
          Travis Crawford
        2. HCATALOG-601.2.patch
          2 kB
          Sushanth Sowmyan
        3. HCATALOG-601.3.patch
          2 kB
          Sushanth Sowmyan

        Activity

          People

            sushanth Sushanth Sowmyan
            traviscrawford Travis Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: