Normally when a new version of CQ/AEM is released then you always have to go through the process around what Maven dependencies you have to upgrade etc.
With AEM6 this has become a lot simpler!
Comment from @DrewGlass :
“This is not specific to Maven. It can be used with any build tool. In Gradle, it would be: