Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSGi] add @Export and use bnd-maven-plugin #451

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@
* <a href="http://community.jaspersoft.com/wiki/jasperreports-library-tutorial">JasperReports Tutorial</a>

*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.compilers;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.headertoolbar;
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
/**
* Contains classes for the built-in Icon Label component.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.iconlabel;
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
/**
* Contains classes and interfaces for filling the item based components.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.items.fill;
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
/**
* Contains classes and interfaces for the item based components.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.items;
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@
* not start rendering unless the space remaining on the page is at least the height of the
* element.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.list;
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@
* generated by the XChart library (<a href="http://knowm.org/open-source/xchart/">http://knowm.org/open-source/xchart/</a>).</li>
* </ul>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.sort;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains fill time implementations for subreport component related interfaces.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.subreport.fill;
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@
* dataset.
* </p>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.subreport;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains fill time implementations for Table component related interfaces.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.table.fill;
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@
* dataset.
* </p>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.table;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains utility classes for the built-in Table component.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.components.table.util;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains base classes for the Crosstab report element.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.base;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains design classes for the Crosstab report element.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.design;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes to be used in crosstab calculations at report filling time.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.fill.calculation;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes to be used at report filling time for the Crosstab report element.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.fill;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes for the Crosstab element interactivity.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.interactive;
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,5 @@
* empty space.
* </p>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains <code>enum</code> types used by the Crosstab element.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.crosstabs.type;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes for data caching.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.data.cache;
25 changes: 25 additions & 0 deletions core/src/main/java/net/sf/jasperreports/data/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2023 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.data;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.analytics.data;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.analytics.dataset;
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
* <h3>Related Documentation</h3>
* <a href="http://community.jaspersoft.com/wiki/jasperreports-library-tutorial">JasperReports Tutorial</a>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.base;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Provides interfaces and base classes for the built-in JasperReports component functionality.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.component;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.convert;
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,5 @@
* <h3>Related Documentation</h3>
* <a href="http://community.jaspersoft.com/wiki/jasperreports-library-tutorial">JasperReports Tutorial</a>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.data;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2024 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.design.events;
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
* <h3>Related Documentation</h3>
* <a href="http://community.jaspersoft.com/wiki/jasperreports-library-tutorial">JasperReports Tutorial</a>
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.design;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes for handling data types at export time.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export.data;
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
/**
* Contains classes for drawing elements at export time.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export.draw;
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
* ODT and ODS. Classes in this package are based on the OASIS Open Document Format for Office Applications
* (<a href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office">https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office</a>).
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export.oasis;

Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
* Provides utility classes for exporting reports to Office Open XML Format, such as
* DOCX, XLSX and PPTX.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export.ooxml;

Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
* Contains <code>enum</code> types used when exporting reports to Office Open XML Format, such as
* DOCX, XLSX and PPTX.
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export.ooxml.type;

Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,6 @@
* @see net.sf.jasperreports.export.ExporterOutput
* @see net.sf.jasperreports.export.ReportExportConfiguration
*/
@org.osgi.annotation.bundle.Export
package net.sf.jasperreports.engine.export;

Loading