Maybe you should clean up your dependencies. Having looked at your Maven project https: Email Required, but never shown. Stack Overflow works best with JavaScript enabled. Sign up using Facebook. If I exclude ejb3-persistence it works correctly.

aspectj-maven-plugin 1.2

Uploader: Doulmaran
Date Added: 27 August 2007
File Size: 61.25 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 83166
Price: Free* [*Free Regsitration Required]

Thank you for answer. Besides, you have committed your Maven ‘target’ folder to Git, which you should not have done.

aspectj-maven-plugin 1.2

It is no hard requirement, but I think it makes sense. It seems like a known issue http: As you can see, class LockModeType is found in 3 three! Just tested this with compliance level 1. Email Required, but never shown. I do wspectj-maven-plugin even get as far as seeing the real problem. Maybe aspectj compiler different from javac and has some problems with enums and etc.? Romano 1 1 gold badge 2 2 silver badges 16 16 bronze badges.

Asked 4 years, 10 months ago. We can also make a private arrangement if a public repo is not possible.


You can use the Maven Dependency Plugin with goals like dependency: Can you give me access to your project via GitHub or similar? Post as a guest Name. Please note that the default AspectJ version in plugin 1. While the things Aspectj-maven-plygin said about AspectJ Maven configuration in this answer aspectj-kaven-plugin all correct, the root cause of the concrete problem at hand – bad Maven dependency management – is described in my other answer.

I forked your repo at github. Unfortunately, it doesn’t work with following configuration pom.

Maven Repository: » aspectj-maven-plugin »

If I exclude ejb3-persistence it works correctly. I try to use aspectj maven plugin for compile project with aspectj compiler and then I try to package classes into “war” file. I just noticed your last comment after having explained in my new answer why this works and what is really wrong.

Sign up using Facebook. I still think it is correct and just stumpled upon it again. Sign up or log in Sign up using Google. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. aspectk-maven-plugin


Subscribe to RSS

I have removed it in my fork. Maybe you even want to upgrade to the current version AspectJ 1.

aspectj-maven-plugin 1.2

This can also be achieved by adding a dependency to the desired aspectjtools version to the plugin configuration: Stack Overflow works best with JavaScript enabled. Sign up using Email and Password. Having looked at your Maven project https: Unicorn Meta Zoo 9: I’m resigning as a moderator from all Stack Exchange sites, effective today. Can you please provide me with a stand-alone project reproducing your problem?

aspectj-maven-plugin 1.2