You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.834 s
[INFO] Finished at: 2019-10-11T21:36:58Z
[INFO] ------------------------------------------------------------------------
[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.0.0-M2: Could not find artifact com.javainuse:apache-camel-consume:jar:0.0.1-SNAPSHOT -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
{"level":"info","ts":1570829818.8779883,"logger":"camel-k.builder","msg":"step failed with error: failure while determining classpath: exit status 1","step":"github.com/apache/camel-k/pkg/builder/ComputeDependencies","phase":20,"kit":"kit-bmgfahvkqcnejl8ng910"}
{"level":"info","ts":1570829818.8780565,"logger":"camel-k.builder","msg":"build request kit-bmgfahvkqcnejl8ng910 executed in 14.831754139s"}
{"level":"info","ts":1570829818.8780706,"logger":"camel-k.builder","msg":"dependencies: [camel:bean camel:cxf camel:direct camel:file camel:http camel:mock camel:rest mvn:com.javainuse:apache-camel-consume:0.0.1-SNAPSHOT mvn:org.apache.camel.k/camel-k-loader-java mvn:org.apache.camel.k/camel-k-runtime-main]"}
{"level":"info","ts":1570829818.8781338,"logger":"camel-k.builder","msg":"artifacts: []"}
{"level":"info","ts":1570829818.8781366,"logger":"camel-k.builder","msg":"artifacts selected: []"}
{"level":"info","ts":1570829818.8781388,"logger":"camel-k.builder","msg":"requested image: "}
{"level":"info","ts":1570829818.878141,"logger":"camel-k.builder","msg":"base image: fabric8/s2i-java:3.0-java8"}
{"level":"info","ts":1570829818.8781428,"logger":"camel-k.builder","msg":"resolved image: fabric8/s2i-java:3.0-java8"}
The text was updated successfully, but these errors were encountered:
athishsreeram
changed the title
camel-k-maven-settings localrepo change is not working
camel-k-maven-settings localRepository change is not working
Oct 11, 2019
The local repository is of course local to the camel-k builder pod so if to get your local dependency taken into account by camel-k best option is to put your artifact to a public maven repo such as sonatype snapshot repo.
Upon installation, you can use the option --maven-repository to add add your own private repo to the list of known repositories. In camel-k is already installed you can amend the config-map that contains the maven settings, by default is should be named camel-k-maven-settings.
Local repo does not make sense as the build happens inside k8s
i did a mvn clean install -> jar to local repo
In camel-k-maven-settings.xml i configured the local repo
Snapshot is not getting pulled from the local repo
Code repo
https://github.com/athishsreeram/apache-camel-consume.git
The text was updated successfully, but these errors were encountered: