Today in io.openliberty.tools.eclipse.Project.classifyAsServerModule() we look for one of the Liberty config files in src/main/liberty/config.
To align with the other two IDEs, we could do a more maximal detection heuristic of:
look for config files in src/main/liberty/config (which we already do)
look for liberty-plugin-config.xml files.
look for liberty-maven-plugin configured in project or imported parent project (and in LTV, for example, we are careful to look in profiles & pluginManagement even) - Maven-only obviously
Today in
io.openliberty.tools.eclipse.Project.classifyAsServerModule()
we look for one of the Liberty config files in src/main/liberty/config.To align with the other two IDEs, we could do a more maximal detection heuristic of: