directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Solodovnik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-252) Compiling warnings while api-all is in dependencies
Date Sun, 04 Oct 2015 07:33:26 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942585#comment-14942585
] 

Maxim Solodovnik commented on DIRAPI-252:
-----------------------------------------

I believe this is caused by the fact edu.umd.cs.findbugs.annotations.SuppressWarnings is used
instead of java.lang.SuppressWarnings

> Compiling warnings while api-all is in dependencies
> ---------------------------------------------------
>
>                 Key: DIRAPI-252
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-252
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M31
>            Reporter: Maxim Solodovnik
>            Priority: Trivial
>
> We are using client-api-all as a dependency in our build (ant+oracle java7)
> We get following compiler warnings as a result
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'value()' in type 'SuppressWarnings': class file for
edu.umd.cs.findbugs.annotations.SuppressWarnings not found
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'justification()' in type 'SuppressWarnings'
>     [javac] Note: Starting OpenJPA Annotation Processor for Metamodel Generation 
>     [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.openjpa.persistence.meta.AnnotationProcessor6'
less than -source '1.7'
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'value()' in type 'SuppressWarnings': class file for
edu.umd.cs.findbugs.annotations.SuppressWarnings not found
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'justification()' in type 'SuppressWarnings'
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'value()' in type 'SuppressWarnings': class file for
edu.umd.cs.findbugs.annotations.SuppressWarnings not found
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'justification()' in type 'SuppressWarnings'
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'value()' in type 'SuppressWarnings': class file for
edu.umd.cs.findbugs.annotations.SuppressWarnings not found
>     [javac] /home/solomax/work/openmeetings/branches/3.0.x/build/lib/om/api-all-jar-1.0.0-M31.jar(org/apache/directory/api/ldap/model/name/Dn.class):
warning: Cannot find annotation method 'justification()' in type 'SuppressWarnings'
> I believe it will be good idea to eliminate whose
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message