[
http://jira.codehaus.org/browse/MASPECTJ-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ichthyostega updated MASPECTJ-87:
---------------------------------
Attachment: aspectj-maven-plugin.1.3-fix-resolveAspectPath.patch
This patch fixes the problematic behaviour, by explicitly iterating over the
project dependencies, instead of using the dependencyMap. Moreover, this patch
ensures that the picked artefact has an empty classifier field.
This is only a partial resolution, because actually both aspect libs as weave
dependencies should capture the complete "maven coordinates" including
classifier information, not just the bare artefact-ID
> project attachments instead of main artifact fed to aspectpath / inpath
> -----------------------------------------------------------------------
>
> Key: MASPECTJ-87
> URL: http://jira.codehaus.org/browse/MASPECTJ-87
> Project: Mojo AspectJ Plugin
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: Linux, Java 6, AspectJ 1.6.9
> Reporter: Ichthyostega
> Priority: Critical
> Attachments: aspectj-maven-plugin.1.3-fix-resolveAspectPath.patch
>
>
> Using AspectJ within an multimodule project (enterprise application).
> * Project B depends on Project A
> * Project B also reqires ITDs provided by aspects contained in Project A
> * besides, Project A produces multiple attachments (by maven assemblies)
> * Project B depends on one of these attachments to A in addition to the
> Project A main JAR
> Thus, Project B has
> * Project A as dependency
> * Project A listed as AspectLib in the aspectj-maven-plugin configuration
> * Project A's attachment as additional dependency
> *Problem*: the _attachment_ appears on the aspectpath, instead of the main
> artifact of Project A (as it should be). Which causes the compilation to fail
> alltogether
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email