odo command to describe component now returns array of components with registry information and that require remove workaround implementation from Components View.
odo catalog describe component java-maven -o=json
[
{
"RegistryName": "DefaultDevfileRegistry",
"Devfile": {
"schemaVersion": "2.0.0",
"metadata": {
"name": "java-maven",
"version": "1.1.0"
},
"components": [
{
"name": "tools",
"container": {
"image": "quay.io/eclipse/che-java11-maven:nightly",
"volumeMounts": [
{
"name": "m2",
"path": "/home/user/.m2"
}
],
"memoryLimit": "512Mi",
"mountSources": true,
"endpoints": [
{
"name": "http-8080",
"targetPort": 8080
}
]
}
},
{
"name": "m2",
"volume": {}
}
],
"starterProjects": [
{
"name": "springbootproject",
"git": {
"remotes": {
"origin": "https://github.com/odo-devfiles/springboot-ex.git"
}
}
}
],
"commands": [
{
"id": "mvn-package",
"exec": {
"group": {
"kind": "build",
"isDefault": true
},
"commandLine": "mvn -Dmaven.repo.local=/home/user/.m2/repository package",
"component": "tools"
}
},
{
"id": "run",
"exec": {
"group": {
"kind": "run",
"isDefault": true
},
"commandLine": "java -jar target/*.jar",
"component": "tools"
}
},
{
"id": "debug",
"exec": {
"group": {
"kind": "debug",
"isDefault": true
},
"commandLine": "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=${DEBUG_PORT},suspend=n -jar target/*.jar",
"component": "tools"
}
}
]
}
}
]```
odo command to describe component now returns array of components with registry information and that require remove workaround implementation from Components View.