Run mvn clean io.openliberty.tools:liberty-maven-plugin:3.3.5-M3-SNAPSHOT:dev
Dev mode should give an error at this point because the war module has Java code that depends on the deleted class in the jar module. However, dev mode has no error because the compilation dependency was found in ~/.m2. But when you go to http://localhost:9080/converter/ and enter a value and click Submit, it gets a NoClassDefFoundError at runtime:
mvn install
to install the project to ~/.m2jar/src/main/java/io/openliberty/guides/multimodules/lib/Converter.java
mvn clean io.openliberty.tools:liberty-maven-plugin:3.3.5-M3-SNAPSHOT:dev
Consider using something like https://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html to remove each module from ~/.m2 before running its build lifecycle in dev mode, so that if a downstream module depends on it, it should fail. But do not purge ear projects (so that https://github.com/OpenLiberty/ci.maven/issues/1176 will still work.)