diff --git a/deployment/pom.xml b/deployment/pom.xml index 5be0aab..7372d1d 100644 --- a/deployment/pom.xml +++ b/deployment/pom.xml @@ -32,6 +32,7 @@ io.quarkiverse.jasperreports quarkus-jasperreports + ${project.version} io.quarkus diff --git a/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java b/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java index 24b3bd0..fa13bb4 100644 --- a/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java +++ b/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java @@ -111,18 +111,20 @@ void registerForReflection(BuildProducer reflectiveCla //@formatter:off final List classNames = new ArrayList<>(); // By Implementors: jasper interfaces/abstract classes that are created with Class.forName - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.design.JRCompiler.class.getName())); - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.extensions.ExtensionsRegistry.class.getName())); - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.extensions.ExtensionsRegistryFactory.class.getName())); classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.JRDataSource.class.getName())); classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.JRDataSourceProvider.class.getName())); - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.JRVisitor.class.getName())); - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.xml.ReportLoader.class.getName())); classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.JRTemplate.class.getName())); - classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.query.QueryExecuterFactory.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.JRVisitor.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.design.JRCompiler.class.getName())); classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.query.JRQueryExecuter.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.query.QueryExecuterFactory.class.getName())); classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.util.xml.JRXPathExecuterFactory.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.engine.xml.ReportLoader.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.extensions.ExtensionsRegistry.class.getName())); + classNames.addAll(collectImplementors(combinedIndex, net.sf.jasperreports.extensions.ExtensionsRegistryFactory.class.getName())); classNames.addAll(collectSubclasses(combinedIndex, net.sf.jasperreports.engine.JRAbstractExporter.class.getName())); + classNames.addAll(collectSubclasses(combinedIndex, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.class.getName())); + classNames.addAll(collectSubclasses(combinedIndex, net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory.class.getName())); // By Package (utilities etc) classNames.addAll(collectClassesInPackage(combinedIndex, net.sf.jasperreports.compilers.ReportExpressionEvaluationData.class.getPackageName())); diff --git a/integration-tests/src/main/jasperreports/JsonCustomersReport.jrxml b/integration-tests/src/main/jasperreports/JsonCustomersReport.jrxml new file mode 100644 index 0000000..18bc18b --- /dev/null +++ b/integration-tests/src/main/jasperreports/JsonCustomersReport.jrxml @@ -0,0 +1,65 @@ + + +