Background
I have installed the OPP agent on a VM and it is operational, I would like the agent to interface with a Active Roles SCIM client interface but as there is no Active Roles SCIM server component I am creating SCIM server by following the below Okta article
Create SCIM connectors for on-premises provisioning | Okta Identity Engine
Under the section “Build the example-server” and point 3 “Build the connector” I enter “mvn package” and get the below error, I have also navigated to the directory where the “pom” file is located “C:\Users\XXXXXXX.m2\repository\com\okta\scim\sdk\scim-server-sdk\02.01.00” and also get the same error even though the “pom” file is present.
Is anyone able to point me in the right direction please?
Any help is appreciated.
thanks
C:\Users\XXXXXXXX.m2\repository\com\okta\scim\sdk\scim-server-sdk>mvn package
[INFO] Scanning for projects…
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.094 s
[INFO] Finished at: 2025-03-20T16:45:13Z
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\XXXXXXXX.m2\repository\com\okta\scim\sdk\scim-server-sdk). Please verify you invoked Maven from the correct directory. → [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] MissingProjectException - Apache Maven - Apache Software Foundation
looking at the pom.xml file below it references SNAPSHOT, is this a development build and the resources not accessible? (FYI, this is the latest download)
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
com.okta.scim.sdk
02.01.00-SNAPSHOT
scim-server-example
war
<scim-server-sdk.version>[02.01.00-SNAPSHOT,03.0)</scim-server-sdk.version>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-surefire-plugin.version>2.13</maven-surefire-plugin.version>
<maven-enforcer-plugin.version>1.1.1</maven-enforcer-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<org.springframework.version>5.2.22.RELEASE</org.springframework.version>
<maven-war-plugin.version>2.2</maven-war-plugin.version>
<tomcat7-maven-plugin.version>2.1</tomcat7-maven-plugin.version>
<ch.qos.logback.version>1.4.14</ch.qos.logback.version>
<org.slf4j-api.version>1.7.21</org.slf4j-api.version>
<unboundid-scim-sdk.version>1.8.24</unboundid-scim-sdk.version>
<com.fasterxml.jackson.core.version>2.14.2</com.fasterxml.jackson.core.version>
<commons-io.commons-io.version>2.10.0</commons-io.commons-io.version>
when i run mvn package -X i can see the below errors:
Caused by: org.apache.maven.project.DependencyResolutionException: Could not collect dependencies for project com.okta.scim.sdk:scim-server-example:war:02.01.00-SNAPSHOT
Failed to read artifact descriptor for com.okta.scim.sdk:scim-server-sdk:jar:02.01.00
Caused by: The following artifacts could not be resolved: com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT (absent): Could not find artifact com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT
Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at com.okta.scim.sdk:scim-server-sdk:jar:02.01.00
Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.okta.scim.sdk:scim-server-sdk:jar:02.01.00
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: The following artifacts could not be resolved: com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT (absent): Could not find artifact com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT (absent): Could not find artifact com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.okta.scim.sdk:scim-sdk:pom:02.01.00-SNAPSHOT