To Setup dxa-2.2 java with spring boot
we can refer pom.xml
things to be taken care when update dxa version
<dxaversion>2.2.11</dxaversion>
<dxa-tridion-provider.version>2.2.11.1</dxa-tridion-provider.version> [this can be replaced with later dxaversion]
also we need to update discovery service url based on cd_client_conf.xml
This setup supports graphql client provider -- Recommended provider
in case looking for model-service client on webapp please enable model-service from dxa.properties file, please refer DXA documentation for more -> https://docs.sdl.com/792164/534555/sdl-digital-experience-accelerator-2-0/enabling-the-dd4t-model-service-provider--java-
Reference code is available at
https://github.com/neeteshnarvaria/dxa-java-2.2-maven-spring-boot