You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Daniil Kirilyuk (Jira)" <ji...@apache.org> on 2022/04/26 11:52:00 UTC
[jira] [Updated] (QPID-8584) [Broker-J] Compile warning unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL
[ https://issues.apache.org/jira/browse/QPID-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniil Kirilyuk updated QPID-8584:
----------------------------------
Description:
During compilation of Broker-J there are shown warnings
{code:java}
unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL{code}
They seem to be associated with the guava dependency:
{code:java}
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>{code}
which has exclusion of the j2objc-annotations dependency
{code:java}
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>{code}
j2objc-annotations contains missing enum leading to the warnings.
Instead of excluding in guava dependency j2objc-annotations should be excluded in assembly descriptor.
was:
During compilation of Broker-J there are shown warnings
{code:java}
unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL{code}
They seem to be associated with the guava dependency:
{code:java}
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>{code}
which has exclusion of the j2objc-annotations dependency
{code:java}
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>{code}
j2objc-annotations contains missing enum leading to the warnings.
j2objc-annotations dependency should be declared in pom file as a separate dependency with the compile scope.
> [Broker-J] Compile warning unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL
> -----------------------------------------------------------------------------------------------------------
>
> Key: QPID-8584
> URL: https://issues.apache.org/jira/browse/QPID-8584
> Project: Qpid
> Issue Type: Improvement
> Components: Broker-J
> Affects Versions: qpid-java-broker-8.0.6
> Reporter: Daniil Kirilyuk
> Priority: Minor
>
> During compilation of Broker-J there are shown warnings
> {code:java}
> unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL{code}
> They seem to be associated with the guava dependency:
> {code:java}
> <groupId>com.google.guava</groupId>
> <artifactId>guava</artifactId>{code}
> which has exclusion of the j2objc-annotations dependency
> {code:java}
> <exclusion>
> <groupId>com.google.j2objc</groupId>
> <artifactId>j2objc-annotations</artifactId>
> </exclusion>{code}
> j2objc-annotations contains missing enum leading to the warnings.
> Instead of excluding in guava dependency j2objc-annotations should be excluded in assembly descriptor.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org