Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4703

unable to build midpoint rest client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.2, 3.8
    • Component/s: Infra
    • Labels:
      None
    • Subscription:
      Active subscription

      Description

      With Jake Morris leaving Dennis Antrobus and I are trying to set up the midPoint rest client on our workstations. We tried to retrieve it from gitHub and build but we are getting an error. It looks like the dependencies are not configured correctly.

      We performed the following steps...

      1. git clone https://github.com/Evolveum/midpoint-client-java.git
      2. mvn install

      ... but got the following error message:
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO]
      [INFO] parent
      [INFO] midpoint-client-api
      [INFO] midpoint-client-impl-rest-jaxb
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building parent 3.7.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-install-plugin:2.4:install (default-install) @ parent —
      [INFO] Installing C:\ITS\projects\identity\midpoint-client-java\pom.xml to C:\Users\adavenp4\.m2\repository\com\evolveum\midpoint\client\parent\3.7.1-SNAPSHOT\parent-3.7.1-SNAPSHOT.pom
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building midpoint-client-api 3.7.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [WARNING] The POM for com.evolveum.midpoint.infra:schema-pure-jaxb:jar:3.7.1-SNAPSHOT is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] parent ............................................. SUCCESS [ 0.529 s]
      [INFO] midpoint-client-api ................................ FAILURE [ 0.110 s]
      [INFO] midpoint-client-impl-rest-jaxb ..................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.729 s
      [INFO] Finished at: 2018-06-04T15:28:47-04:00
      [INFO] Final Memory: 16M/491M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project midpoint-client-api: Could not resolve dependencies for project com.evolveum.midpoint.client:midpoint-client-api:jar:3.7.1-SNAPSHOT: Could not find artifact com.evolveum.midpoint.infra:schema-pure-jaxb:jar:3.7.1-SNAPSHOT -> [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 <goals> -rf :midpoint-client-api

        Attachments

          Activity

            People

            Assignee:
            adavenp4 Adam Davenport
            Reporter:
            adavenp4 Adam Davenport
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: