Skip to main content
November 17, 2022
Respondido

aem-sdk-api missing com.day.cq.wcm.api.constants.NameConstants (replacement for com.day.cq.wcm.api.NameConstants)

  • November 17, 2022
  • 4 respostas
  • 2670 Visualizações

Hello everyone,

is the current aem-sdk-api package (version 2022.10.9398.20221020T071514Z-220900) missing the package com.day.cq.wcm.api.constants and therein the interface NameConstants?

The predecessor com.day.cq.wcm.api.NameConstants is now deprecated and states that it is replaced by com.day.cq.wcm.api.constants.NameConstants, but that interface is nowhere to be found in the SDK.

Any hints would be greatly appreciated.

Thanks,

Jan

Este tópico foi fechado para respostas.
Melhor resposta por krati_garg

I believe its just a warning and would not fail your build, if you use 

com.day.cq.wcm.api.NameConstants

However, this issue might get fixed in the next set of releases for AEM SDK.

 

@user13506  

4 Respostas

krati_garg
Adobe Employee
krati_gargAdobe EmployeeResposta
Adobe Employee
November 17, 2022

I believe its just a warning and would not fail your build, if you use 

com.day.cq.wcm.api.NameConstants

However, this issue might get fixed in the next set of releases for AEM SDK.

 

@user13506  

November 18, 2022

Agreed, it's only a warning (and a code smell) right now, but no way for us to get around this unless the SDK is updated.

Thanks for the clarification!

New Member
May 26, 2023

This issue is fixed in SDK version 2023.4.11835.20230414T234523Z. NameConstant is available in com.day.cq.wcm.api.constants package.