Issue Type: New Feature New Feature
Affects Versions: 1.4
Assignee: Unassigned
Attachments: aspectj-1.4-to-1.4-gmf-1.0.patch
Created: 12/Oct/12 9:58 AM
Description:

The aspectj-maven plugin (1.4) throws an exception if the defined aspectLibraries or weaveDependencies are not parts of the project dependencies.

This ban any parent pom configuration on complex projects.

It would be much better to remove the unfound module from the aspectj commande line and accept patterns.

For example:

<aspectLibraries>
<aspectLibrarie>
<groupId>org.apache.*</groupId>
<artifactId>*</artifactId>
</aspectLibrarie>
<aspectLibrarie>
<groupId>my.group</groupId>
<artifactId>my-optional-artifact</artifactId>
</aspectLibrarie>
</aspectLibraries>

would weave on all org.apache dependencies and won't throw any exceptions if the my-optional-artifact is not a dependency of our project.

Please find in attachement a patch for the 1.4 release

Best Regards

Project: Mojo AspectJ Plugin
Priority: Minor Minor
Reporter: Erwann Feat
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to