Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-platform-dev] Core Profile Dependencies: CDI Lang Model for CDI Lite?


I'm putting together a simple demo for a Build Compatible Extension.
When I call ClassConfig.into() in an @Enhancement-annotated extension method, I get the following message:

java: cannot access jakarta.enterprise.lang.model.declarations.ClassInfo
  class file for jakarta.enterprise.lang.model.declarations.ClassInfo not found

My pom file has this dependency:


If I add the following dependency, everything works fine.


Shouldn't the enterprise lang model dependency be pulled in transitively by CDI?
Or do we have to list it explicitly in the Core Profile to have it included in the JAR?
I don't think the application developer should be required to add this dependency separately.


Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation Eclipse Foundation - Community. Code. Collaboration. 

Back to the top