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>
Inorder to include a bundle in your code package , you need to add it in content-package-maven-plugin definition of your pom.xml.
dependency definition should still be present .