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

sshd-common-tests should not bundle logback-test.xml #595

Closed
jeffreycrump-se opened this issue Sep 3, 2024 · 0 comments
Closed

sshd-common-tests should not bundle logback-test.xml #595

jeffreycrump-se opened this issue Sep 3, 2024 · 0 comments
Milestone

Comments

@jeffreycrump-se
Copy link

Version

2.13.2

Bug description

sshd-common-tests bundles its logback-test.xml into the released jar. This results in runtime warnings:

07:27:57,812 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@78d6692f - Resource [logback-test.xml] occurs at [jar:file:/Users/jasonlindholm/.m2/repository/org/apache/sshd/sshd-common/2.11.0/sshd-common-2.11.0-tests.jar!/logback-test.xml]
[~/.m2/repository/org/apache/sshd/sshd-common/2.13.2] jar tvf sshd-common-2.13.2-tests.jar | grep logback
  1979 Tue Jul 23 12:57:08 EDT 2024 logback-test.xml

The workaround is to have our build explicitly exclude the logback.xml resource file when building our jars, but that should not be necessary.

Actual behavior

See description.

Expected behavior

No warnings.

Relevant log output

See description.

Other information

No response

gnodet added a commit to gnodet/mina-sshd that referenced this issue Sep 10, 2024
@gnodet gnodet closed this as completed in 2fff9b4 Sep 11, 2024
@gnodet gnodet added this to the 2.14.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants