CSRF Import Issue for AEM Maven Project
Hi,
I am trying to implement CSRF token for the form servlet, however I am getting error of "The import com.adobe.granite.csrf cannot be resolvedJava(268435846)" in the servlet.

I have added the dependency to the main pom.xml file:
<dependency>
<groupId>com.adobe.granite</groupId>
<artifactId>com.adobe.granite.csrf</artifactId>
<version>1.0.20</version>
<scope>provided</scope>
</dependency>
As well as added in the pom.xml file for core:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
com.adobe.granite.csrf*;resolution:=optional,
org.apache.sling.xss*;version="[2.0,3)",
org.apache.sling.api*,
org.osgi.service.component.annotations*,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
Upon checking on bundles the bundle for the com.adobe.granite.csrf also seems active.
