Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-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 8B12A182E5 for ; Wed, 25 Nov 2015 07:21:53 +0000 (UTC) Received: (qmail 33856 invoked by uid 500); 25 Nov 2015 07:21:53 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 33786 invoked by uid 500); 25 Nov 2015 07:21:53 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 33773 invoked by uid 99); 25 Nov 2015 07:21:52 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2015 07:21:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4E4A0180ADC for ; Wed, 25 Nov 2015 07:21:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cQ744KMAi17r for ; Wed, 25 Nov 2015 07:21:46 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 029FC20229 for ; Wed, 25 Nov 2015 07:21:46 +0000 (UTC) Received: by lfaz4 with SMTP id z4so49625576lfa.0 for ; Tue, 24 Nov 2015 23:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CcYgEg6qUeT2+KNMLHFrHC2/VBLoGdvbfQxqbUzcL58=; b=bWNXSFQYBoqsTo+iXMS/KpNVBW8LVH7nBT00DIZoMDjy5sIYuwA8ssy4ZRqDz1D28Q a96CzLj1KrxEn5DkTtOd3dXUj/nwxDGV0VSDfP/rXR02kHnVYdxzAHn/es6NgYXLEg6c imq8myJ1zAGVTdpF7dTf3aq0i2xEhrsAs45qjxgGh/QUMNUBRZtUEJuHZS8ACHrLLaDc nqNj4XiVVzJCSRDVijfSKnMFn9eVwCFnjWuLCmgyR2WtJYggG4jbtLYhET3IAHJ82Xji qzJAlMQ+qYOVYbpurPRtrdAFZG03pX0zdVXz5b6GS3/fD4Rs7FB8YBcUh1gpeLdb80L2 ZoWg== X-Received: by 10.112.53.167 with SMTP id c7mr15167390lbp.20.1448436098860; Tue, 24 Nov 2015 23:21:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.6.164 with HTTP; Tue, 24 Nov 2015 23:21:19 -0800 (PST) In-Reply-To: References: From: Jochen Wiedmann Date: Wed, 25 Nov 2015 08:21:19 +0100 Message-ID: Subject: Re: Why can't dependency plugin "see" statics /and staticimports To: Maven Developers List Content-Type: text/plain; charset=UTF-8 What exactly is it, you'd like to detect? On Wed, Nov 25, 2015 at 8:11 AM, Kristian Rosenvold wrote: > I poked around in the depdenedncy analyzer code to see if I could make > it "see" the following code: > > Module 1: > public class Test2 { > public static final int AZAZ = 42; > } > > Module 2: > > import foo.Test2; > > public class BarMain > { > public static void main(String[] args) { > System.out.println("AZ " + Test2.AZAZ); > } > } > > Isn't this possible to detect or am I just a total n00b with asm ?? > > > Kristian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org