Adding the nightly build libraries

If you'd run the build of the project now, the Apache Maven client would try to download all the Pentaho dependencies in their newest version, requested from the pom.xml file (in our example, 8.1-SNAPSHOT). Considering that the newest version would not be published yet in the Pentaho's Sonatype Nexus Repository, an error would occur and your build would fail.

To solve this issue, there is a workaround, which is adding the Pentaho newest dependencies into your local Apache Maven repository. In brief, when Apache Maven looks for a dependency, it first looks into the local repository (in the .m2/repository folder), and if not found there, it tries to download it from the remote repository. By adding the newest ...

Get Pentaho 8 Reporting for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.