Hello Andy,

Thank you for looking into the problem

>Your maven project compiled fine for me
This is because I've already changed pom.xml in a sample project for
aspect4log <http://aspect4log.sourceforge.net/> as Alexander Kriegisch
suggested.

The problem was following. aspect-maven-plugin was using aspectj 1.8.2,
while my project was using 1.8.3. I replaced dependencies in the
configuration of aspectj-maven-plugin and the warning disappeared.

Regards,
Vitaliy S





On Thu, Feb 26, 2015 at 2:57 AM, Andy Clement <andrew.clem...@gmail.com>
wrote:

> Hi,
> I think it usually means you are running with compiler level X and the
> aspectjrt.jar that has been found to support that compiler is not level X.
>
> In your situation suggests you are using a 1.8.2 compiler (e.g.
> aspectjtools 1.8.2) with a 1.8.3 runtime jar. It is only a warning and
> since nothing has changed in that jar between versions, you should be ok.
> But I can see in your pom you are wanting to use a 1.8.3 compiler…
>
> Your maven project compiled fine for me, I even emptied out my org/aspectj
> area of my m2 repository and rebuilt, still fine. Maybe clean yours out?
>
> cheers,
> Andy
>
> On Feb 23, 2015, at 2:31 PM, Vitaliy Semochkin <vitaliy...@gmail.com>
> wrote:
>
> Hello,
>
> I'm an author of aspect4log <http://aspect4log.sourceforge.net/index.html>
> framework
>
> recently, several users reported that during the build they receive the
> following warning:
> [WARNING] bad version number found in
> /home/someuser/.m2-oss/repository/org/aspectj/aspectjrt/1.8.3/aspectjrt-1.8.3.jar
> expected 1.8.2 found 1.8.3     <unknown source file>:<no line information>
>
> a sample demonstrating this warning during maven build can be found here
> https://github.com/yilativs/aspect4log-aspectj-compiletime-sample
>
> Can someone please explain, what does this warning mean and how to fix it?
> (Despite the warning everything works perfect).
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to