Expand my Community achievements bar.

SOLVED

Error while analyzing project (the last step)

Avatar

Level 1

Hi, I have AEM 6.5 and got this error while using maven to build project.
Here are logs from console:
--- aemanalyser:0.9.2:analyse (default-analyse) @ wetrain.analyse ---
[INFO] Starting analyzing feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~wetrain.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Analyser detected errors on feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT'. See log output for error messages.

Thank you for any suggestion!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @LongDT ,

It seems you are getting this log error due to incompatible version of AEM analyzer. Adjust the property in the root Maven pom.xml for  AEM Analyser to latest version.
Try to use below version:-

<aemanalyser.version>1.3.0</aemanalyser.version>

 
Thanks
Tarun

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @LongDT ,

It seems you are getting this log error due to incompatible version of AEM analyzer. Adjust the property in the root Maven pom.xml for  AEM Analyser to latest version.
Try to use below version:-

<aemanalyser.version>1.3.0</aemanalyser.version>

 
Thanks
Tarun