Nor­mally when a new ver­sion of CQ/AEM is released then you always have to go through the process around what Maven depen­den­cies you have to upgrade etc.

With AEM6 this has become a lot simpler!

Now with AEM6 there is just one big Maven depen­dency that you need to add to your project, and you are good to go!

1
2
3
4
5
6
<dependency>
    <groupid>com.adobe.aem</groupid>
    <artifactid>aem-api</artifactid>
    <version>6.0.0.1</version>
    <scope>provided</scope>
</dependency>

Com­ment from @DrewGlass :

This is not spe­cific to Maven. It can be used with any build tool. In Gra­dle, it would be:

com.adobe.aem:aem-api:6.0.0.1″

Enjoy!

@heervisscher