Hi Luca, And many thanks for guidance :) I think camel-k was indeed already installed. From there, I've then tried:
make images-dev oc login -u system:****** ./kamel reset oc delete all,pvc,configmap,rolebindings,clusterrolebindings,secrets,sa,roles,clusterroles,crd -l 'app=camel-k' ./kamel install --cluster-setup --runtime-version 0.3.1 --repository https://repository.apache.org/content/repositories/orgapachecamel-1123/ -w oc login -u developer ./kamel install --runtime-version 0.3.1 --repository https://repository.apache.org/content/repositories/orgapachecamel-1123/ -w ./kamel run examples/simple.groovy --dev But then, "kamel run" hangs forever in the 'Waiting for platform phase'. The operator reports "Failure to find org.apache.camel.k:camel-k-maven-plugin:jar:0.3.1 in https://repo.maven.apache.org/maven2". It's like the staging repository is ignored. More complete logs below: {"level":"info","ts":1551977988.2832928,"logger":"camel-k.maven","msg":"write project: {XMLName:{Space: Local:project} XMLNs: http://maven.apache.org/POM/4.0.0 XMLNsXsi: http://www.w3.org/2001/XMLSchema-instance XsiSchemaLocation: http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd ModelVersion:4.0.0 GroupID:org.apache.camel.k.integration ArtifactID:camel-k-integration Version:0.3.1-SNAPSHOT Properties:map[] DependencyManagement:{Dependencies:[{GroupID:org.apache.camel ArtifactID:camel-bom Version:2.23.1 Type:pom Classifier: Scope:import Exclusions:<nil>}]} Dependencies:[{GroupID:org.apache.camel.k ArtifactID:camel-k-runtime-spring-boot Version:0.3.1 Type: Classifier: Scope: Exclusions:0xc000594140}] Repositories:[{*ID:repo-000 Name: URL:https://repository.apache.org/content/repositories/orgapachecamel-1123/ <https://repository.apache.org/content/repositories/orgapachecamel-1123/>* Snapshots:{Enabled:false UpdatePolicy:} Releases:{Enabled:true UpdatePolicy:}}] PluginRepositories:[] Build:{DefaultGoal: Plugins:[]}}"} {"level":"info","ts":1551977988.2835553,"logger":"camel-k.maven","msg":"execute: mvn -Dmaven.repo.local=/tmp/artifacts/m2 org.apache.camel.k:camel-k-maven-plugin:0.3.1:generate-dependency-list"} [INFO] Scanning for projects... [WARNING] The POM for org.apache.camel.k:camel-k-maven-plugin:jar:0.3.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.273 s [INFO] Finished at: 2019-03-07T16:59:50Z [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.camel.k:camel-k-maven-plugin:0.3.1 or one of its dependencies could not be resolved: Failure to find *org.apache.camel.k:camel-k-maven-plugin:jar:0.3.1 in https://repo.maven.apache.org/maven2 <https://repo.maven.apache.org/maven2>* was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/PluginResolutionException {"level":"info","ts":1551977990.107809,"logger":"camel-k.builder","msg":"step failed with error: failure while determining classpath: exit status 1","step":"build/compute-dependencies","phase":20,"context":"spring-boot"} Alex On Thu, Mar 7, 2019 at 9:03 AM Luca Burgazzoli <[email protected]> wrote: > Hi Alex, > > was camel-k already installed ? > > --- > Luca Burgazzoli > > On Wed, Mar 6, 2019 at 10:15 PM Alex Dettinger <[email protected]> > wrote: > > > > Hi Cameleers, > > > > I would like to use the 0.3.1 camel-k runtime under vote to play a bit. > > From my local build, I've tried: > > > > kamel install --runtime-version 0.3.1 --repository > > https://repository.apache.org/content/repositories/orgapachecamel-1123/ > > kamel run examples/simple.groovy --dev > > > > But from the example startup logs, it looks that 0.3.0 version is still > > used: > > > > [1] Monitoring pod simple-7d5c44559d-gx4k6[1] Starting the Java > application > > using /opt/run-java/run-java.sh ... > > [1] exec java -XX:+UseParallelGC -XX:GCTimeRatio=4 > > -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 > > -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp > > > /etc/camel/resources:./resources:dependencies/org.apache.camel.k.camel-k-runtime-jvm-0.3.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core- > > > *0.3.0*.jar:dependencies/org.apache.logging.log4j.log4j-core-2.11.1.jar:dependencies/org.apache.logging.log4j.log4j-api-2.11.1.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.11.1.jar:dependencies/org.jooq.joor-java-8-0.9.10.jar:dependencies/commons-io.commons-io-2.6.jar:dependencies/org.apache.commons.commons-lang3-3.8.1.jar:dependencies/org.apache.camel.k.camel-k-runtime-groovy-0.3.0.jar:dependencies/org.apache.camel.camel-core-2.23.1.jar:dependencies/org.slf4j.slf4j-api-1.7.25.jar:dependencies/com.sun.xml.bind.jaxb-core-2.3.0.jar:dependencies/com.sun.xml.bind.jaxb-impl-2.3.0.jar:dependencies/org.apache.camel.k.camel-k-adapter-camel-2-0.3.0.jar:dependencies/org.apache.camel.camel-groovy-2.23.1.jar:dependencies/org.codehaus.groovy.groovy-2.5.4.jar > > org.apache.camel.k.jvm.Application > > > > Is my expectation to find 0.3.1 in startup logs right ? How to test the > > runtime under vote then ? > > > > Alex >
