aadish2020 commented on issue #3991: URL: https://github.com/apache/camel-k/issues/3991#issuecomment-1408285806
> I wonder if it is really using a custom maven repository at all. If you notice in my mock example: > > ``` > from/to repository-000 (http://my-repo): transfer failed for http://my-repo/org/apache/camel/k/camel-k-runtime-bom/1.16.0/camel-k-runtime-bom-1.16.0.pom, proxy: ProxyInfo{host='my-proxy', userName='null', port=80, type='http', nonProxyHosts='null'} @ line 15 > ``` > > it shows it goes against a custom repo and it really use some proxy. For the sake of testing, I've run the following installation: > > ``` > kamel install --operator-env-vars=HTTP_PROXY=http://my-proxy --maven-repository http://my-repo > ``` > > Something it would be good to check is the IntegrationPlatform, in order to confirm that the repo is correctly configured (kubectl get ip -o yaml). And also, double check the configmap that holds the maven setting configuration. Feel free to post here all those info for further review. @squakez again thanks for your input. I did some tweaking and found out, when I am using command line flag --maven-repository, then it is pointing to my private repo, then I changed the content of autogenerated configmap to update the user name and password for the repo. After that it is atleast showing correct repo in the error message, but still not able to get the dependencies. I have also checked that on my system I am able to download those dependencies from mvn using the same settings.xml file Feeling kinda stuck here ``` {"level":"error","ts":1674214037.6759627,"logger":"camel-k.maven.build","msg":"[ERROR] Some problems were encountered while processing the POMs:\n[ERROR] Non-resolvable import POM: Could not find artifact org.apache.camel.quarkus:camel-quarkus-bom:pom:2.8.0 in repository-000 (https://********.jfrog.io/artifactory/********) @ line 15, column 19\n[ERROR] Non-resolvable import POM: Could not find artifact org.apache.camel.k:camel-k-runtime-bom:pom:1.13.0 in repository-000 (https://********.jfrog.io/artifactory/********) @ line 22, column 19\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-core:jar is missing. @ line 32, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-kafka:jar is missing. @ line 36, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-kamelet:jar is missing. @ line 40, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel .k:camel-k-knative:jar is missing. @ line 44, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.k:camel-k-knative-producer:jar is missing. @ line 48, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.k:camel-k-runtime:jar is missing. @ line 52, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-platform-http:jar is missing. @ line 61, column 17\n[ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-yaml-dsl:jar is missing. @ line 65, column 17\n @ ","stacktrace":"github.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/pkg/util/command.go:58\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:57"} {"level":"error","ts":1674214037.6768496,"logger":"camel-k.maven.build","msg":"The build could not read 1 project -> [Help 1]","stacktrace":"github.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/pkg/util/command.go:58\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:57"} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
