Skip to content

Commit

Permalink
LOGGING-198 - add proper uses to export package
Browse files Browse the repository at this point in the history
Currently there are no use clauses on the export package header, this
can lead to classloading problems.

This now adds the appropriate use clause to the export header, due to a
bug in commons-parent this currently can not be calculated
automatically.
  • Loading branch information
Christoph Läubrich committed Jan 23, 2025
1 parent 26e7dc2 commit 7b272da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ under the License.
<logback.version>1.3.14</logback.version>
<slf4j.version>2.0.16</slf4j.version>
<findsecbugs.version>1.13.0</findsecbugs.version>
<!-- Workaround due to https://github.com/apache/commons-parent/pull/581-->
<commons.osgi.export>
org.apache.commons.logging;-noimport:=true,
org.apache.commons.logging.impl;-noimport:=true;uses:="javax.servlet,org.apache.avalon.framework.logger,org.apache.commons.logging,org.apache.log,org.apache.log4j"
</commons.osgi.export>
<commons.osgi.import>
javax.servlet;version="[2.1.0, 5.0.0)";resolution:=optional,
org.apache.avalon.framework.logger;version="[4.1.3, 4.1.5]";resolution:=optional,
Expand Down

0 comments on commit 7b272da

Please sign in to comment.