We have an old Bitbucket plugin that we are trying to migrate to work with the newer version of Bitbucket Data Center 9.4.x.
As a 1st step I downloaded the latest version of Plugin SDK https://maven.artifacts.atlassian.com/com/atlassian/amps/atlassian-plugin-sdk/9.1.1/atlassian-plugin-sdk-9.1.1.tar.gz and created a blank bitbucket plugin with `atlas-create-bitbucket-plugin`.
However, when I try `mvn clean package` on it I am getting:
[ERROR] Failed to execute goal com.atlassian.maven.plugins:bitbucket-maven-plugin:9.1.1:copy-bundled-dependencies (default-copy-bundled-dependencies) on project test-bb-plugin: Unable to execute mojo: Execution null of goal org.apache.maven.plugins:maven-dependency-plugin:3.6.1:unpack-dependencies failed: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.6.1 or one of its dependencies could not be resolved:
[ERROR] Failed to read artifact descriptor for log4j:log4j:jar:1.2.12
log4j 1.x is very old and is known to have security vulnerabilities and as such is removed from our corporate Nexus repository. Is there a way to exclude it or switch to alternative logging approach (current log4j 2.x / logback / slf4j)