-
Bug
-
Resolution: Fixed
-
P4
-
None
-
8.2.0, 8.2.1
JMC build pom.xml file has the spot bugs v4.5.2.0 configured but the spot bugs execution fails with the following exception possibility due a version number issue [ This works fine if the version number is replaced to 4.2.2]
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:01 min [INFO] Finished at: 2022-06-02T15:30:36+05:30 [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "snapshot" could not be activated because it does not exist. [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:4.5.2.0:spotbugs (spotbugs) on project missioncontrol: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:4.5.2.0:spotbugs failed: Plugin com.github.spotbugs:spotbugs-maven-plugin:4.5.2.0 or one of its dependencies could not be resolved: Failure to find com.github.spotbugs:spotbugs:jar:4.5.2.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException