You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "jeffreycrump-se (via GitHub)" <gi...@apache.org> on 2024/09/03 16:12:52 UTC
[I] sshd-common-tests should not bundle logback-test.xml [mina-sshd]
jeffreycrump-se opened a new issue, #595:
URL: https://github.com/apache/mina-sshd/issues/595
### 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 multiple times on the classpath.
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
```Shell
See description.
```
### Other information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [I] sshd-common-tests should not bundle logback-test.xml [mina-sshd]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #595: sshd-common-tests should not bundle logback-test.xml
URL: https://github.com/apache/mina-sshd/issues/595
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org