Do you expect JpaExceptionTranslatorAspect.aj to be in the
spring-aspects-3.0.5.RELEASE.jar?
It's not there, so exclusion won't have any effect.
-Robert
> Date: Tue, 22 Mar 2011 04:28:11 -0700
> From: nodje...@gmail.com
> To: user@mojo.codehaus.org
> Subject: Re: [mojo-user] [aspectj-maven-plugin] Excluding aspect from an
> AspectLibrary?
>
>
> I've built a test that reproduce the problem and attached it as zip file
>
> Haven't been very creative though, just used the spring-aspects as
> aspectLibrary, haven't built one specific for the test. Probably not very
> stable on the long term.
>
> I could look into the problem itself, but not being a commiter, I'd rather
> get it fixed for the next release.
> Let me now if I can be of any help.
>
> http://old.nabble.com/file/p31209058/AcpectLibraryExclusionsAntStyle.zip
> AcpectLibraryExclusionsAntStyle.zip
>
> -nodje
>
>
> nodje wrote:
> >
> > Got it:
> >
> > mvn invoker:run -Dinvoker.test=ExclusionsAntStyle
> >
> > does the job.
> >
> > Though, from the doc, it should be `mvn invoker:run
> > -DinvokerTest=ExclusionsAntStyle` but this doesn't work.
> >
> > -nodje
> >
> >
> > nodje wrote:
> >>
> >>
> >> Hi,
> >>
> >> I'm using aspectj-maven-plugin with spring-aspects as aspectLibrary.
> >> I need to exclude some of the aspects contained in it.
> >>
> >> I've been trying different matching pattern with the <excludes> tag,
> >> without success.
> >> I came to the conclusion that the exclude tags only affect the waived
> >> source code.
> >>
> >> It it really like that?
> >> Do I have anyway to exclude an aspect from an aspectLibrary?
> >>
> >> cheers
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/-aspectj-maven-plugin--Excluding-aspect-from-an-AspectLibrary--tp31179765p31209058.html
> Sent from the mojo - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>