YARG
YARG is an open source reporting library for Java, developed by Haulmont.
It is intended to be embedded into enterprise IT systems, thus it comes with no UI so that native UI of the target system can be used. Templates can be created in most common formats including MS Office (doc, docx, xls, xlsx, html, ftl, csv) or a custom text format and filled with data loaded by sql, groovy or other means.
YARG is a mature and well-tested tool, already used in a number of Haulmont's solutions as part of CUBA Platform.
How to add dependency
Yarg versions are distributed using a repository located at Haulmont server: https://repo.cuba-platform.com/content/groups/work
You can find the complete list of versions here: https://repo.cuba-platform.com/content/groups/work/com/haulmont/yarg/
Gradle:
repositories {
maven {
url "https://repo.cuba-platform.com/content/groups/work"
}
}
...
dependencies {
compile 'com.haulmont.yarg:yarg:2.2.14'
}
Maven:
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>repo-cuba-platform-work</id>
<name>repo</name>
<url>https://repo.cuba-platform.com/content/groups/work</url>
</repository>
</repositories>
...
<dependency>
<groupId>com.haulmont.yarg</groupId>
<artifactId>yarg</artifactId>
<version>2.2.14</version>
<type>pom</type>
</dependency>