content-package-maven-plugin direct dependency (org.apache.sling.commons.json) vulnerable blocking the build
Hi,
while building the project I was not able to get maven to download org.apache.sling.commons.json dependency package which is being used by content-package-maven-plugin as our cyber team has blocked the access to mvn repository and all the vulnerable packages that have critical and high status. They set a proxy repository allowing us to download only the dependencies that are not flagged critical and high. so I'm stuck here not able to get commons.json direct dependency that content package plugin needs. I have checked the proxy repository and was not able to find any other version of commons.json that is allowed to downloaded may be all the versions are critical. So I'm not able to override the plugin with different commons.json version either. Is there any other way where I can exclude this direct dependency all together or use some other dependency that is not vulnerable to replace this for the plugin ??
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>1.0.6</version>
</plugin>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.commons.json</artifactId>
<version>2.0.6</version>
</dependency>