Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

AEM6 Health Reports and Maintenance

Avatar

Level 2

Hi, 

I am trying to create a custom maintenance activity in AEM6.

I need to do an import of com.adobe.granite.maintenance.MaintenanceConstants. And Dependency required for this is given below.

 <dependency>
                <groupId>com.adobe.granite</groupId>
                <artifactId>com.adobe.granite.maintenance.core</artifactId>
                <version>1.1.18</version>
                <scope>provided</scope>
</dependency> 

But this jar file is not available in repo.adobe or maven repositories.

Please help.

1 Accepted Solution

Avatar

Correct answer by
Employee

You just need 

  <dependency>
                <groupId>com.adobe.aem</groupId>
                <artifactId>aem-api</artifactId>
                <version>6.0.0.1</version>
                <scope>provided</scope>
            </dependency>

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

You just need 

  <dependency>
                <groupId>com.adobe.aem</groupId>
                <artifactId>aem-api</artifactId>
                <version>6.0.0.1</version>
                <scope>provided</scope>
            </dependency>