Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19541

Missing dependency com.atlassian.httpclient:atlassian-httpclient-api in jira-source kamelet integration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • camel-k-1.8
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo

      On OCP 4.10, with build 2022.3 CK5 I observe for simple integration with jira-source kamelet following missing dependencies: (ie. CK integration is stuck in "Building Kit" and log of CK operator produces following error):

      "info","ts":1658847275.935883,"logger":"camel-k.maven.build","msg":"[INFO] ---------< org.apache.camel.k.integration:camel-k-integration >---------"}
      {"level":"info","ts":1658847275.9361513,"logger":"camel-k.maven.build","msg":"[INFO] Building camel-k-integration 1.8.0"}
      {"level":"info","ts":1658847275.93671,"logger":"camel-k.maven.build","msg":"[INFO] --------------------------------[ jar ]---------------------------------"}
      {"level":"info","ts":1658847276.529674,"logger":"camel-k.maven.build","msg":"[WARNING] The POM for com.atlassian.httpclient:atlassian-httpclient-api:jar:2.0.0 is missing, no dependency information available"}
      {"level":"info","ts":1658847276.5345476,"logger":"camel-k.maven.build","msg":"[WARNING] The POM for com.atlassian.sal:sal-api:jar:3.0.7 is missing, no dependency information available"}
      {"level":"info","ts":1658847276.5367062,"logger":"camel-k.maven.build","msg":"[WARNING] The POM for com.atlassian.event:atlassian-event:jar:3.0.0 is missing, no dependency information available"}
      {"level":"info","ts":1658847276.5367377,"logger":"camel-k.maven.build","msg":"[WARNING] The POM for com.atlassian.httpclient:atlassian-httpclient-library:jar:2.0.0 is missing, no dependency information available"}
      {"level":"info","ts":1658847276.924845,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      {"level":"info","ts":1658847276.9249153,"logger":"camel-k.maven.build","msg":"[INFO] BUILD FAILURE"}
      {"level":"info","ts":1658847276.9251184,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      {"level":"info","ts":1658847276.9268363,"logger":"camel-k.maven.build","msg":"[INFO] Total time:  1.149 s"}
      {"level":"info","ts":1658847276.9274104,"logger":"camel-k.maven.build","msg":"[INFO] Finished at: 2022-07-26T14:54:36Z"}
      {"level":"info","ts":1658847276.9274228,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      {"level":"info","ts":1658847276.9298215,"logger":"camel-k.maven.build","msg":"[ERROR] Failed to execute goal on project camel-k-integration: Could not resolve dependencies for project org.apache.camel.k.integration:camel-k-integration:jar:1.8.0: The following artifacts could not be resolved: com.atlassian.httpclient:atlassian-httpclient-api:jar:2.0.0, com.atlassian.sal:sal-api:jar:3.0.7, com.atlassian.event:atlassian-event:jar:3.0.0, com.atlassian.httpclient:atlassian-httpclient-library:jar:2.0.0: Failure to find com.atlassian.httpclient:atlassian-httpclient-api:jar:2.0.0 in http://nexus.test-infra.svc.cluster.local/repository/maven-proxy was cached in the local repository, resolution will not be reattempted until the update interval of mirror-000 has elapsed or updates are forced -> [Help 1]"}
      {"level":"info","ts":1658847276.9299102,"logger":"camel-k.maven.build","msg":"[ERROR] "}
      {"level":"info","ts":1658847276.93041,"logger":"camel-k.maven.build","msg":"[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch."}
      {"level":"info","ts":1658847276.930419,"logger":"camel-k.maven.build","msg":"[ERROR] Re-run Maven using the -X switch to enable full debug logging."}
      {"level":"info","ts":1658847276.930424,"logger":"camel-k.maven.build","msg":"[ERROR] "}
      {"level":"info","ts":1658847276.9305258,"logger":"camel-k.maven.build","msg":"[ERROR] For more information about the errors and possible solutions, please read the following articles:"}
      {"level":"info","ts":1658847276.9308455,"logger":"camel-k.maven.build","msg":"[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException"}
      {"level":"info","ts":1658847276.9666898,"logger":"camel-k.builder","msg":"step failed with error: failure while building project: exit status 1","step":"github.com/apache/camel-k/pkg/builder/BuildQuarkusRunner","phase":"20","task":"builder"}
      {"level":"info","ts":1658847276.9668806,"logger":"camel-k.builder","msg":"dependencies: [camel:jira camel:log mvn:org.apache.camel.k:camel-k-runtime mvn:org.apache.camel.quarkus:camel-quarkus-groovy-dsl]"}
      

      It seems that dependencies of io.atlassian.util.concurrent:atlassian-util-concurrent:4.0.1 are not resolved - viz dependency tree:

      com.atlassian.jira:jira-rest-java-client-api:5.2.2.redhat-00007 (present)
      io.atlassian.util.concurrent:atlassian-util-concurrent:4.0.1 (present)
      com.atlassian.httpclient:atlassian-httpclient-api:2.0.0 
      com.atlassian.jira:jira-rest-java-client-core:5.2.2.redhat-00007
      com.atlassian.sal:sal-api:3.0.7
      com.atlassian.event:atlassian-event:3.0.0
      com.atlassian.httpclient:atlassian-httpclient-library:2.0.0
      

      Issue ENTESB-16477 dealt with missing dependency com.atlassian.jira:jira-rest-java-client-api:jar:5.2.1

            Unassigned Unassigned
            lfabriko@redhat.com Lucie Krejcirova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: