eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
114 stars 44 forks source link

Improve identification of Open Liberty projects #1960

Open mattcolegate opened 4 years ago

mattcolegate commented 4 years ago

Codewind version: OS:

Che version: IDE extension version: IDE version: Kubernetes cluster:

Description of the enhancement: Open Liberty projects currently present themselves to Codewind as Docker projects with language as Java. As we look to support the default metrics that come with Open Liberty, it would be advantageous to be able to have them uniquely identifiable in the same way that WebSphere Liberty is

Proposed solution: During project identification, Docker-Java projects could check the pom.xml for the presence of the maven-liberty-plugin, assuming there is a pom.xml.

scottkurz commented 4 years ago

Let me just note, as a maintainer of the java-openliberty stack, that in the general case you're not guaranteed to see the liberty-maven-plugin in the project pom.xml... it's possible it's only in the parent, which is baked into the stack image.