'Reading from catalog in a batch application fails, jar:authorization not found

Background

I am currently researching the HERE platform possibilities for my employer. I am under the "Premium Evaluation, Workspace plan". I am familiar with the Python SDK, which is also fully functional (so no credentials issue is expected).

I am quite new to Java and I was going through the different tutorials for the respective SDK (https://developer.here.com/documentation/java-scala-dev/dev_guide/tutorials.html) I successfully finished the first three tutorials, so that would indicate that my Maven and access credentials are setup correctly and that my OLP CLI is functioning as well.

I am also behind a proxy, but that was solved using an application.conf typesafe config file.

Problem

For the fourth tutorial, I simply downloaded the code files and imported them into my IDE, and adjusted several config files (pipeline-config.conf, pipeline-job.conf) to match the project I am the administrator of, as well as linked the project to the correct catalog (hrn:here:data::olp-here:rib-2).

The project compiles just fine, but when I try to run it with the proper command listed in the tutorial, I get the following error:

[WARNING] The POM for hrn:here:jar:authorization is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[ERROR] Plugin hrn:here:authorization or one of its dependencies could not be resolved: hrn:here:jar:authorization was not found in https://repo.platform.here.com/artifactory/open-location-platform during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of HERE_PLATFORM_REPO has elapsed or updates are forced -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin hrn:here:authorization or one of its dependencies could not be resolved: hrn:here:jar:authorization was not found in https://repo.platform.here.com/artifactory/open-location-platform during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of HERE_PLATFORM_REPO has elapsed or updates are forced

This would indicated that one of my depedencies is missing, however my POM.xml file is identical to the one in the tutorial.

Debugging steps

  1. I checked my repository credentials, they work fine for other Java projects
  2. I checked my access credentials, they have adequate permissions
  3. I added a billing tag to the application.conf typesafe config file, did not help
  4. I checked if my app has correct permissions, it does

Conclusion

I am quite at a loss what I could be doing wrong in this seemingly easy tutorial. Would anyone be able to point me to this missing jar:authorization dependency?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source