Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2017

Make Cloudera repository available in Knox's parent POM

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: Build
    • Labels:
      None

      Description

      Since a recent change, the Travis CI build has been failing due to an issue with Cloudera Manager dependencies in Maven:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project gateway-release: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project gateway-release: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
      [ERROR] ----------
      [ERROR] 1) com.cloudera.api.swagger:cloudera-manager-api-swagger:jar:6.3.0
      [ERROR]
      [ERROR]   Try downloading the file manually from the project website.[ERROR] 
      [ERROR]   Then, install it using the command: 
      [ERROR]       mvn install:install-file -DgroupId=com.cloudera.api.swagger -DartifactId=cloudera-manager-api-swagger -Dversion=6.3.0 -Dpackaging=jar -Dfile=/path/to/file
      [ERROR] 
      [ERROR]   Alternatively, if you host your own repository you can deploy the file there: 
      [ERROR]       mvn deploy:deploy-file -DgroupId=com.cloudera.api.swagger -DartifactId=cloudera-manager-api-swagger -Dversion=6.3.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      [ERROR]
      [ERROR]   Path to dependency:
      [ERROR]    1) org.apache.knox:gateway-release:jar:1.4.0-SNAPSHOT
      [ERROR]    2) org.apache.knox:gateway-discovery-cm:jar:1.4.0-SNAPSHOT
      [ERROR]    3) com.cloudera.api.swagger:cloudera-manager-api-swagger:jar:6.3.0
      [ERROR]
      [ERROR] ----------
      [ERROR] 1 required artifact is missing. 

      We should check if the relevant repository tags are added in the proper place and fix this issue ASAP (until that all of the PR builds will fail).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smolnar Sandor Molnar
                Reporter:
                smolnar Sandor Molnar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m