Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7958

Build fails due to splunk repo is unavailable

    XMLWordPrintableJSON

Details

    Description

       mvn clean install fails due to https://splunk.jfrog.io/artifactory/ext-releases-local repo is unavailable now

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project distribution: Error resolving project artifact: Could not transfer artifact io.confluent:common-utils:pom:6.1.1 from/to splunk-artifactory (https://splunk.jfrog.io/artifactory/ext-releases-local): Authorization failed for https://splunk.jfrog.io/artifactory/ext-releases-local/io/confluent/common-utils/6.1.1/common-utils-6.1.1.pom 403 Forbidden for project io.confluent:common-utils:jar:6.1.1 -> [Help 1]
      

      The "Dev Splunk" claims to use:

      <repository>
        <id>splunk-artifactory</id>
        <name>Splunk Releases</name>
        <url>https://splunk.jfrog.io/artifactory/ext-releases-local</url>
      </repository>
      

      as we're using now. 
      https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/gettingstartedsdkjava/installsdkjava/#Use-Maven
      But it gives the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project distribution: Error resolving project artifact: Could not transfer artifact io.confluent:common-utils:pom:6.1.1 from/to splunk-artifactory (https://splunk.jfrog.io/artifactory/ext-releases-local): Authorization failed for https://splunk.jfrog.io/artifactory/ext-releases-local/io/confluent/common-utils/6.1.1/common-utils-6.1.1.pom 403 Forbidden for project io.confluent:common-utils:jar:6.1.1 -> [Help 1]
      

      In case of removing this repo, the build fails:

      [ERROR] Failed to execute goal on project drill-storage-splunk: Could not resolve dependencies for project org.apache.drill.contrib:drill-storage-splunk:jar:1.19.0-SNAPSHOT: Failed to collect dependencies at com.splunk:splunk:jar:1.6.5.0: Failed to read artifact descriptor for com.splunk:splunk:jar:1.6.5.0: Could not transfer artifact com.splunk:splunk:pom:1.6.5.0 from/to splunk-artifactory (https://splunk.jfrog.io/artifactory/ext-releases-local): Authorization failed for https://splunk.jfrog.io/artifactory/ext-releases-local/com/splunk/splunk/1.6.5.0/splunk-1.6.5.0.pom 403 Forbidden -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      

      We can wait for a while until they respond with a solution. In case they will not respond soon, we might want to disable Splunk related staff from the build.
      We can consider to upload slunk libs to some other repo, to make sure they will be available always.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            vitalii Vitalii Diravka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: