DevSecOps Toolkit - missing Dependencies

Which IIQ version are you inquiring about?

Version 8.4

Share all details related to your problem, including any error messages you may have received.

Hello ,

I am referring to “IdentityIQ DevSecOps Toolkit User Guide.pdf” and using files from “identityiq-devsecops-toolkit-v2.0.0-alpha.zip” to setup build environment.
when am running the “mvn clean package -Penv-dev” , the following errors are occured and causing the build failure.

[INFO] iiq-web ............................................ FAILURE [ 15.225 s]
[INFO] iiq-xml-config ..................................... SKIPPED
[INFO] iiq-plugins ........................................ SKIPPED
[INFO] iiq-distribution ................................... SKIPPED
[INFO] iiq-test ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.000 s
[INFO] Finished at: 2024-06-04T16:52:39+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project iiq-web: Could not resolve dependencies for project iiq-web:jar:1.0.0: Failed to collect dependencies at sailpoint:junit-helper:jar:1.0.0: Failed to read artifact descriptor for sailpoint:junit-helper:jar:1.0.0: **The following artifacts could not be resolved: sailpoint:pslabs-libraries:pom:0.1 (absent): sailpoint:pslabs-libraries:pom:0.1 was not found** in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not 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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :iiq-web


[INFO] iiq-web ............................................ SUCCESS [01:18 min]
[INFO] iiq-xml-config ..................................... FAILURE [  1.814 s]
[INFO] iiq-plugins ........................................ SKIPPED
[INFO] iiq-distribution ................................... SKIPPED
[INFO] iiq-test ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:20 min
[INFO] Finished at: 2024-06-04T17:08:40+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin sailpoint:identityiq-config-files-helper-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for sailpoint:identityiq-config-files-helper-plugin:jar:1.0.1: **The following artifacts could not be resolved: sailpoint:pslabs-cicd:pom:0.1 (absent): sailpoint:pslabs-cicd:pom:0.1 was not found** in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not 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


**To complete the IIQ-WEB  execution, I commented out the missing library in sailpoint:pslabs-libraries:pom:0.1., but same is not working for identityiq-config-files-helper-plugin:1.0.1** 

[ERROR] Plugin sailpoint:identityiq-config-files-helper-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for sailpoint:identityiq-config-files-helper-plugin:jar:1.0.1: 3 problems were encountered while building the effective model for [unknown-group-id]:identityiq-config-files-helper-plugin:1.0.1
[ERROR] [FATAL] 'parent.groupId' is missing. @
[ERROR] [FATAL] 'parent.artifactId' is missing. @
[ERROR] [FATAL] 'parent.version' is missing. @
[ERROR] -> [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

can someone share the missing artifacts

sailpoint:pslabs-cicd:pom:0.1
sailpoint:pslabs-libraries:pom:0.1

Regards
Madhu

1 Like

Did you install the dependencies? If not, you need to run 2scripts provided installJarsLocally.sh and installBuildHelpers.sh, which will install the dependencies in your local maven repository.

I executed both scripts,still the issue remains same.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.