When you whan to weave the sources you must call aspectj:compile (or add
aspectj:compile as a preGoal for java:compile)

Does this answer your question?

> -----Mensaje original-----
> De: Charles N. Harvey III [mailto:[EMAIL PROTECTED] 
> Enviado el: viernes, 23 de abril de 2004 21:56
> Para: Maven Users List
> Asunto: Re: aspectj plugin & maven 1.0 rc2
> 
> Ok, one more question.  :)
> The current maven goal has <jar:jar> as a preGoal.  So, 
> projectC.jar is created and then aspects are created on that 
> jar.  With <inpath> we don't have to create the jar first and 
> then weave into it.  We can weave on the <sourceDirectory> 
> directly.  But, how do we know to do that?  What flag do we 
> use to do the weaving on the <sourceDirectory>?  We have 
> <aspectj.weave> to tell us to weave into jar files, but 
> nothing telling us whether or not to weave on the source.  I 
> might only want to weave into a jar file and not my source directory.
> 
> Any ideas?  I'm not sure how to approach this one.
> 
> 
> Charlie
> 
> 
> 
> Carlos Sanchez wrote:
> 
> >I agree.
> >When you finish with this patch I'll try to add the ajdoc 
> task which is 
> >back in 1.2 so it's also included in 3.0 plugin
> >
> >Thanks
> >
> >  
> >
> >>-----Mensaje original-----
> >>De: Vincent Massol [mailto:[EMAIL PROTECTED] Enviado el: 
> viernes, 
> >>23 de abril de 2004 17:13
> >>Para: 'Maven Users List'; [EMAIL PROTECTED]
> >>Asunto: RE: aspectj plugin & maven 1.0 rc2
> >>
> >>I'd say we should go for 1.2. We can version the plugin as version 
> >>3.0.
> >>
> >>Thanks
> >>-Vincent
> >>
> >>    
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



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

Reply via email to