org.apache.sling.security-1.1.12 dependency for SVG images

Avatar

Avatar

khamat_bn

Avatar

khamat_bn

khamat_bn

28-05-2020

Hi All,

 

I am using SVG images in my project. So I got to know that we need to upload org.apache.sling.security-1.1.12.jar in system console. Its working fine.

But its not good idea to directly uploading jar in publisher system console. So I have added de pendency to pom.xml but its not installing the same in console.

Any alternative or way to automatically adding the jar by running mvn cmd.

Here is the dependency that I have added.

<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.security</artifactId>
<version>1.1.12</version>
</dependency>

 

AEM dependency
View Entire Topic

Avatar

Avatar

raghavc

Avatar

raghavc

raghavc

28-05-2020

Inorder to include a bundle in your code package , you need to add it in content-package-maven-plugin definition of your pom.xml.

 

 <embeddeds>
      <embedded>
            <artifactId>org.apache.sling.security</artifactId>
      </embedded>
 <embeddeds>

 

 

dependency definition should still be present .

 

https://helpx.adobe.com/uk/experience-manager/6-3/sites/developing/using/vlt-mavenplugin.html#Embedd...