Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 4245 invoked from network); 3 Jun 2009 06:44:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 06:44:00 -0000 Received: (qmail 71182 invoked by uid 500); 3 Jun 2009 06:44:12 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 71091 invoked by uid 500); 3 Jun 2009 06:44:11 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 71080 invoked by uid 99); 3 Jun 2009 06:44:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 06:44:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 06:44:03 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 5397914A81AF for ; Wed, 3 Jun 2009 01:43:42 -0500 (CDT) Message-ID: <5831898.103411244011422272.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 3 Jun 2009 01:43:42 -0500 (CDT) From: "Dale Peakall (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MECLIPSE-558) Ignoring listed AspectJ dependencies In-Reply-To: <30038037.124551241527724953.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MECLIPSE-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179105#action_179105 ] Dale Peakall commented on MECLIPSE-558: --------------------------------------- Brilliant tip Aziz - worked a treat! > Ignoring listed AspectJ dependencies > ------------------------------------ > > Key: MECLIPSE-558 > URL: http://jira.codehaus.org/browse/MECLIPSE-558 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: AJDT support > Affects Versions: 2.6, 2.7 > Reporter: Dale Peakall > > When AJDT support is enabled, the plugin ignores any dependencies that include the term "aspectj" in the artifactId: these include aspectjrt.jar, aspectjweaver.jar and aspectjtools.jar. Instead the project gets created with a link to the AspectJ Runtime Library "Folder" which just contains aspectjrt.jar. However, if the project depends on the other AspectJ artifacts, e.g. aspectjweaver.jar (because it uses load-time-weaving) it is broken and no amount of POM tweaking will get it back in there. > Using the none is fine if the project doesn't include any aspects - but if it does it needs AJDT to compile the aspect - but also needs the other AspectJ artifacts (that were specified in the POM) to run Unit Tests etc. > At a minimum the plugin should be modified to only replace aspectjrt. However, I am generally uncomfortable with the whole replacement concept. As long as projects specify the appropriate dependencies then AJDT will be able to compile and run the project (i.e. the special "AspectJ Runtime Library" folder is not required). This will also ensure that a consistent version of AspectJ is used (the version provided by Eclipse need not be the same as specified in the POM). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira