AEM Forms Core Components - AF Core Bundlecom.adobe.aem.core-forms-components-af-core
status is in installed state.
seeing this issue from last week only , before that it was working fine
archtype details
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @NagendraBa3 ,
In case you are using AEM SDK for AEM v2025.4.20476.20250414T214138Z-250300, then can you just remove the embed of following from all/pom.xml:
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-apps</artifactId>
<type>zip</type>
<target>/apps/${appId}-vendor-packages/application/install</target>
</embedded>
and
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-core</artifactId>
<target>/apps/${appId}-vendor-packages/application/install</target>
</embedded>
Basically, now these are part of product, you are embedding versions:
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,com.adobe.cq.forms.core.components.models.form;version="[5.0.0,6.0.0)",*
]]></bnd>
</configuration>
</execution>
</executions>
</plugin>
Also make sure older bundles of core components are uninstalled and trashed.
Views
Replies
Total Likes
Hello @NagendraBa3
Could you please confirm your SDK release version?
Starting April release, we are shipping the core components included in the AEM forms-addon far file.
You might want to remove the core components installed in /apps/core/fd to avoid any duplicity.
Please test this and let us know if you face any further issues.
Thanks,
Rahul Pandey
Views
Replies
Total Likes
Hello @NagendraBa3 ,
In case you are using AEM SDK for AEM v2025.4.20476.20250414T214138Z-250300, then can you just remove the embed of following from all/pom.xml:
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-apps</artifactId>
<type>zip</type>
<target>/apps/${appId}-vendor-packages/application/install</target>
</embedded>
and
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-core</artifactId>
<target>/apps/${appId}-vendor-packages/application/install</target>
</embedded>
Basically, now these are part of product, you are embedding versions:
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,com.adobe.cq.forms.core.components.models.form;version="[5.0.0,6.0.0)",*
]]></bnd>
</configuration>
</execution>
</executions>
</plugin>
Also make sure older bundles of core components are uninstalled and trashed.
Views
Replies
Total Likes
Views
Replies
Total Likes
Yes you will either need to update core pom.xml with the range, (the bolded part is the addition) or if its not being consumed in customization, then you can go ahead and remove the dependencies of artifacts core-forms-components-core and core-forms-components-af-core:
<Updated the original response>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,com.adobe.cq.forms.core.components.models.form;version="[5.0.0,6.0.0)",*
]]></bnd>
</configuration>
</execution>
</executions>
</plugin>
Views
Replies
Total Likes
Thanks for the reply we are checking on this.
Views
Replies
Total Likes
Hi Sakshi ,
removed given embeds from all/pom.xml
added below code in core pom.xml, but still some getting error. Attached screenshot
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,com.adobe.cq.forms.core.components.models.form;version="[5.0.0,6.0.0)",*
-includeresource: ${settings.localRepository}/com/auth0/java-jwt/4.4.0/java-jwt-4.4.0.jar;lib:=true, ${settings.localRepository}/com/auth0/jwks-rsa/0.22.0/jwks-rsa-0.22.0.jar;lib:=true
-fixupmessages "Classes found in the wrong directory"; restrict:=error; is:=warning
]]></bnd>
</configuration>
</execution>
</executions>
</plugin>
currently my all/pom.xml
<!-- forms core components dependencies -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-apps</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-core</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-apps</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-core</artifactId>
</dependency>
my core pom.xml
<!-- AEM Forms Dependencies -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-forms-sdk-api</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-core</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-core</artifactId>
</dependency>
in apps pom.xml
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<configuration>
<allowIndexDefinitions>true</allowIndexDefinitions>
<properties>
<cloudManagerTarget>none</cloudManagerTarget>
<noIntermediateSaves>true</noIntermediateSaves>
</properties>
<group>com.bot</group>
<name>bot.ui.apps</name>
<packageType>application</packageType>
<repositoryStructurePackages>
<repositoryStructurePackage>
<groupId>com.bot</groupId>
<artifactId>bot.ui.apps.structure</artifactId>
</repositoryStructurePackage>
</repositoryStructurePackages>
<dependencies>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>core-forms-components-af-apps</artifactId>
<version>${core.forms.components.af.version}</version>
</dependency>
</dependencies>
</configuration>
</plugin>
we definitely need
Views
Replies
Total Likes
Hi @NagendraBa3 , make sure the older bundles are uninstalled and trashed.
Views
Replies
Total Likes
used new author instance 2025.4.20476.20250414T214138Z-250300
and build whole project, bundle is still having same error
Views
Replies
Total Likes
@SwathiSa6 / @NagendraBa3
Is this some other bundle at your end other than core?
if so you will need to add the same import
com.adobe.cq.forms.core.components.models.form;version="[5.0.0,6.0.0)"
in the that bundle which is not getting active.
Also you have updated the versions in the main pom as well, right?
Views
Replies
Total Likes
above screen shot is our main project bundle
below core bundle is no longer installed after removing given embeds in our project
AEM Forms Core Components - AF Core Bundlecom.adobe.aem.core-forms-components-af-core
Views
Replies
Total Likes
Is the issue resolved now?
Views
Replies
Total Likes
Not Yet
getting these errors
Views
Replies
Total Likes
Did you modify the import-package for this bundle? What is current import-package of bundle? Since this bundle is dependent on <artifactId>core-forms-components-af-core</artifactId>, for
com.adobe.cq.forms.core.components.models.form
You will need to get the version updated to 3.0.104, as that dictates the dependency of bundle.
Views
Replies
Total Likes
still getting the same error
Views
Replies
Total Likes
@SwathiSa6 If we have changed the import-package in configuration for bnd-maven-plugin, how come this bundle is still importing older version? Can you clean the target in the project manually and re-build the bundle, because it should have updated the imports.
Views
Replies
Total Likes
Views
Replies
Total Likes
And can you check that if only one version, that is, 3.0.104 version is there for both these bundles:
AEM Forms Core Components - AF Core Bundle com.adobe.aem.core-forms-components-af-core
AEM Forms Core Components - Core Bundle com.adobe.aem.core-forms-components-core
and these bundles are also active
Views
Replies
Total Likes
yes, we have only one version that is 3.0.104 installed.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies