You need to configure your project (or the whole workspace) to use the UML2Adapter.
Right-click on the project and choose ' properties ' from the pop-up menu. Therein open the ' Xtend/Xpand ' tab, activate the checkboxes Enable project specific settings and add the UML2 profiles metamodel contributor. Use the Up -button to push the UML2 profiles contributor to the first position.