Missing Dependencies in IdentityIQ DevSecOps Toolkit Build - Need Help Resolving Maven Errors

Continuing the discussion from DevSecOps Toolkit - missing Dependencies:

Which IIQ version are you inquiring about?

8.3

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

I’m setting up a build environment using the IdentityIQ DevSecOps Toolkit (v2.0.0-alpha) following the “IdentityIQ DevSecOps Toolkit User Guide”. During the build process, running the command mvn clean package -Penv-dev results in build failures related to missing dependencies.

Here are the errors I’m encountering:

  • sailpoint:pslabs-libraries:pom:0.1 is missing and could not be found in Maven Central Repository.
  • sailpoint:pslabs-cicd:pom:0.1 is also missing.
  • Similar issues appear when attempting to build the identityiq-config-files-helper-plugin:1.0.1.

I’ve tried commenting out some dependencies, but it’s not resolving the overall problem.

Has anyone experienced this or can provide the missing artifacts or a workaround? Any help or guidance is much appreciated.

Thank you!

Hi @furqanshaikh

Ensure that your pom.xml or settings.xmlincludes the correct repository for SailPoint artifacts

Run the Maven command with the -U flag to force updates of snapshots and release.

While you mentioned commenting out some dependencies, ensure that this does not affect other critical components. It might be worth finding if there are alternative libraries or versions that can be used

Can you put specific error logs to understand more.

Hi @vinnysail,

Thanks for your reply.

Actually, I have not changed anything in the pom.xml; the project is exactly as generated from the Maven archetype. If we look at the missing jars, it seems like the references to SailPoint internal jars are still present. I noticed in the pom.xml that specific jars are referencing these pslabs artifacts.

Here are some of the dependency versions causing issues:


<junit-helper.version>1.0.0</junit-helper.version>
<maven-build-helper.version>1.0</maven-build-helper.version>

<dependency>
    <groupId>sailpoint</groupId>
    <artifactId>junit-helper</artifactId>
    <version>${junit-helper.version}</version>
</dependency>

<dependency>
    <groupId>sailpoint.pse.devsecops</groupId>
    <artifactId>maven-build-helper</artifactId>
    <version>${maven-build-helper.version}</version>
</dependency>

And here’s the error log:

[ERROR] Failed to execute goal on project iiq-web: Could not collect dependencies for project example.company:iiq-web:jar:1.0.0
[ERROR] Failed to read artifact descriptor for sailpoint:junit-helper:jar:1.0.0
[ERROR] Caused by: 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.
[ERROR] Failed to read artifact descriptor for sailpoint.pse.devsecops:maven-build-helper:jar:1.0
[ERROR] Caused by: 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.

Is there a SailPoint-specific Maven repository I need to reference other than Maven Central?

Thanks for your help!