Skip to content

Commit

Permalink
Use preferred 'version_cleanup' BND macro instead of 'maven_version'
Browse files Browse the repository at this point in the history
Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
  • Loading branch information
HannesWell authored and ceki committed Apr 9, 2023
1 parent d72cbb1 commit 4ba0594
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 @@ -145,7 +145,7 @@
Bnd's analysis of java code.
-->
<Import-Package>
ch.qos.logback.access*;version="${range;[==,+);${maven_version;${project.version}}}",
ch.qos.logback.access*;version="${range;[==,+);${version_cleanup;${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 @@ -320,7 +320,7 @@
config files). They won't be found by Bnd's analysis
of java code. -->
<Import-Package>
ch.qos.logback.classic*;version="${range;[==,+);${maven_version;${project.version}}}",
ch.qos.logback.classic*;version="${range;[==,+);${version_cleanup;${project.version}}}",
sun.reflect;resolution:=optional,
javax.*;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 @@ -142,7 +142,7 @@
<instructions>
<Export-Package>ch.qos.logback.core*</Export-Package>
<Import-Package>
ch.qos.logback.core*;version="${range;[==,+);${maven_version;${project.version}}}",
ch.qos.logback.core*;version="${range;[==,+);${version_cleanup;${project.version}}}",
javax.*;resolution:=optional,
org.xml.*;resolution:=optional,
org.fusesource.jansi;resolution:=optional,
Expand Down

0 comments on commit 4ba0594

Please sign in to comment.