Maven plugin to export jasper files to PDF, HTML or XML using MySQL as data source.
Include the plugin into your pom file
com.abiquo.jasper jasper-export-maven-plugin jasper-export <dependencies>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>${jasperreports.version}</version>
</dependency>
</dependencies>
There are required properties:
- jasperDirectory: Directory where jasper files are located
- jrxmlDirectory: Directory where the source of jasper files are located
- outputDirectory: Where the reports will be generated
- mysqlHost: The MySQL host
- mysqlDatabase: The MySQL database
- mysqlUser: The MySQL user
- mysqlPassword: The MySQL password
Non required properties:
- exportFormat: valid values are PDF, HTML and XML. The default value is PDF.