Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1A671868D for ; Sun, 4 Oct 2015 07:33:26 +0000 (UTC) Received: (qmail 71777 invoked by uid 500); 4 Oct 2015 07:33:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 71723 invoked by uid 500); 4 Oct 2015 07:33:26 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 71713 invoked by uid 99); 4 Oct 2015 07:33:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2015 07:33:26 +0000 Date: Sun, 4 Oct 2015 07:33:26 +0000 (UTC) From: "Maxim Solodovnik (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRAPI-252) Compiling warnings while api-all is in dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)