[ 
http://jira.codehaus.org/browse/MOJO-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89624
 ] 

Kaare Nilsen commented on MOJO-526:
-----------------------------------

If you are planning to use aspects in a jar file and apply them to your own 
classes, you should use <aspectLibraries>.
If you are planning to apply your own aspects to a 3rd party jar file, you 
should use <weaveDependencies>

So. then for the spring-aspects, this jar file contains aspects you would like 
to apply to your own code, and you should then use <aspectLibraries>

> Weaving when running eclipse:eclipse
> ------------------------------------
>
>                 Key: MOJO-526
>                 URL: http://jira.codehaus.org/browse/MOJO-526
>             Project: Mojo
>          Issue Type: Bug
>          Components: aspectj
>            Reporter: Thomas Van de Velde
>
> When running eclipse:eclipse, the code gets weaved.  This should not happen.  
> My config:
>                       <plugin>
>                               <groupId>org.codehaus.mojo</groupId>
>                               <artifactId>aspectj-maven-plugin</artifactId>
>                               <executions>
>                                       <execution>
>                                               <goals>
>                                                       <goal>compile</goal>
>                                                       
> <goal>test-compile</goal>
>                                               </goals>
>                                       </execution>
>                               </executions>
>                               <configuration>
>                                       <weaveDependencies>
>                                               <weaveDependency>
>                                                       
> <groupId>org.springframework</groupId>
>                                                       
> <artifactId>spring-aspects</artifactId>
>                                               </weaveDependency>
>                                       </weaveDependencies>
>                                       <ajdtBuildDefFile>
>                                               build.ajproperties
>                                       </ajdtBuildDefFile>
>                                       <complianceLevel>1.5</complianceLevel>
>                               </configuration>
>                       </plugin>

-- 
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

Reply via email to