Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Aspectj and maven

Hi

it maven 1 or maven 2 ?
If  maven 2 question should be asked on user@xxxxxxxxxxxxxxxxx list
if maven 1 the question should be asked on the users@xxxxxxxxxxxxxxxx list.

But as a start, a good place to see how to use aspectpath and inpath
for maven 2 is here :
http://mojo.codehaus.org/aspectj-maven-plugin/weaveJars.html
and
http://mojo.codehaus.org/aspectj-maven-plugin/libraryJars.html

hope that helped some.

best regards
Kaare Nilsen

On 15/08/06, jessie <jzhang@xxxxxxxxxxxxxxxxxx> wrote:

I have a problem making aspectj working through maven:

My aspectj does two things: change some hibernate behaviors as well as my
own pojo behaviors.

So I need to weave the aspects to hibernate.jar to make
hibernate_aspect.jar, then use this jar file and my other code, including
the aspectj code to build a new jar, e.g. myProject.jar, however I always
got the following warnings:

[WARNING] advice defined in com.my.common.domain.ObjectContainerCollectionPr
oxyAspect has not been applied [Xlint:adviceDidNotMatch]

Does anyone know what causes this warning? I am thinking it is the
maven-aspectj plugin (mojo) issue, but not sure what to do yet.
--
View this message in context: http://www.nabble.com/Aspectj-and-maven-tf2106521.html#a5806586
Sent from the AspectJ - users forum at Nabble.com.

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top