Cybersecurity
DevOps Cloud
IT Operations Cloud
Hello,
I am trying to use the Fortify SCA Maven Plugin in my project, but I am encountering the following error:
[ERROR] Error resolving version for plugin 'com.fortify.sca.plugins.maven:sca-maven-plugin' from the repositories [local (/home/gitlab-runner/.m2/repository),x-central (https://repo.X.COM/repository/maven-public/)]: Plugin not found in any plugin repository -> [Help 1]
Versions Used:
Maven Configuration: The following plugin definition has been added to the pom.xml
file:
<plugin>
<groupId>com.fortify.sca.plugins.maven</groupId>
<artifactId>sca-maven-plugin</artifactId>
<version>21.2.2</version>
</plugin>
Repository Configuration: The repository has been defined in the settings.xml
file as follows:
<repository>
<id>x-central</id>
<url>https://repo.x.com/repository/maven-public/</url>
</repository>
Maven cannot resolve the com.fortify.sca.plugins.maven:sca-maven-plugin:21.2.2
plugin, and it reports that the plugin is not found in the specified repositories. This is causing the build process to fail.
Please let me know if further details or tests are needed from my side.