Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Unable to access com.adobe.granite.logging api in AEM maven project (in eclipse ) Missing artifact com.adobe.granite:com.adobe.granite.logging:jar:1.0.18

Avatar

Level 2

Hi Team,

I have to use com.adobe.granite.logging api to read log errors from aem logs.file.

I have added the dependency as follow  but this API is not accessible in java classes.I have to use LogAnalyzer class from this api 

giving Error at pom.xml  :  Missing artifact com.adobe.granite:com.adobe.granite.logging:jar:1.0.18

can you please guide me if I missing something.

<dependency>

<groupId>com.adobe.granite</groupId>

<artifactId>com.adobe.granite.logging</artifactId>

<version>1.0.18</version>

<scope>provided</scope>

</dependency>

Thanks in advance

3 Replies

Avatar

Employee

Normally you use the uberjar in your project, this contains all the dependencies.

Avatar

Level 10

Follow this article to build your project and notice that the UBER JAR is there. Logging dependencies are included.  

https://helpx.adobe.com/experience-manager/using/first-arch10.html

Hope this helps.