Openhab-core build failed to collect dependencies at org.eclipse.emf:org.eclipse.emf.mwe2.launch


I tried to build the current main branch of openhab-core and got the following error:

Failed to execute goal on project Could not resolve dependencies for project Failed to collect dependencies at org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.12.2 -> org.eclipse.emf:org.eclipse.emf.mwe2.language:jar:[2.12.2]

Does anyone know how to solve this?


Nevermind, I could solve the issue by deleting the Maven Repository Cache (~/.m2/repository).