Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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>