Wikis - Page

Issue Resolving Fortify SCA Maven Plugin Dependency

0 Likes

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]

Details:

  1. Versions Used:

    • Java Version: OpenJDK 17
    • Maven Version: 3.6.3
    • Fortify SCA Version: 21.2.2
    • sca-maven-plugin Version: 21.2.2
  2. 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>
  3. 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>

Issue:

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.

Questions:

  1. Is there an official Maven repository for the Fortify SCA Maven Plugin? If so, what is the correct repository URL?
  2. Are there any documents or instructions on how to manually install and configure this plugin?
  3. Does the Fortify SCA Maven Plugin require any specific configurations or additional steps to resolve dependencies?

Please let me know if further details or tests are needed from my side.

Comment List
Related
Recommended