Skip to content

Commit

Permalink
Revert "Use preferred 'version_cleanup' BND macro instead of 'maven_v…
Browse files Browse the repository at this point in the history
…ersion'"

This reverts commit c2937fc.

This commit causes ch.qos.logback.classic.util.EnvUtilTest#versionTest to fail

Reverting
  • Loading branch information
ceki committed Apr 15, 2023
1 parent c2937fc commit 1e0827b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion logback-access/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
Bnd's analysis of java code.
-->
<Import-Package>
ch.qos.logback.access*;version="${range;[==,+);${version_cleanup;${project.version}}}",
ch.qos.logback.access*;version="${range;[==,+);${maven_version;${project.version}}}",
ch.qos.logback.core.rolling,
ch.qos.logback.core.rolling.helper,
org.apache.catalina.*;version="${tomcat.version}";resolution:=optional,
Expand Down
2 changes: 1 addition & 1 deletion logback-classic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
config files). They won't be found by Bnd's analysis
of java code. -->
<Import-Package>
ch.qos.logback.classic*;version="${range;[==,+);${version_cleanup;${project.version}}}",
ch.qos.logback.classic*;version="${range;[==,+);${maven_version;${project.version}}}",
sun.reflect;resolution:=optional,
jakarta.*;resolution:=optional,
org.xml.*;resolution:=optional,
Expand Down
2 changes: 1 addition & 1 deletion logback-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<instructions>
<Export-Package>ch.qos.logback.core*</Export-Package>
<Import-Package>
ch.qos.logback.core*;version="${range;[==,+);${version_cleanup;${project.version}}}",
ch.qos.logback.core*;version="${range;[==,+);${maven_version;${project.version}}}",
jakarta.*;resolution:=optional,
org.xml.*;resolution:=optional,
org.fusesource.jansi;resolution:=optional,
Expand Down

0 comments on commit 1e0827b

Please sign in to comment.