WARNING org.sonatype.plexus.build.incremental.DefaultBuildContext - /builds/site/core/pom.xml [0:0]: Invalid component nam | Community
Skip to main content
sreenu539
Level 7
August 14, 2023
Solved

WARNING org.sonatype.plexus.build.incremental.DefaultBuildContext - /builds/site/core/pom.xml [0:0]: Invalid component nam

  • August 14, 2023
  • 1 reply
  • 720 views

i am seeing below warnings while building aem app. 

Any suggestions?

[main] WARNING org.sonatype.plexus.build.incremental.DefaultBuildContext - /builds/site/core/pom.xml [0:0]: Invalid component name: Reform Cache Service [main] WARNING org.sonatype.plexus.build.incremental.DefaultBuildContext - /builds/site/core/pom.xml [0:0]: Export com.site.core.models, has 1, private references [com.site.core.pojos]

 

Thanks,

Sri

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Harwinder-singh

@sreenu539  This is the due to the fact that you have an OSGI component with name attribute inside @8220494() annotation with value "Reform Cache Service"

You can get rid of this name attribute from the @8220494() annotation as the default value of the name attribute is the fully qualified type name of the class being annotated.

 

Let me know if this helps.

1 reply

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
August 15, 2023

@sreenu539  This is the due to the fact that you have an OSGI component with name attribute inside @8220494() annotation with value "Reform Cache Service"

You can get rid of this name attribute from the @8220494() annotation as the default value of the name attribute is the fully qualified type name of the class being annotated.

 

Let me know if this helps.