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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.