aem-sdk-api missing com.day.cq.wcm.api.constants.NameConstants (replacement for com.day.cq.wcm.api.NameConstants) | Community
Skip to main content
New Participant
Nov 17, 2022 3:08 PM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
krati_garg
krati_gargAccepted solution
Employee
Nov 17, 2022 4:50 PM UTC

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 replies

New Participant
May 26, 2023 6:02 AM UTC

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

 

Translate
krati_garg
krati_gargAccepted solution
Employee
Nov 17, 2022 4:50 PM UTC

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  

Translate
user13506Author
New Participant
Nov 18, 2022 8:58 AM UTC

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!

Translate