Hi,

See below 

> -----Original Message-----
> From: Amir Nashat [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 11, 2004 3:29 AM
> To: [EMAIL PROTECTED]
> Subject: aspectj integration
> 
> Hello,
> 
>  
> 
> I am trying to integrate the AspectJ plugin into Maven. In my 
> maven.xml file I have :
> 
>  
> 
> <preGoal name="cjo:compile">
> 
>       <attainGoal name="aspectj:compile"/>
> 
>     </preGoal>
> 
>  
> 
>  
> 
> And in my project.xml file I have:
> 
>    <project>
> 
>         ...
> 
>         ...
> 
>         ...
> 
>       <dependency>
> 
>             <groupId>aspectj</groupId>
> 
>             <type>jar</type>
> 
>             <artifactId>aspectjrt</artifactId>
> 
>             <jar>aspectjrt.jar</jar>
> 
>             <properties>
> 
>                 <classloader>root</classloader>
> 
>                 <war.bundle>true</war.bundle>
> 
>             </properties>
> 
>         </dependency>
> 
>         ...
> 
>         ...
> 
>         ...
> 
>  
> 
>         <build>
> 
>  
> <aspectSourceDirectory>src/java/cj/cjo/controller</aspectSourc
eDirectory
> >
> 
>         </build>
> 
>  
> 
> I have configured the dependency in my project.xml file 
> accordingly because I kept getting errors stating 
> aspectjrt.jar could not be found.


You don't need that, the message can be ignored


> A previous thread on this list stated that the above 
> configuration would fix the problem and it did. However, the 
> problem I am getting now is that when I run 
> 
> maven "cjo:compile" and use my aspect the following error is 
> thrown when
> compiling:
> 
>  
> 
> C:\cm\cjo\trunk\member\src\java\cj\cjo\member\foundation\tagli
> b\UrlTag.j
> ava:116:0 The type AbstractStringBuilder is not visible
> 
> [error 130]: error at result.append(key).append(":");
> 
>  
> 
>  
> 
> Does anyone have any insight as to what the problem could be? 
> Is it a compliance issue?
> 


Seems you have an error in your aspect, not related with the maven plugin


>  
> 
> Thanks your help,
> 
>  
> 
> /amir
> 
>  
> 
> 

Regards

Carlos Sanchez
A Coru�a, Spain
http://www.jroller.com/page/carlossg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to